× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Aaron,

I can't tell you how to fix any of those things using tn5250 however I
can help you with using xt5250.

To change the keymapping you'll probably want to change the XTerm file
(I'm running Kubuntu 8.04 and my XTerm file is located at
/usr/share/tn5250). Open that file up (note: you'll likely need to be
the root user or use sudo) in whatever text editor you're comfortable
with and add these three lines:

<Key>BackSpace: string(0x7F) \n\
<Key>Control_L: string("\022") \n\
<Key>Control_R: string("\015") \n\

That will fix your backspace and control keys the way you want.

To make the font larger using xt5250 after you start the program (type
"xt5250 red" without the quotes at a command line) hold down your
control key and right click (and hold the mouse button down) on the
window that opens up - move the mouse cursor down to the "huge" setting.

I know these issues have been discussed before (I know because I asked
about them myself!) so if you do some searching of old messages you'll
likely find a lot more information.

If you must use tn5250 instead of xt5250 (they are both part of the
tn5250 package by the way) I'm sure Scott or James or someone else can
give you instructions on that.

Good luck!
Brian

Aaron Bartell wrote:
Hi all,

I had forgotten I subscribed to this list awhile back and with the flurry
of activity this past month with getting the new version I have become
interested in getting TN5250 working on my system.

I have TN5250 up and running just fine but there are a couple of things
that are driving me nuts. One, I can't seem to get my keys remapped - in
particular I can't get the Field Exit to be mapped to the Right Control
key, the "reset" key mapped to the Left Control key, and have the
backspace key delete the text it is backspacing over. I have brought up
us5250.map in an editor but am completely lost as to how I can make the
changes I detailed above - is there a man page for how the keycode works?

The other issue I am having is getting the resolution to be higher (i.e.
bigger font for my already failing eyes).

I have read through James' fine tutorial and have put together the
following .tn5250rc file in my home directory. The font values were taken
from the xfontsel command which is what I am assuming I was supposed to do
but it doesn't seem to have any effect. I

red {
host = 192.168.11.22
env.TERM=IBM-3477-FC
+uninhibited
env.USER = AARON
font_80=-monotype-*-*-*-*-*-20-*-*-*-*-*-*-*
font_132=-misc-*-*-*-*-*-20-*-*-*-*-*-*-*
}

I am using tn5250 version 0.17.3

On a final note I am fairly new to Linux (switched over in the past 6
months) so if I am being totally dumb with something you will know why :-)

Aaron Bartell
http://mowyourlawn.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.