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
Release 6
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_vmain.c
diff --git
a/usr/src/usr.bin/ex/ex_vmain.c
b/usr/src/usr.bin/ex/ex_vmain.c
index
fc50f53
..
2b0aa10
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_vmain.c
+++ b/
usr/src/usr.bin/ex/ex_vmain.c
@@
-1,12
+1,13
@@
-/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+/*-
+ * Copyright (c) 1980 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.proprietary.c%
*/
#ifndef lint
*/
#ifndef lint
-static char
*sccsid = "@(#)ex_vmain.c 7.9
(Berkeley) %G%";
-#endif
not lint
+static char
sccsid[] = "@(#)ex_vmain.c 7.12
(Berkeley) %G%";
+#endif
/* not lint */
#include "ex.h"
#include "ex_tty.h"
#include "ex.h"
#include "ex_tty.h"
@@
-540,7
+541,7
@@
reread:
setLAST();
mbuf[0] = 'r';
mbuf[1] = *cursor;
setLAST();
mbuf[0] = 'r';
mbuf[1] = *cursor;
- mbuf[2] = cursor[1]==0 ? 0 : '
';
+ mbuf[2] = cursor[1]==0 ? 0 : '
l
';
mbuf[3] = 0;
if (isalpha(mbuf[1]))
mbuf[1] ^= ' '; /* toggle the case */
mbuf[3] = 0;
if (isalpha(mbuf[1]))
mbuf[1] ^= ' '; /* toggle the case */
@@
-883,7
+884,7
@@
gogo:
* control in kernel.
*/
case CTRL('z'):
* control in kernel.
*/
case CTRL('z'):
- forbid(dosusp == 0
|| !ldisc
);
+ forbid(dosusp == 0);
vsave();
oglobp = globp;
globp = "stop";
vsave();
oglobp = globp;
globp = "stop";