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
mapnl option to window
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
ttinit.c
diff --git
a/usr/src/usr.bin/window/ttinit.c
b/usr/src/usr.bin/window/ttinit.c
index
5bc3d8a
..
6307516
100644
(file)
--- a/
usr/src/usr.bin/window/ttinit.c
+++ b/
usr/src/usr.bin/window/ttinit.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char
*sccsid = "@(#)ttinit.c 3.7 83/12/17
";
+static char
sccsid[] = "@(#)ttinit.c 3.10 %G%
";
#endif
#include "ww.h"
#endif
#include "ww.h"
@@
-11,6
+11,14
@@
ttinit()
register char *p, *q;
register char *t;
register char *p, *q;
register char *t;
+ tt_strp = tt_strings;
+
+ /*
+ * Set output buffer size to about 1 second of output time.
+ */
+ tt_obp = tt_ob;
+ tt_obe = tt_ob + MIN(wwbaud/10, sizeof tt_ob);
+
/*
* Use the standard name of the terminal (i.e. the second
* name in termcap).
/*
* Use the standard name of the terminal (i.e. the second
* name in termcap).