X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/a830e8bb30ad877ffd1727fd875fcb010575ba2f..74bac1db6a82d12068b806229bd98149675b3b85:/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 5bc3d8a9e8..630751631c 100644 --- a/usr/src/usr.bin/window/ttinit.c +++ b/usr/src/usr.bin/window/ttinit.c @@ -1,5 +1,5 @@ #ifndef lint -static char *sccsid = "@(#)ttinit.c 3.7 83/12/17"; +static char sccsid[] = "@(#)ttinit.c 3.10 %G%"; #endif #include "ww.h" @@ -11,6 +11,14 @@ ttinit() 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).