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