Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ resize(1X) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xterm(1X)

csh(1)

tset(1)




resize(1X) resize(1X)
NAME resize - sets TERMCAP and terminal settings to current window size SYNOPSIS resize [-u] [-c] [-s[ row column]] DESCRIPTION resize prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of the xterm window from which the command is run. For this output to take effect, resize must be either evaluated as part of the command line (usually done with a shell alias or function) or redirected to a file that can then be read. For the C shell, the following alias could be defined in the user's .cshrc: alias rs 'set noglob; `eval resize`' After resizing a window, the user would type rs If you are using the Bourne or Korn shell, you can achieve the same effect by placing the following in your .profile file: rs( { set noglob; `eval resize` } Alternately, you can send the output to a temporary file and then read it back in with the dot (.) command: resize >/tmp/out . /tmp/out Options The resize command accepts these options: -c Indicates that C shell commands should be generated even if the user's current shell isn't /bin/csh. -s [row column] Causes resize to use Sun console escape sequences instead of the xterm escape sequences if row and column are not present. If row and column are present, resize asks xterm to resize itself. Howev- er, the window manager may choose to disallow the change. November, 1990 1



resize(1X) resize(1X)
-u Indicates that Bourne shell commands should be gen- erated even if the user's current shell isn't /bin/sh. LIMITATIONS The -u or -c must appear before -s if both are specified. There should be some global notion of display size; terminal capabilities databases need to be rethought in the context of window systems. (Fixed in 4.3BSD, Ultrix-32 1.2, and
r
A/UX 2.0.)
NOTES Copyright 1984, 1985, Massachusetts Institute of Technology. See X(1X) for a full statement of rights and permissions. Authors: Mark Vandevoorde, MIT Project Athena, and Edward Moy, University of California, Berkeley FILES /etc/termcap Specifies terminal capabilities. SEE ALSO xterm(1X) csh(1), tset(1) in A/UX Command Reference 2 November, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026