1RESIZE(1)                   General Commands Manual                  RESIZE(1)
2
3
4

NAME

6       resize - set TERMCAP and terminal settings to current xterm window size
7

SYNOPSIS

9       resize [ -u | -c ] [ -s [ row col ] ]
10

DESCRIPTION

12       Resize prints a shell command for setting the TERM and TERMCAP environ‐
13       ment variables to indicate the current size of xterm window from  which
14       the command is run.  For this output to take effect, resize must either
15       be evaluated as part of the command line (usually  done  with  a  shell
16       alias  or function) or else redirected to a file which can then be read
17       in.  From the C shell (usually known as /bin/csh), the following  alias
18       could be defined in the user's .cshrc:
19
20               %  alias rs 'set noglob; eval `resize`'
21
22       After resizing the window, the user would type:
23
24               %  rs
25
26       Users  of  versions of the Bourne shell (usually known as /bin/sh) that
27       don't have command functions will need to send the output to  a  tempo‐
28       rary file and the read it back in with the ``.'' command:
29
30               $  resize > /tmp/out
31               $  . /tmp/out
32

OPTIONS

34       The following options may be used with resize:
35
36       -u      This option indicates that Bourne shell commands should be gen‐
37               erated even if the user's current shell isn't /bin/sh.
38
39       -c      This option indicates that C shell commands should be generated
40               even if the user's current shell isn't /bin/csh.
41
42       -s [rows columns]
43               This option indicates that Sun console escape sequences will be
44               used instead of the VT100-style xterm escape  codes.   If  rows
45               and  columns  are  given,  resize  will ask the xterm to resize
46               itself.  However, the window manager may choose to disallow the
47               change.
48
49               Note  that  the  Sun console escape sequences are recognized by
50               XFree86 xterm  and  by  dtterm.   The  resize  program  may  be
51               installed  as  sunsize,  which  causes  makes  it assume the -s
52               option.
53
54               The rows and columns arguments must appear  last;  though  they
55               are  normally  associated  with  the -s option, they are parsed
56               separately.
57

FILES

59       /etc/termcap   for the base termcap entry to modify.
60
61       ~/.cshrc       user's alias for the command.
62

SEE ALSO

64       csh(1), tset(1), xterm(1)
65

AUTHORS

67       Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
68       Copyright (c) 1984, 1985 by X Consortium
69       See X(7) for a complete copyright notice.
70
71
72
73                                X Window System                      RESIZE(1)
Impressum