HPUX resize[1]

resize in anderen Kapiteln des hpux Handbuch:
resize.3x
RESIZE(1) X Version 11 RESIZE(1)
Release 5
NAME
resize - utility to set TERMCAP and terminal settings to current
window size
SYNOPSIS
resize [-c | -u] [-h | -x | -s [row col]]
DESCRIPTION
Resize prints a shell command for setting the TERM and TERMCAP
environment variables to indicate the current size of xterm window
from which the command is run. For this output to take effect, resize
must either be evaluated as part of the command line (usually done
with a shell alias or function) or else redirected to a file which can
then be read in. From the C shell (usually known as /bin/csh), the
following alias could be defined in the user's .cshrc:
% alias rs 'set noglob; `eval resize`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as /bin/sh) that
don't have command functions will need to send the output to a
temporary file and the read it back in with the ``.'' command:
$ resize >/tmp/out
$ . /tmp/out
OPTIONS
The following options may be used with resize:
-u This option indicates that Bourne shell commands should be
generated even if the user's current shell isn't /bin/sh.
-c This option indicates that C shell commands should be
generated even if the user's current shell isn't /bin/csh.
-h This option indicates that resize should use Hewlett Packard
terminal escape sequences to obtain the terminal's new window
size.
-x This option indicates that resize should use VT102 escape
sequences to obtain the terminal's new window size.
-s [rows columns]
This option indicates that that Sun console escape sequences
will be used instead of the special xterm escape code. If
rows and columns are given, resize will ask the xterm to
resize itself. However, the window manager may choose to
disallow the change.
Hewlett-Packard Company - 1 - HP-UX 9.0 August 1992
RESIZE(1) X Version 11 RESIZE(1)
Release 5
FILES
/etc/termcap for the base termcap entry to modify.
$HOME/.profile sh(1), ksh(1), and keysh(1) user's functions for
resize.
~/.cshrc user's alias for the command.
SEE ALSO
sh(1), ksh(1), csh(1), keysh(1), eval(1), hpterm(1), tset(1), xterm(1)
AUTHORS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by Massachusetts Institute of Technology.
See X(1) for a complete copyright notice.
BUGS
If the -s option is used, it must be the last option specified.
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)
Hewlett-Packard Company - 2 - HP-UX 9.0 August 1992