.TH resize "" "" "X Utility"
.PC "Set environmental variables to show window size"
.\"\fBresize [\-cu \-s[\fIrows columns\^\fB]]\fR"
\fBresize [\-cu]\fR
.PP
.HS
.SH Options:
.IC \fB\-c\fR
Generate a script for the C shell, regardless of the shell the
user is now using.
.IC \fB\-u\fR
Generate a script for the Bourne shell, regardless of the shell the
user is now using.
.\".IC "\fB\-s [\fIrows columns\^\fB]\fR"
.\"Generate a script using Sun console escape sequences.
.\".I rows
.\"and
.\".I columns
.\"set, respectively, the number of rows and columns in the window.
.\"If either of these arguments are set,
.\".B resize
.\"asks
.\".B xterm
.\"to resize the current window.
.\".Pp
.\"If more than one option is used,
.\"\fB\-u\fR and \fB\-c\fR must precede \fB\-s\fR.
.HE
.II SIGWIN
.II ROWS
.II COLUMNS
The X utility
.B resize
generates a shell script that resets the environmental variables
.B COLUMNS
and
.B ROWS
to reflect the dimensions of the window within which it was run.
.PP
.B resize
recognizes the following options:
.IP \fB\-c\fR 0.3i
Generate a script for the C shell, regardless of the shell you are using.
Note that \*(CO does include the C shell, although one can be obtained from
a third-party source.
.IP \fB\-u\fR
Generate a script for the Bourne shell, regardless of the shell you are using.
.\".IP "\fB\-s [\fIrows columns\^\fB]\fR"
.\"Generate a script using Sun console escape sequences.
.\".I rows
.\"and
.\".I columns
.\"set, respectively, the number of rows and columns in the window.
.\"If either of these arguments are set,
.\".B resize
.\"asks
.\".B xterm
.\"to resize the current window.
.\".PP
.\"If more than one option is used,
.\"\fB\-u\fR and \fB\-c\fR must precede \fB\-s\fR.
.SH "See Also"
.B
X utilities,
xterm
.R
.SH Notes
Copyright \(co 1984, 1985 by Massachusetts Institute of Technology.
.\".PP
.\"As of this writing, \*(CO does not use the environmental variables
.\".B TERMCAP
.\"and
.\".BR TERMINFO .
.\"In addition,
.PP
Most \*(CO screen-oriented applications assume that the
size of the screen is 24 rows by 80 columns.
This will change gradually in the future; but at present, do not
expect this command do have much effect on the way things work.
.PP
.II "Vandevoorte, Mark"
.II "Moy, Edward"
This client is by
Mark Vandevoorte of MIT Project Athena and Edward Moy of the
University of California, Berkeley.
