commit 8340100b4c016335b15dc693c57d603a81a9831c
Author:     Tom Schwindl <[email protected]>
AuthorDate: Sun Oct 2 11:10:32 2022 +0200
Commit:     Jan Klemkow <[email protected]>
CommitDate: Tue Oct 4 08:04:22 2022 +0200

    lchat: remove the OPOST flag
    
    OPOST created some strange behavior on some systems, thus, remove it.

diff --git a/lchat.c b/lchat.c
index 7e95c8c..cc279c9 100644
--- a/lchat.c
+++ b/lchat.c
@@ -257,7 +257,6 @@ main(int argc, char *argv[])
                die("atexit:");
 
        term.c_iflag &= ~(BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
-       term.c_oflag &= ~OPOST;
        term.c_lflag &= ~(ECHO|ICANON|IEXTEN);
        term.c_cflag &= ~(CSIZE|PARENB);
        term.c_cflag |= CS8;

Reply via email to