|
Hi Syd, On Mon, 5 Jun 2000, Dr. Syd Nicholson wrote: > Hi Scott, > > Sorry to bother you again but I cannot get the TN5250 keyboard map to > function. > > I have two files called XTerm: > > /usr/share/tn5250/XTerm and > /usr/X11R6/lib/X11/app-defaults/XTerm > > The XTerm in /usr/share/tn5250 seems to be ignored. No matter how many > changes I make to this file it has no effect on the keyboard mapping > used. I can even delete the file, it makes no difference to the xterm. > I use both Redhat Linux and FreeBSD. On both of these systems, it'll use the file called /usr/local/share/tn5250/XTerm If I recall correctly, you're using SuSE... unfortunately, I have no experience with that version, so I dont know how to help you! Perhaps someone else on this mailing list uses the same version of Linux that you do, and could help you out? I wish I had a better answer for you... > The XTerm in /usr/X11R6/lib/X11/app-defaults contains key map > information and I now have most of the function keys working correctly. > Other changes I make to this file seem to be ignored. I have attached > this file to this message. > > I still do not have F23 and F24, the numeric keypad, a backspace that > deletes characters and 'error reset' on the left Ctrl key. It would also > be nice if 'Field Exit' was the Return Key and 'Enter' the right Ctrl > key. > > How do I tell xterm to use a specific key map file?? Any further > suggestions would be most welcome. > The xt5250 script sets the directory for the XTerm file by setting the XUSERFILESEARCHPATH enviornment variable. You might try bringing up the /usr/local/bin/xt5250 file in your favorite text editor, and taking a look at what it does. If you can't get that to work, you might also try copying /usr/local/share/tn5250/XTerm to your ~/.Xdefaults file. That'll allow you to make the changes on a per-user basis instead of for the whole system. (Or at least it does on my computer) You should also check your termcap/terminfo settings if you're not using the ones that were included in the tn5250 distribution. Many termcap/terminfo setups only define F1-F20. You could be experiencing something similar to this. Check what your XTerm file is sending, and set your termcap or terminfo (whichever your system uses) to match. Another suggestion might be to try using the gtk-5250 version of the emulator from the gnome-5250 distribution. This will require you to install version 0.15.9 of tn5250, and then install gnome-5250 (along with whatever other dependencies it has... perhaps glib and gtk+?) Using this will completely circumvent the keyboard mapping :) Unfortunately, this version is still in development, and not all of its features work. Good luck! +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.