Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ resize(X) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     resize(1)        X Version 11 (26 October 1988)         resize(1)



     NAME
          resize - sets TERMCAP and terminal settings to current
          window size

     SYNOPSIS
          resize [options. . .]

     DESCRIPTION
          The resize utility prints a shell command that sets the TERM
          and TERMCAP environment variables to the current size of the
          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 be redirected to a file which can then be read
          in.  From the C shell (usually known as /bin/csh), you could
          define the following alias in your

             %  alias rs 'set noglob; eval `resize`'

         After resizing the window, type:

            %  rs

        If you are using versions of the the Bourne shell (usually
        known as /bin/sh) that don't have command functions you need
        to send the output to a temporary file and the read it back in
        with the "." command:

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


     OPTIONS
          -u   Generates Bourne shell commands even if your current
               shell is not /bin/sh.

          -c   Generates C shell commands even if your current shell
               is not /bin/csh.

          -s [rows columns]
               Specifies Sun console escape sequences instead of the
               special xterm escape code.  If you specify rows and
               columns, resize asks xterm to resize itself.  Some
               window managers might not allow the change.

          Note that the -u or -c option must appear to the left of -s
          if both are specified.

     FILES
          /etc/termcap   modifies the base termcap entry.
          ~/.cshrc  user's alias for the command.




     Page 1                                          (printed 10/4/89)






     resize(1)        X Version 11 (26 October 1988)         resize(1)



     SEE ALSO
          xterm

     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.















































     Page 2                                          (printed 10/4/89)



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