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

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: resetting pseudo-terminal sizes?
  5. Message-ID: <13688@auspex-gw.auspex.com>
  6. Date: 23 Jul 92 00:41:57 GMT
  7. References: <1992Jul22.230123.23146@midway.uchicago.edu>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 22
  11. Nntp-Posting-Host: auspex.auspex.com
  12.  
  13. >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!
  20.  
  21. Didn't happen for me when I just tried it (SunOS 4.1.1, OW 2.0).
  22.  
  23. >but I would much prefer having the pseudo-terminal driver 
  24. >(re)size the terminal properly itself.
  25.  
  26. The pseudo-tty driver can't resize it itself, as it has no idea what the
  27. right size is.  It can only do what the process on the master side tells
  28. it.
  29.  
  30. Most master sides *will* tell it to resize it.
  31.  
  32. There may have been a bug, in whatever version of the OS that you're
  33. running, that kept the resize from happening; what version are you
  34. using?
  35.