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 terminal escape sequences are used. Using Sun terminal sequences resizes a window appropriately when a new row and column size are specified.
−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
~/.cshrc
See Also
Commands