home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat1 / resize.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. RESIZE(1)                        RESIZE(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        resize  -  set  TERMCAP    and  terminal settings to current
  9.        xterm window size
  10.  
  11. SSYYNNOOPPSSIISS
  12.        rreessiizzee [ --uu | --cc ] [ --ss [ _r_o_w _c_o_l ] ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        _R_e_s_i_z_e prints a shell command for  setting  the    TERM  and
  16.        TERMCAP environment variables to indicate the current size
  17.        of _x_t_e_r_m window from which the command is run.    For  this
  18.        output  to take effect, _r_e_s_i_z_e must either be evaluated as
  19.        part of the command line (usually done with a shell  alias
  20.        or  function)  or else redirected to a file which can then
  21.        be read in.  From the C shell (usually known as _/_b_i_n_/_c_s_h),
  22.        the following alias could be defined in the user's _._c_s_h_r_c:
  23.  
  24.            %  alias rs 'set noglob; eval ``resize``'
  25.  
  26.        After resizing the window, the user would type:
  27.  
  28.            %  rs
  29.  
  30.        Users of versions of the Bourne shell  (usually    known  as
  31.        _/_b_i_n_/_s_h)     that  don't  have command functions will need to
  32.        send the output to a temporary file and the read     it  back
  33.        in with the ``.'' command:
  34.  
  35.            $  resize > /tmp/out
  36.            $  . /tmp/out
  37.  
  38. OOPPTTIIOONNSS
  39.        The following options may be used with _r_e_s_i_z_e:
  40.  
  41.        --uu      This  option  indicates that Bourne shell commands
  42.            should be generated even     if  the  user's  current
  43.            shell isn't _/_b_i_n_/_s_h.
  44.  
  45.        --cc      This option indicates that C shell commands should
  46.            be generated even  if  the  user's  current  shell
  47.            isn't _/_b_i_n_/_c_s_h.
  48.  
  49.        --ss [_r_o_w_s _c_o_l_u_m_n_s]
  50.            This  option  indicates    that  Sun  console escape
  51.            sequences will be  used    instead     of  the  special
  52.            _x_t_e_r_m escape code.  If _r_o_w_s and _c_o_l_u_m_n_s are given,
  53.            _r_e_s_i_z_e will ask the _x_t_e_r_m to resize itself.   How-
  54.            ever,  the  window  manager may choose to disallow
  55.            the change.
  56.  
  57. FFIILLEESS
  58.        /etc/termcap   for the base termcap entry to modify.
  59.  
  60.        ~/.cshrc          user's alias for the command.
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RESIZE(1)                        RESIZE(1)
  71.  
  72.  
  73. SSEEEE AALLSSOO
  74.        csh(1), tset(1), xterm(1)
  75.  
  76. AAUUTTHHOORRSS
  77.        Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
  78.        Copyright (c) 1984, 1985 by X Consortium
  79.        See _X(1) for a complete copyright notice.
  80.  
  81. BBUUGGSS
  82.        The --uu or --cc must appear to the left of    --ss  if    both  are
  83.        specified.
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.