resize man page on Knoppix

Man page or keyword search:  
man Server   3132 pages
apropos Keyword Search (all sections)
Output format
Knoppix logo
[printable version]

RESIZE(1)							     RESIZE(1)

NAME
       resize  - set environment and terminal settings to current xterm window
       size

SYNOPSIS
       resize [ -u | -c ] [ -s [ row col ] ]

DESCRIPTION
       Resize prints a shell command for setting the  appropriate  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 tempo‐
       rary file and then read it back in with the “.” command:

	       $  resize > /tmp/out
	       $  . /tmp/out

       Resize determines the user's current shell by first checking if	$SHELL
       is  set,	 and  using that.  Otherwise it determines the user's shell by
       looking in the password file.  Generally Bourne-shell variants (includ‐
       ing  ksh) do not modify $SHELL, so it is possible for resize to be con‐
       fused if one runs resize from a Bourne shell spawned from a C shell.

OPTIONS
       The following options may be used with resize:

       -u      This option indicates that Bourne shell commands should be gen‐
	       erated 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.

       -s [rows columns]
	       This option indicates that Sun console escape sequences will be
	       used  instead  of  the VT100-style xterm escape codes.  If rows
	       and columns are given, resize will  ask	the  xterm  to	resize
	       itself.	However, the window manager may choose to disallow the
	       change.

       Note that the Sun console escape sequences are  recognized  by  XFree86
       xterm  and  by dtterm.  The resize program may be installed as sunsize,
       which causes makes it assume the -s option.

       The rows and columns arguments must appear last; though they  are  nor‐
       mally associated with the -s option, they are parsed separately.

FILES
       /etc/termcap   for the base termcap entry to modify.

       ~/.cshrc	      user's alias for the command.

ENVIRONMENT
       TERM	      set to "xterm" if not already set.

       TERMCAP	      variable set on systems using termcap

       COLUMNS, LINES variables set on systems using terminfo

SEE ALSO
       csh(1), tset(1), xterm(1)

AUTHORS
       Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
       Copyright (c) 1984, 1985 by X Consortium
       See X(7) for a complete copyright notice.

				X Window System			     RESIZE(1)
[top]

List of man pages available for Knoppix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net