|
|
1.1 root 1:
2:
3:
4: RESIZE(1) UNIX Programmer's Manual RESIZE(1)
5:
6:
7:
8: NAME
9: resize - reset TERMCAP with current size of a window
10:
11: SYNOPSIS
12: resize [-u] [-s [row col]]
13:
14: DESCRIPTION
15: _R_e_s_i_z_e prints on its standard output the TERM and TERMCAP
16: commands for the C-shell of the current size of a window.
17: It is never executed directly, but should be aliased simi-
18: larly to _t_s_e_t(1) to cause the C-shell to execute the com-
19: mands.
20:
21: Normally, VT102 escape sequences are used. With the -s
22: option, Sun tty escape sequences are used, which has the
23: advantage that a new row and column size may be specified
24: and the window will resize appropriately.
25:
26: For example, the following alias when executed as a command
27: will reset the environment of the current shell:
28:
29: alias xs 'set noglob; eval `resize`'
30: alias xrs 'set noglob; eval `resize -s \!\*`'
31:
32: The -u option will cause the commands to be formed appropri-
33: ately for sh (the Bourne shell) rather than csh.
34:
35: FILES
36: /etc/termcap for the base termcap entry to modify.
37: ~/.cshrc user's alias for the command.
38:
39: SEE ALSO
40: csh(1), tset(1), xterm(1)
41:
42: AUTHORS
43: Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
44: Copyright (c) 1984, 1985 by Massachusetts Institute of Tech-
45: nology.
46: See _X(1) for a complete copyright notice.
47:
48: BUGS
49: ``-u'' must appear to the left of ``-s'' if both are speci-
50: fied.
51:
52: There should be some global notion of display size; termcap
53: and terminfo need to be rethought in the context of window
54: systems. (Fixed in 4.3BSD, and Ultrix-32 1.2)
55:
56:
57:
58:
59:
60:
61:
62:
63: Printed 9/15/87 1 Nov 1986 1
64:
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.