Match changes made to cmdedit
authorEric Andersen <andersen@codepoet.org>
Tue, 23 Dec 2003 20:45:14 +0000 (20:45 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 23 Dec 2003 20:45:14 +0000 (20:45 -0000)
editors/vi.c

index e01ee11..35ce172 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 static const char vi_Version[] =
-       "$Id: vi.c,v 1.29 2003/09/15 08:33:36 andersen Exp $";
+       "$Id: vi.c,v 1.30 2003/12/23 20:45:14 andersen Exp $";
 
 /*
  * To compile for standalone use:
@@ -2113,10 +2113,8 @@ static void rawmode(void)
        term_vi.c_lflag &= (~ICANON & ~ECHO);   // leave ISIG ON- allow intr's
        term_vi.c_iflag &= (~IXON & ~ICRNL);
        term_vi.c_oflag &= (~ONLCR);
-#ifndef linux
        term_vi.c_cc[VMIN] = 1;
        term_vi.c_cc[VTIME] = 0;
-#endif
        erase_char = term_vi.c_cc[VERASE];
        tcsetattr(0, TCSANOW, &term_vi);
 }