4.3BSD-UWisc/man/catn/resize.n




RESIZE(1)           UNIX Programmer's Manual            RESIZE(1)



NAME
     resize - reset TERMCAP with current size of a window

SYNOPSIS
     resize

DESCRIPTION
     _R_e_s_i_z_e prints on its standard output the TERM and TERMCAP
     commands for the C-shell of the current size of a window.
     It is never executed directly, but should be aliased simi-
     larly to _t_s_e_t to cause the C-shell to execute the commands.

     For example, the following alias when executed as a command
     will reset the environment of the current shell:

          alias xs  'set noglob; eval `resize`'

FILES
     /etc/termcap   for the base termcap entry to modify.
     ~/.cshrc  user's alias for the command.

SEE ALSO
     csh(1), tset(1), xterm(1)

AUTHORS
     Mark Vandevoorde (MIT-Athena)
     Copyright (c) 1984, 1985 by Massachusetts Institute of Tech-
     nology.
     See _X(_1) for a complete copyright notice.

BUGS
     Ought to be able to generate the strings for the Bourne
     shell.  There should be some global notion of display size;
     termcap and terminfo need to be rethought in the context of
     window systems.  (Fixed in 4.3BSD, and Ultrix-32 1.2)




















Printed 12/6/86          3 January 1985                         1