projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't force extra keystroke after '=' operators
[unix-history]
/
usr
/
src
/
usr.bin
/
more
/
command.c
diff --git
a/usr/src/usr.bin/more/command.c
b/usr/src/usr.bin/more/command.c
index
df6491d
..
ea986f8
100644
(file)
--- a/
usr/src/usr.bin/more/command.c
+++ b/
usr/src/usr.bin/more/command.c
@@
-18,7
+18,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)command.c 5.
7
(Berkeley) %G%";
+static char sccsid[] = "@(#)command.c 5.
8
(Berkeley) %G%";
#endif /* not lint */
/*
#endif /* not lint */
/*
@@
-419,7
+419,6
@@
commands()
if (quitting)
quit();
}
if (quitting)
quit();
}
-
/*
* Display prompt and accept a character.
*/
/*
* Display prompt and accept a character.
*/
@@
-428,8
+427,7
@@
commands()
noprefix();
c = getcc();
noprefix();
c = getcc();
- again:
- if (sigs)
+again: if (sigs)
continue;
/*
continue;
/*
@@
-595,9
+593,12
@@
commands()
* Print file name, etc.
*/
cmd_exec();
* Print file name, etc.
*/
cmd_exec();
- error(eq_message());
- break;
-
+ lower_left();
+ clear_eol();
+ putstr(eq_message());
+ lower_left();
+ c = getcc();
+ goto again;
case A_QUIT:
/*
* Exit.
case A_QUIT:
/*
* Exit.