resize(1X)
NAME
resize - reset TERMCAP with the current window size
SYNTAX
resize [ options ]
DESCRIPTION
The resize command prints on its standard output the TERM and TERMCAP commands for the current window. When executed, the resize command resets the environment of the current shell.
However, the resize command should never be executed directly, but should be aliased in the .cshrc file to cause the C-shell to execute the commands (see EXAMPLES).
OPTIONS
−s
Specifies that Sun tty escape sequences are used. The use of Sun tty sequences has the advantage that, when a new row and column size is specified, the window resizes appropriately.
−u
Specifies that the commands be formed appropriately for the Bourne shell rather than the C-shell.
RESTRICTIONS
The “−u” option must appear before the “−s” option if both are specified.
EXAMPLES
alias xs ´set noglob; eval `resize`;unset noglob´
alias xrs ´set noglob; eval `resize −s \!\*`;unset noglob´
Each alias, when executed as a command, resets the environment of the current shell.
FILES
/etc/termcap Contains the base termcap entry to be modified.
~/.cshrc Contains the user’s alias for the command.