artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2f54f8
)
Fix oversight in column handling with OCRNL enabled
author
tholo
<tholo@openbsd.org>
Tue, 17 Dec 1996 19:19:33 +0000
(19:19 +0000)
committer
tholo
<tholo@openbsd.org>
Tue, 17 Dec 1996 19:19:33 +0000
(19:19 +0000)
sys/kern/tty.c
patch
|
blob
|
history
diff --git
a/sys/kern/tty.c
b/sys/kern/tty.c
index
7d089df
..
4b5cfbd
100644
(file)
--- a/
sys/kern/tty.c
+++ b/
sys/kern/tty.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tty.c,v 1.2
2 1996/12/17 19:15:24
tholo Exp $ */
+/* $OpenBSD: tty.c,v 1.2
3 1996/12/17 19:19:33
tholo Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@
-693,7
+693,7
@@
ttyoutput(c, tp)
case CONTROL:
break;
case NEWLINE:
- if (ISSET(tp->t_oflag, ONLRET))
+ if (ISSET(tp->t_oflag, ONLRET)
|| ISSET(tp->t_oflag, OCRNL)
)
col = 0;
break;
case RETURN: