From owner-freebsd-questions Sat Apr 20 17:30:09 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA10896 for questions-outgoing; Sat, 20 Apr 1996 17:30:09 -0700 (PDT) Received: from obie.softweyr.com (slcmodem1-p1-13.intele.net [206.29.206.112]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA10891 for ; Sat, 20 Apr 1996 17:30:06 -0700 (PDT) Received: (from wes@localhost) by obie.softweyr.com (8.6.12/8.6.12) id SAA01311; Sat, 20 Apr 1996 18:30:56 -0600 Date: Sat, 20 Apr 1996 18:30:56 -0600 Message-Id: <199604210030.SAA01311@obie.softweyr.com> From: wes@intele.net To: Steve Reid CC: questions@freebsd.org Subject: 'less' on remote machine in an xterm In-Reply-To: <105076985@toto.iv> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Steve Reid writes: > When I login to the machines that I admin (using ssh) and use less to > view a file, it works fine in a text-mode screen. But, when I do this > from an xterm, and try to scroll up in less, only the top line changes. I > have to ctrl-L often to update the screen. Very annoying. > > Any fix for this little problem? Maybe an xterm switch? DISPLAY variable > setting? Xterm patch? Probably one of two things: your $TERM is set to something other than "xterm", or the remote machine has an incorrect picture of your xterm geometry. If the remote machine is running HP-UX, you must export the variable LINES with the number of lines on your screen, the HP-UX termcap doesn't grok tty geometry settings. -- Wes Peters | Yes I am a pirate, two hundred years too late Softweyr | The cannons don't thunder, there's nothing to plunder Consulting | I'm an over forty victim of fate... wes@intele.net | Jimmy Buffett