File:  [CSRG BSD Unix] / 43BSDTahoe / new / X / man / man1 / resize.0
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe




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



NAME
     resize - reset TERMCAP with current size of a window

SYNOPSIS
     resize [-u] [-s [row col]]

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(1) to cause the C-shell to execute the com-
     mands.

     Normally, VT102 escape sequences are used.  With the -s
     option, Sun tty escape sequences are used, which has the
     advantage that a new row and column size may be specified
     and the window will resize appropriately.

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

	  alias xs  'set noglob; eval `resize`'
	  alias xrs 'set noglob; eval `resize -s \!\*`'

     The -u option will cause the commands to be formed appropri-
     ately for sh (the Bourne shell) rather than csh.

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), Edward Moy (Berkeley)
     Copyright (c) 1984, 1985 by Massachusetts Institute of Tech-
     nology.
     See _X(1) for a complete copyright notice.

BUGS
     ``-u'' must appear to the left of ``-s'' if both are speci-
     fied.

     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 9/15/87            1 Nov 1986				1




unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.