From ea43c906b9197001550387bdebeb4559ccf4fe4b Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Thu, 24 Apr 1986 06:48:56 -0800 Subject: [PATCH] Ken Arnold edits for document distributed with 4.3BSD SCCS-vsn: lib/libcurses/PSD.doc/doc.IV 6.1 --- usr/src/lib/libcurses/PSD.doc/doc.IV | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/usr/src/lib/libcurses/PSD.doc/doc.IV b/usr/src/lib/libcurses/PSD.doc/doc.IV index 531d126951..20402181d1 100644 --- a/usr/src/lib/libcurses/PSD.doc/doc.IV +++ b/usr/src/lib/libcurses/PSD.doc/doc.IV @@ -2,7 +2,7 @@ .\" All rights reserved. The Berkeley software License Agreement .\" specifies the terms and conditions for redistribution. .\" -.\" @(#)doc.IV 5.1 (Berkeley) %G% +.\" @(#)doc.IV 6.1 (Berkeley) %G% .\" .Ds .Fd gettmode @@ -38,7 +38,6 @@ Scroll the window upward one line. This is normally not used by the user. .Ds .Fd savetty "" \*m -.sp .5 .Fd resetty "" \*m .De .Fn savetty @@ -56,7 +55,12 @@ and char *name; .De Set the terminal characteristics to be those of the terminal named -.Vn name . +.Vn name , +getting the terminal size from the +.b TIOCGWINSZ +.Fn ioctl "" "" 2 +if it exists, +otherwise from the environment. This is normally called by .Fn initscr . .Ds -- 2.20.1