RESIZE(1X11) COMMAND REFERENCE RESIZE(1X11) NAME resize - set TERMCAP and terminal settings to current window size SYNOPSIS resize [-u] [-s [row col]] This is a user-contributed client. DESCRIPTION The resize utility prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window from which the command is run. For this output to take effect, resize 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 .cshrc: 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 don't have command functions will need to send the output to a temporary file and then read it back in with the ``.'' command: resize >/tmp/out OPTIONS The following options may be used with resize: -u This option indicates that Bourne shell commands should be generated even if the user's current shell isn't /bin/sh. -c This option indicates that C shell commands should be generated even if the user's current shell isn't /bin/csh. -s [rows columns] This option indicates that that Sun console escape sequences will be used instead of the special xterm escape code. If rows and columns are given, resize will ask the xterm to resize itself. However, the window manager may choose to disallow the change. Printed 3/22/89 1
RESIZE(1X11) COMMAND REFERENCE RESIZE(1X11) FILES /etc/termcap For the base termcap entry to modify ~/.cshrc User's alias for the command CAVEATS The -u or -c must appear to the left of -s if both are specified. SEE ALSO csh(1), tset(1), and xterm(1x11). AUTHORS Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley) Printed 3/22/89 2
%%index%% na:360,122; sy:482,223; de:705,1165; op:1870,1100; fi:3402,204; ca:3606,161; se:3767,329; %%index%%000000000123