home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ittc!fpb
- From: fpb@ittc.wec.com (Frank P. Bresz)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: resetting pseudo-terminal sizes?
- Message-ID: <FPB.92Jul26140210@ittc.ittc.wec.com>
- Date: 26 Jul 92 18:02:10 GMT
- References: <1992Jul22.230123.23146@midway.uchicago.edu> <13688@auspex-gw.auspex.com>
- Sender: news@ittc.wec.com
- Organization: Westinghouse, ITTC, Pgh, PA.
- Lines: 64
- In-reply-to: valdes@geosun.uchicago.edu's message of 23 Jul 92 19:25:43 GMT
-
- Distribution:
-
-
- In article <1992Jul23.192543.4308@midway.uchicago.edu> valdes@geosun.uchicago.edu (John Valdes) writes:
-
-
- =>OK, I just tried to reproduce the results under OW 2.0 and 3.0, but it
- =>didn't show up in with either version (SunOS 4.1.1, BTW). I guess I
- =>was a bit rash including OW; I remember having the problem under Sunview,
- =>and I'm currently experiencing it under X (from MIT, X11R4), so I assumed
- =>the problem was present under OW also.
-
- =>I have been able to reliable reproduce the results under X and Sunview,
- =>but only under certain circumstances. Here's what I do:
-
- =>1) Start up X or sunview
-
- =>2) In addition to whatever xterms or cmdtools (or shelltools) opened
- => when you started X or sunview, respectively, open two more. For
- => example, say that you started X with two xterms which use /dev/ttyp0
- => and /dev/ttyp1. You want to open two more xterms so that they
- => use ttyp2 and ttyp3.
-
- =>3) Resize the first of the two windows you opened in 1) (the xterm
- => using ttyp2 in the example above). stty -a should reflect the new size.
-
- =>4) Exit the window which you just resized (ttyp2)
-
- =>5) From any of the other windows (or from another machine), telnet
- => into the machine so that your login uses the same ttyp used by
- => the window you just resized and quit (ttyp2, in this example).
-
- =>6) If you now type stty -a, the number of rows and columns reported
- => will match the size of the window you had just resized and quit.
-
- =>Observations:
-
- => Assume ttyp(n) is the ttyp which has be resized for the following:
-
- => -I see this behavior only if ttyp(n+1) is in use. For example, say
- => ttyp0, ttyp1, ttyp2, ttyp3 and ttyp4 are in use. This behavior
- => won't be seen if ttyp4 is the one resized. It will happen if ttyp2
- => is the one resized. ttyp(n-1) may also have to be in use, but I
- => haven't tested this in all cases. (Hey, I've got work to do!! (-: )
-
- => -It seems that this only happens with even numbered ttyp's, but again
- => I haven't tested this extensively.
-
- Hmm,
- I have a 4/490 running SunOS 4.1.1 which is forever getting what I
- call 'whacked out ptys'. Seems to always be even numbered ptys.
- Typically 0 but sometimes 6. Sometimes you can't even login on the
- telnet port. After entering your password it just says 'connection
- closed'. Other times the terminal is in noecho mode. Other times
- it is in the mode where you get no <CR> just linefeeds across your
- page. If anyone knows of a patch I'd really like to hear about it.
-
- Email please I don't get to gnus as often as I'd like.
- --
- Frank P. Bresz |My opinions are mine, WEC pays big money for official opinions
- fpb@ittc.wec.com|Use Sun Type 3 keyboards, they hurt more when used as a weapon
- uunet!ittc!fpb |Member: League for Programming Freedom (LPF) | STOP Software |
- +1 412 733 6749 |For more information on the 'LPF' send mail | Patents Now |
-
-