home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!uwm.edu!bionet!parc!xerox!putz
- From: putz@parc.xerox.com (Steve Putz)
- Newsgroups: comp.sys.sun.misc
- Subject: Re: Can one resize cmdtool windows from cmd line?
- Keywords: cmdtool
- Message-ID: <1992Sep15.170302.12666@parc.xerox.com>
- Date: 15 Sep 92 17:03:02 GMT
- References: <1992Sep15.155220.19031@tin.monsanto.com>
- Sender: news@parc.xerox.com
- Reply-To: putz@parc.xerox.com (Steve Putz)
- Organization: Xerox PARC
- Lines: 21
-
- Look in the shelltool(1) man page. The escape sequences listed there
- apply to cmdtool also (since it it really the same tool):
-
- It is possible to have terminal-based p special escape
- sequences. These escape sequences may also be sent by typ-
- ing a key appropriately mapped using the mapo function
- described above. The following functions pertain to the
- tool in which the tty subwindow resides, not the tty subwin-
- dow itself.
-
- \E[8;ROWS;COLSt - stretch, to ROWS COLS size (in
- characters)
-
-
- So, to force the window to 80 x 24 characters, use something like:
-
- /usr/5bin/echo "\033[8;24;80t\c"
-
- Steve Putz <putz@parc.xerox.com>
- Xerox Palo Alto Research Center
- Palo Alto, California
-