Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ winsize(1) — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ioctl(2)

terminfo(4)

termio(7)



WINSIZE(1)          RISC/os Reference Manual           WINSIZE(1)



NAME
     winsize - set/print window size

SYNOPSIS
     winsize [ -c ] [ -r ] [ value... ]

DESCRIPTION
     With no arguments, winsize prints the current number of rows
     and columns associated with the terminal.  With two values,
     the number of rows and columns is set.

     Giving the -c option without a value prints the number of
     columns.  With a value, the number of columns is set.

     Giving the -r option without a value prints the number of
     rows.  With a value, the number of rows is set.

     A value may either be a number or the word ``same'', which
     indicates that the item should not change.  Note that a
     value of 0 for either rows or columns indicates that pro-
     grams will use the value found in the terminfo(4) entry, not
     that that dimension has a value of 0.

     Giving both -c and -r is the same as giving neither.

     Changing the number of rows and columns does not necessarily
     change the size of the associated window, and should not be
     done frivolously.

SEE ALSO
     ioctl(2), terminfo(4) in the Programmer's Reference Manual.
     termio(7) in the System Administrator's Reference Manual.























                        Printed 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026