[comp.sys.apollo] Pseudo TTYs and Apollos

awhitton@bcara2.bnr.ca (Alan Whitton @ BNR) (01/09/90)

Just found an interesting "feature" of Apollos. 

Scenario
-=-=-=-=-

- Telnet into an Apollo and do a STTY ALL and
  this will show you all the TTY settings.
- Do a STTY ROWS 90
- Logout

- Log back in (hopefully on the same PTY).
- Do a STTY ALL and low and behold, your PTY is
  still set for 90 rows.

This is interesting, is this a bug? Is something set 
wrong? HP is looking into this, but I am curious to know
does anyone else know anything about this?

Be Seeing You,
Alan
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"These is my thoughts ONLY"          Alan Whitton               
awhitton@bnr.ca  OR                  Bell Northern Research     
awhitton%bnr.ca@cunyvm.cuny.edu      "I am not a number, I am a Free Man!"

hanche@imf.unit.no (Harald Hanche-Olsen) (01/09/90)

This problem was driving me up the wall in the spring of '89.  We
wanted to use NCSA telnet to log in on our apollos from PCs, and found
that screen oriented programs like vi, emacs and others assumed the
wrong screen size more often than not.  I did not know enough about
unix at the time to figure out what was going wrong, and neither did
our local apollo representative, so I submitted an APR.  I got an
answer back saying, in essence, that not enough information was given,
and they were unable to reproduce the problem.  In the meantime, I did
find out about the stty settings, so I sent a letter to the APR
manager about it, telling him I still considered it a problem but the
severity was much less because a simple workaround exists:  In my
.login file, there is the line

if ($term == vt100) stty rows 24 columns 80

(after the usual eval `tset ...` stuff).  This may be ugly, but it
works...  Anyway, the point of my little story is, if HP/Apollo don't
know about this then they are having a problem keeping track of APRs.

- Harald Hanche-Olsen     Division of Mathematical Sciences
  hanche@imf.unit.no      The Norwegian Institute of Technology
  hanche@norunit.bitnet   N-7034 Trondheim-NTH NORWAY