*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> X11/resize (1)              
Title
Content
Arch
Section
 

Contents


     RESIZE(1)		X Version 11 (Release 6.4)	     RESIZE(1)



     NAME    [Toc]    [Back]
	  resize - set TERMCAP and terminal settings to	current	xterm
	  window size

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

     DESCRIPTION    [Toc]    [Back]
	  Resize prints	a shell	command	for setting the	TERM and
	  TERMCAP 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 temporary file and the read it back in with
	  the ``.'' command:

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

     OPTIONS    [Toc]    [Back]
	  The following	options	may be used with resize:

	  -u	  This option indicates	that Bourne shell commands
		  should be generated 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	special	xterm
		  escape code.	If rows	and columns are	given, resize
		  will ask the xterm to	resize itself.	However, the
		  window manager may choose to disallow	the change.

     FILES    [Toc]    [Back]
	  /etc/termcap	 for the base termcap entry to modify.




     Page 1					     (printed 10/9/01)






     RESIZE(1)		X Version 11 (Release 6.4)	     RESIZE(1)



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

     SEE ALSO    [Toc]    [Back]
	  csh(1), tset(1), xterm(1)

     AUTHORS    [Toc]    [Back]
	  Mark Vandevoorde (MIT-Athena), Edward	Moy (Berkeley)
	  Copyright 1984, 1985 by The Open Group
	  See X(1) for a complete copyright notice.

     BUGS    [Toc]    [Back]
	  The -u or -c must appear to the left of -s if	both are
	  specified.










































     Page 2					     (printed 10/9/01)



[ Back ]
      
      
 Similar pages
Name OS Title
winposition IRIX changes the size and position of the current graphics window
gettydefs HP-UX speed and terminal settings used by getty
gettydefs IRIX speed and terminal settings used by getty
stty Linux change and print terminal line settings
resizeterm FreeBSD change the curses terminal size
resizeterm OpenBSD change the curses terminal size
getpagesize HP-UX get the current page size
numblks IRIX Returns the current size of a file in 4096-byte blocks
winconstraints IRIX binds window constraints to the current window
iconsize IRIX specifies the icon size of a window
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service