lynch@batcomputer.tn.cornell.edu (Tim Lynch) (02/10/89)
We are having problems with our Sun 4's and terminal emulation when connecting to our departmental hp 9000/850 machine. When running under suntools, and using Jove or Vi on the 850, things are fouled up -- Jove and Vi just don't work. It appears to be a problem with the application not knowing the length of the virtual screen (my guess) but try as we might to change the li# in the terminfo database we can't fix it. Has anyone seen this and, if so, do you have a fix? thanks in advance. Tim Lynch lynch@chemres.tn.cornell.edu
shankar@hpclscu.HP.COM (Shankar Unni) (02/11/89)
> fouled up -- Jove and Vi just don't work. It appears to be a problem > with the application not knowing the length of the virtual screen > (my guess) but try as we might to change the li# in the terminfo > database we can't fix it. The environment variables LINES and COLUMNS are honored (these are significant to the termcap library). for example, setenv LINES 36 setenv COLUMNS 72 --- Shankar.
awm@gould.doc.ic.ac.uk (Aled Morris) (02/17/89)
>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