marcus,

The problem is right in your .Xresources file.

The Page_Up key is setup to call the scroll-back() function.  that function
is internal to xterm.

You need the Page_Up key to send a string instead.

Same for Page_Down.

Here is a portion of my .Xdefaults file:


xterm.vt100.translations: #override\n\
        Alt<Key>B:      set-vt-font(6)\n\
        Alt<Key>S:      set-vt-font(d)\n\
        <Key>Print:     printscreen()\n\
        Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n\
        Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n\
        <Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n\
        <Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n\
        <Key>F1: string(0x1b) string("[17~") \n\
        <Key>F2: string(0x1b) string("[18~") \n\
        <Key>F3: string(0x1b) string("[19~") \n\
        <Key>F4: string(0x1b) string("[20~") \n\
        <Key>F5: string(0x1b) string("[21~") \n\
        <Key>F6: string(0x1b) string("[23~") \n\
        <Key>F7: string(0x1b) string("[24~") \n\
        <Key>F8: string(0x1b) string("[25~") \n\
        <Key>F9: string(0x1b) string("[26~") \n\
        <Key>F10: string(0x1b) string("[29~") \n\
        <Key>F11: string(0x1b) string("[29~") \n\
        <Key>F12: string(0x1b) string("[20~") \n\
        <Key>Home: string(0x1b) string("[H") \n\
        <Key>End: string(0x1b) string("_1") string(0x1b) string(0x5c) \n\
        <Key>Page_Up: string(0x1b) string("[S") \n\
        <Key>Page_Down: string(0x1b) string("[T") \n\
        Shift<Key>Tab: string(0x1b) string("[Z") \n\
        <Key>Insert: string(0x1b) string("[@")  \n\
        <Key>Delete: string(0x1b) string("[P")

There is some stuff in there for using a wheel mouse to scroll the xterm 
screen.
The Page_Up and Page_Down keys will send character sequences to the 
application
which should then interpret the sequences and do the right thing.
Marcus Smith wrote:

I'm also using Alt-B and Alt-S to make the xterm window Bigger or Smaller.

Hope that helps,

Jim McQuillan
[EMAIL PROTECTED]

>Hi.
>
>I use my spanking-new LTSP setup to have my clients telnet into a UNIX server where I 
>keep my Progress databases to do manual editing and data entry.  I've been screwing 
>with the .Xresources and .Xdefaults to get the
>keyboard functions to work that don't normally with VT100 emulation - ie, the 
>function keys, arrow keys, etc.
>
>These work now with only one odd quirk that I haven't seen any documentation on. At 
>the client workstation the Page_Up and Page_Down keys only page up and down the local 
>telnet session, that is, the Xterm window
>itself scrolls, not the pages on information that normally scroll from the server.  I 
>use NetTerm on my windows workstations and they work just fine, so I know its 
>possible.
>
>Does this ring a bell with anyone?
>
>Here's my .Xresources file:
>
>#ifdef COLOR
>*customization: -color
>#endif
>
>emacs*Background: DarkSlateGray
>emacs*Foreground: Wheat
>emacs*pointerColor: Orchid
>emacs*cursorColor: Orchid
>emacs*bitmapIcon: on
>emacs*font: fixed
>emacs.geometry: 80x25
>
>Seyon.modems: /dev/modem
>
>xterm*background: Red3
>xterm*foreground: White
>xterm*cursorColor: Red
>xterm*reverseVideo: false
>xterm*scrollBar: true
>xterm*reverseWrap: true
>xterm*font: -adobe-courier-bold-r-normal--20-140-100-100-m-150-iso8859-1
># xterm*font: 10x20
>xterm*fullCursor: true
>xterm*scrollTtyOutput: off
>xterm*scrollKey: on
>xterm*VT100.Translations: #override\n\
>     <KeyPress>Page_Up: scroll-back(1,page)\n\
>     <KeyPress>Page_Down: scroll-forw(1,page)\n\
>    <Key>BackSpace: string(0x08)\n\
>     <Key>Delete: string(0x07f)\n\
>     <Key>F5: string("0x1b") string("[M")
>
>
>xterm*titleBar: false
>
>xterm_color*background: Red
>xterm_color*foreground: Wheat
>xterm_color*cursorColor: Orchid
>xterm_color*reverseVideo: false
>xterm_color*scrollBar: true
>xterm_color*saveLines: 5000
>xterm_color*reverseWrap: true
>xterm_color*font: fixed
>xterm_color.geometry: 80x25+20+20
>xterm_color*fullCursor: true
>xterm_color*scrollTtyOutput: off
>xterm_color*scrollKey: on
>xterm_color*VT100.Translations: #override\n\
> <KeyPress>Prior : scroll-back(1,page)\n\
> <KeyPress>Next : scroll-forw(1,page)
>xterm_color*titleBar: false
>
>
>
>_____________________________________________________________________
>Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
>For additional LTSP help,   try #ltsp channel on irc.openprojects.net
>



_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to