diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-21 21:53:58 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-21 21:53:58 +0000 |
commit | e90f4045afbcdcae81c417fffa635b3a5ab9166b (patch) | |
tree | 0f515205daab08e90ee59594b76a8964551e7459 /util-linux/more.c | |
parent | 1d1d95051a288b6bf64498aac9fb20047f384b7d (diff) | |
download | busybox-w32-e90f4045afbcdcae81c417fffa635b3a5ab9166b.tar.gz busybox-w32-e90f4045afbcdcae81c417fffa635b3a5ab9166b.tar.bz2 busybox-w32-e90f4045afbcdcae81c417fffa635b3a5ab9166b.zip |
Some more updates and such...
-Erik
Diffstat (limited to 'util-linux/more.c')
-rw-r--r-- | util-linux/more.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/more.c b/util-linux/more.c index 20aa37095..909ed286b 100644 --- a/util-linux/more.c +++ b/util-linux/more.c | |||
@@ -109,6 +109,8 @@ extern int more_main(int argc, char **argv) | |||
109 | cin = fopen("/dev/console", "r"); | 109 | cin = fopen("/dev/console", "r"); |
110 | getTermSettings(fileno(cin), &initial_settings); | 110 | getTermSettings(fileno(cin), &initial_settings); |
111 | new_settings = initial_settings; | 111 | new_settings = initial_settings; |
112 | new_settings.c_cc[VMIN] = 1; | ||
113 | new_settings.c_cc[VTIME] = 0; | ||
112 | new_settings.c_lflag &= ~ICANON; | 114 | new_settings.c_lflag &= ~ICANON; |
113 | new_settings.c_lflag &= ~ECHO; | 115 | new_settings.c_lflag &= ~ECHO; |
114 | setTermSettings(fileno(cin), &new_settings); | 116 | setTermSettings(fileno(cin), &new_settings); |