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