Copyright (C) 2000-2012 |
Manpages RESIZESection: User Commands (1)Updated: Version 4.1.0.1 Index Return to Main Contents NAMEresize - set TERMCAP and terminal settings to current xterm window sizeSYNOPSISresize [ -u | -c ] [ -s [ row col ] ]DESCRIPTIONResize 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 the read it back in with the ``.'' command:
$ resize > /tmp/out $ . /tmp/out OPTIONSThe following options may be used with resize:
FILES
SEE ALSOcsh(1), tset(1), xterm(1)AUTHORSMark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)Copyright (c) 1984, 1985 by X Consortium See X(7) for a complete copyright notice.
IndexThis document was created by man2html, using the manual pages. Time: 12:58:41 GMT, December 14, 2024 |