artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c459a
)
Really set column to 0 when outputting a carriage return...
author
tholo
<tholo@openbsd.org>
Thu, 19 Dec 1996 07:54:06 +0000
(07:54 +0000)
committer
tholo
<tholo@openbsd.org>
Thu, 19 Dec 1996 07:54:06 +0000
(07:54 +0000)
sys/kern/tty.c
patch
|
blob
|
history
diff --git
a/sys/kern/tty.c
b/sys/kern/tty.c
index
4b5cfbd
..
d3c8cf2
100644
(file)
--- a/
sys/kern/tty.c
+++ b/
sys/kern/tty.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tty.c,v 1.2
3 1996/12/17 19:19:33
tholo Exp $ */
+/* $OpenBSD: tty.c,v 1.2
4 1996/12/19 07:54:06
tholo Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@
-642,7
+642,7
@@
ttyoutput(c, tp)
tp->t_outcc++;
if (putc('\r', &tp->t_outq))
return (c);
-
col
= 0;
+
tp->t_column
= 0;
}
else if (c == '\r' && ISSET(tp->t_oflag, OCRNL))
c = '\n';