Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!ukc!harrier.ukc.ac.uk!eagle.ukc.ac.uk!icdoc!tgould!awm From: awm@gould.doc.ic.ac.uk (Aled Morris) Newsgroups: comp.sys.hp Subject: Re: problem with Sun machines telnet'ing to HP 800's Message-ID: Date: 16 Feb 89 19:29:24 GMT References: <7377@batcomputer.tn.cornell.edu> Sender: news@doc.ic.ac.uk Organization: Dept. of Computing, Imperial College, London Lines: 29 In-reply-to: lynch@batcomputer.tn.cornell.edu's message of 9 Feb 89 20:34:56 GMT >We are having problems with our Sun 4's and terminal emulation >when connecting to our departmental hp 9000/850 machine. It could be a problem in the terminfo entry for the "sun" terminal type on your HP. In HP-UX 6.x for the series 300, the terminfo entry called "sun" is broken (perhaps it was written for the old Sun-1?), it doesn't behave properly with the new(!) Sun-2 (-3 and -4) terminal emulator (remember that SunView/suntools "shelltool" windows emulate the same terminal as the raw console---some near-but-not-quite ANSI standard). One sure-fire way to recognise this is that the console is left in SUNSCRL mode, where scrolling off the bottom of the screen causes the text to be moved up a couple of lines at a time (very disconcering). My solution was to replace the file "/usr/lib/terminfo/s/sun" on the HP with the one from the directory "/usr/5lib/terminfo/s" on the Sun (this directory comes if you select the System V extensions when installing your operating system on the Sun). In fact, the Sun terminfo directory has a whole load of good terminfos for the different sized shelltool windows that you are likely to use, as well as an entry for their awful cmdtool. HP, if you're listening, when are we going to get "stty rows" and "cols"? Aled Morris systems programmer mail: awm@doc.ic.ac.uk | Department of Computing uucp: ..!ukc!icdoc!awm | Imperial College talk: 01-589-5111x5085 | 180 Queens Gate, London SW7 2BZ