Re: Key Mapping for tn5250 when launched from bash

"Michael D. Setzer II" <[email protected]>
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
On 5 Apr 2010 at 14:24, Jeff Harris wrote:

Date sent:      	Mon, 5 Apr 2010 14:24:59 -0700
From:           	Jeff Harris <[email protected]>
To:             	linux5250-Zwy7GipZuJhWk0Htik3J/[email protected]
Subject:        	[LINUX5250] Key Mapping for tn5250 when launched 
from bash
Send reply to:  	Linux 5250 Development Project 
<linux5250-Zwy7GipZuJhWk0Htik3J/[email protected]>

> Hi,
> 
> I'm new to this list and tn5250.   I've installed tn5250 and it works great
> with one exception.
> 
> When I run xt5250 from X11/Gnome the emulators keys behave as expected.
> [SHIFT] + [F12] = F24, but when I run tn5250 from a bash shell when I press
> the same keys I get no response as if the F24 key doesn't exist.
> 

man tn5250

It shows a number of options. In the bash shell, I'v used the following key 
option which works similar to the original 5250's use of the command key 
before the function keys were added.

ESC Shift +   (Above = sign not numeric pad)

The original 5250 had a cmd key on the left, and then used 1 thru = for F1 
thru F12, and cmd key plus shift 1 the shift = for the F13 to F24.

There are a couple of keys that gnome uses that effect this. 

There is also a Java version of tn5250 that has a built in key mapper, but it 
runs under a shell but haven't tried it on a fully text shell?




> I've searched the mailing list archives but was unable to find a clear
> answer.  Most of the solutions involved changing .Xdefaults or XTerm
> settings.  These solutions wont help when launching tn5250 in a non X11
> environment.
> 
> 
> Any help is appreciated.
> 
> 
> Thanks,
> 
> LedHed
> -- 
> This is the Linux 5250 Development Project (LINUX5250) mailing list
> To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/linux5250
> or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/linux5250.
> 


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:[email protected]                            
  mailto:[email protected]
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
SETI      9,561,398.998968 | EINSTEIN  3,890,089.930851
ROSETTA   1,836,884.667698 | ABC         522,517.085702

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.