From: Eric Andersen Date: Tue, 23 Dec 2003 20:47:22 +0000 (-0000) Subject: match changes made to cmdedit X-Git-Tag: 1_00_pre6~84 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5089534be00aaaf16c2ffcf2a7ed8d742d583e5a;p=oweals%2Fbusybox.git match changes made to cmdedit --- diff --git a/util-linux/more.c b/util-linux/more.c index f4018f5d1..e3a1d8656 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -84,11 +84,8 @@ extern int more_main(int argc, char **argv) new_settings = initial_settings; new_settings.c_lflag &= ~ICANON; new_settings.c_lflag &= ~ECHO; -#ifndef linux - /* Hmm, in linux c_cc[] not parsed if set ~ICANON */ new_settings.c_cc[VMIN] = 1; new_settings.c_cc[VTIME] = 0; -#endif setTermSettings(fileno(cin), &new_settings); atexit(set_tty_to_initial_mode); (void) signal(SIGINT, gotsig);