From 78b0e379d7c2db84eec34ccd89cf9afb67b94901 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Tue, 26 Jun 2001 02:06:08 +0000 Subject: Vladimir's last_patch_15 --- editors/vi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/vi.c b/editors/vi.c index bd183e8..e1ff933 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -19,7 +19,7 @@ */ char *vi_Version = - "$Id: vi.c,v 1.9 2001/06/23 13:49:14 andersen Exp $"; + "$Id: vi.c,v 1.10 2001/06/26 02:06:08 bug1 Exp $"; /* * To compile for standalone use: @@ -3152,8 +3152,10 @@ 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); } -- cgit v1.1