home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!caen!kuhub.cc.ukans.edu!spssig.spss.com!uchinews!geosun.uchicago.edu!valdes
- Newsgroups: comp.sys.sun.admin
- Subject: resetting pseudo-terminal sizes?
- Message-ID: <1992Jul22.230123.23146@midway.uchicago.edu>
- From: valdes@geosun.uchicago.edu (John Valdes)
- Date: Wed, 22 Jul 1992 23:01:23 GMT
- Sender: news@uchinews.uchicago.edu (News System)
- Organization: Department of the Geophysical Sciences, University of Chicago
- Lines: 16
-
- This probably (used to be) an FAQ, as it's been a bug in SunOS for as
- long as I've been using it (3.x days). The problem is the size
- (lines and columns) used by pseudo-terminals (ttypn). Say I start a shell
- in a terminal window under a windowing system (X, Openwin or Sunview,
- doesn't matter) and resize the window so that it's 132 colums x 50 lines.
- Say also that this window uses /dev/ttyp3. Now if exit the shell (an
- hence quit the window, freeing the tty) and then remotely log into the
- system so that my login uses /dev/ttyp3, the terminal size will still
- be set to 132 cols by 50 lines! This is most annoying, esp. when trying
- to edit a file. I know that I can use stty or resize to set the proper
- dimensions, but I would much prefer having the pseudo-terminal driver
- (re)size the terminal properly itself. Is there a fix available for this?
-
- John Valdes
- valdes@geosun.uchicago.edu
-
-