resize - set TERMCAP and terminal settings to current xterm window size
resize [-u] [-c] [-s[row col]]
The following options may be used with
This option indicates that Bourne shell commands should be
generated even if the user's current shell is not
This option indicates that C shell commands should be generated
even if the user's current shell is not
This option indicates that Sun console escape sequences will
be used instead of the special
escape code. If
will ask the
to resize itself.
However, the window manager may choose to disallow the change.
command prints a shell command for setting
environment variables to indicate the current size of
window from which the command is run. For this output to
must either be evaluated as part of
the command line (usually done with a shell alias or function) or else redirected
to a file which can then be read in. From the C shell (usually known as
/bin/csh), the following alias could be defined in the user's
% alias rs 'set noglob; eval `resize`'
After resizing the window, the user would type: % rs
Users of versions of the Bourne shell (usually known as
/bin/sh) that do not have command functions will need to send the output
to a temporary file and the read it back in with the ``.'' command:
$ resize > /tmp/out
$ . /tmp/out
for the base termcap entry to modify.
user's alias for the command.
must appear to the left
if both are specified.
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley) Copyright (c) 1984, 1985 by X Consortium
See X(1X) for a complete copyright notice.