[2844] in testers

home help back first fref pref prev next nref lref last post

Re: some notes about xterm

daemon@ATHENA.MIT.EDU (David K Krikorian)
Mon May 20 03:13:52 1996

Date: Mon, 20 May 1996 03:13:36 -0400
From: David K Krikorian <dkk@MIT.EDU>
To: jweiss@MIT.EDU
Cc: testers@MIT.EDU
In-Reply-To: <199605162142.RAA01137@the-other-woman.MIT.EDU> (message from
	Jonathon Weiss on Thu, 16 May 1996 17:42:53 EDT)

> I thought I used to have to use the shift keys with the page up and
> down keys to get them to work, I don't now.  Also page up and down
> move by a whole screen, and I'm use to half screen shifts.

Correct, shift-PageUp and shift-PageDown used to scroll the xterm a
half-screen in (I believe) all recent releases of all Athena
platforms.  The behavior in Athena Solaris 8.0 is for shift-PageUp and
PageUp to scroll a full page back (with no lines of overlap), and
shift-PageDown and PageDown to scroll a full page forward.  Sun's
xterm actually appears to have the same default behavior we're used
to, but that behavior is overridden in the openwin app-defaults file:
/usr/openwin/lib/app-defaults/XTerm.  To correct this act of bad
judgement, add the following to your .Xresources (assuming you don't
already have an entry named something like XTerm*VT100.translations):

XTerm*VT100.translations: #override \
	Shift <KeyPress> Prior:scroll-back(1,halfpage) \n\
	Shift <KeyPress> Next:scroll-forw(1,halfpage) \n\
        <Key>Prior:ignore() \n\
        <Key>Next:ignore() \n

If you DO already have such an entry, just add to it the last four
lines shown above, making sure that the last of the lines in the
translation ends in "\n" and that all the others end in "\n\".

-- 
David Krikorian <dkk@mit.edu>,  radio: KA1NAP,  groups: APO LSC SIPB,
employment: MIT/IS/Service/ASO (Athena Server Operations)

home help back first fref pref prev next nref lref last post