Now I use Xterm R6 setting and the function keys are working OK. However Home, EraseEOF, PA1 etc are not. I do have a .c3270pro file like so: c270.keymap.custom:\ <Key>End: EraseEOF()\n\ <Key>Control_L: Reset() <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\ <Key>F1: PF("1")\n\ <Key>F2: PF("2")\n\ <Key>F3: PF("3")\n\ <Key>F4: PF("4")\n\ <Key>F5: PF(5)\n\ <Key>F6: PF(6)\n\ <Key>F7: PF(7)\n\ <Key>F8: PF(8)\n\ <Key>F9: PF(9)\n\ etc....
I invoke "c3270 tn3270a" wonder what I am doing wrong? "McKown, John" <[EMAIL PROTECTED]> Sent by: Linux on 390 Port <[EMAIL PROTECTED]> 02/12/2004 01:29 PM Please respond to Linux on 390 Port To: [EMAIL PROTECTED] cc: Subject: Re: x3270 Keymap Utility? That looks like "VT100" (aka ANSI) escape sequences to me. I am using putty also. On the tab entitled "Terminal/Keyboard", I have "Linux" selected under "The Function keys and keypad". -- John McKown Senior Systems Programmer UICI Insurance Center Applications & Solutions Team This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its' content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. > -----Original Message----- > From: Ranga Nathan [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 12, 2004 3:26 PM > To: [EMAIL PROTECTED] > Subject: Re: x3270 Keymap Utility? > > > 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. >