projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10f36f
)
match changes made to cmdedit
author
Eric Andersen
<andersen@codepoet.org>
Tue, 23 Dec 2003 20:47:22 +0000
(20:47 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Tue, 23 Dec 2003 20:47:22 +0000
(20:47 -0000)
util-linux/more.c
patch
|
blob
|
history
diff --git
a/util-linux/more.c
b/util-linux/more.c
index f4018f5d188aba1f112c9bf5bad96212e1882978..e3a1d86563c3c6849e376cc0dde795d2b383dd3f 100644
(file)
--- 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);