>From within my putty ssh session to Linux LPAR, when I run x3270, some of
my PF keys are translated to
F1 = [11~
F2 = [12~
F3 = [13~

All other function keys seem to work OK!

I am not using X, only ssh command line interface.
Should I override these in .x3270pro file? Does c3270 use .x3270pro
automatically?




Joe Poole <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port <[EMAIL PROTECTED]>
02/12/2004 05:01 AM
Please respond to Linux on 390 Port


        To:     [EMAIL PROTECTED]
        cc:
        Subject:        Re: x3270 Keymap Utility?


On Wednesday 11 February 2004 17:55, you wrote:
> I have a problem with the keymap too. some function keys dont work
> and I dont know where the definitions live.
> Is it part of the source that I have to recompile? I have poked
> around but with no luck.
>
> Also, my x3270 came as part of SuSE. I only have the binary rpms.

I use a SuSE desktop, too.  Here's the instructions I put together to
remind me (I'm getting old) how to activate the new settings:

Keyboard remapping:

Apply these changes to make x3270 behave like Extra! Sessions:

Use a File Manager with root priveleges to access the
                 /home/userid
directory.  Change the view to show  hidden files and use Kedit or some
other editor to add theses statements to the end of .Xresources:

!
! Some adjustments to the keyboard of x3270:
!
x3270.keymap.custom:\
   <Key>Escape:    Reset()\n\
   <Key>Return:    Newline()\n\
   <Key>Control_R: Enter()\n\
   <Key>End:       EraseEOF()\n\
   <Key>Pause:     Clear()\n\
   <Key>Prior:     PA("1")\n\
   <Key>Next:      PA("2")\n\
   Shift<Key>F1:   PF(13)\n\
   Shift<Key>F2:   PF(14)\n\
   Shift<Key>F3:   PF(15)\n\
   Shift<Key>F4:   PF(16)\n\
   Shift<Key>F5:   PF(17)\n\
   Shift<Key>F6:   PF(18)\n\
   Shift<Key>F7:   PF(19)\n\
   Shift<Key>F8:   PF(20)\n\
   Shift<Key>F9:   PF(21)\n\
   Shift<Key>F10:  PF(22)\n\
   Shift<Key>F11:  PF(23)\n\
   Shift<Key>F12:  PF(24)\n
!
! Now tell x3270 to use these adjustments.
!
x3270.keymap:   custom
!
! then open a shell and issue: xrdb -merge .Xresources

                 When finished, save /home/userid/.Xresources and open a
shell.  Issue
the command  xrdb -merge .Xresources  to activate the overrides.  The
next time you open a session with x3270, the changes will be in effect.

Different screen models:

Create an icon on the desktop and set the application path to:

                 '/usr/X11R6/bin/x3270' -model 3279-5 mvshost1

Change the model to 3279-4 or 3279-2 as needed, and change the host
field to vmhost1 as needed.

Reply via email to