home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 4884 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.4 KB

  1. 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
  2. Newsgroups: comp.sys.sun.admin
  3. Subject: resetting pseudo-terminal sizes?
  4. Message-ID: <1992Jul22.230123.23146@midway.uchicago.edu>
  5. From: valdes@geosun.uchicago.edu (John Valdes)
  6. Date: Wed, 22 Jul 1992 23:01:23 GMT
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Organization: Department of the Geophysical Sciences, University of Chicago
  9. Lines: 16
  10.  
  11. This probably (used to be) an FAQ, as it's been a bug in SunOS for as
  12. long as I've been using it (3.x days).  The problem is the size
  13. (lines and columns) used by pseudo-terminals (ttypn).  Say I start a shell
  14. in a terminal window under a windowing system (X, Openwin or Sunview,
  15. doesn't matter) and resize the window so that it's 132 colums x 50 lines.
  16. Say also that this window uses /dev/ttyp3.  Now if exit the shell (an
  17. hence quit the window, freeing the tty) and then remotely log into the
  18. system so that my login uses /dev/ttyp3, the terminal size will still
  19. be set to 132 cols by 50 lines!  This is most annoying, esp. when trying
  20. to edit a file.  I know that I can use stty or resize to set the proper
  21. dimensions, but I would much prefer having the pseudo-terminal driver 
  22. (re)size the terminal properly itself.  Is there a fix available for this?
  23.  
  24. John Valdes
  25. valdes@geosun.uchicago.edu
  26.  
  27.