ICE

Please login or register.

Login with username, password and session length
Advanced search  

News:

ICETCP.PRO and ICETCP.PLUS are compatible with Windows 11!

Author Topic: Default keymapping for non-pc style terminals  (Read 7361 times)

admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 26
Default keymapping for non-pc style terminals
« on: March 31, 2006, 02:08:26 pm »

ANSI  SCO UNIX/XENIX
ALT is used in place of the SCO UNIX/XENIX Console's CTRL+SHIFT.

AT386
No special mapping

AT&T605
Keypad function keys = * / and + (PF1, PF2, PF3, and PF4) are mapped to CTRL+F5, CTRL+F6, CTRL+F7, and CTRL+F8. They are also mapped to SHIFT / * - and + on the extended keyboard.
F13 and F14 are mapped to CTRL+F1 and CTRL+F2
SHIFT+F13 and SHIFT+F14 are mapped to CTRL+F3 and CTRL+F4
KEYPAD MODE keys 1 - 9 and 0 are mapped to ALT+F1 - ALT+F10
KEYPAD MODE - is mapped to ALT+9
KEYPAD MODE , is mapped to ALT+0
KEYPAD MODE . is mapped to ALT+-
KEYPAD MODE ENTER is mapped to ALT+=

IBM 3151
SEND is mapped to ALT+9
RESET is mapped to ALT+0
JUMP is mapped to the / key on the keypad (SHIFT it for /)
PA1 is CTRL+1 (1 on the keypad)
PA2 is CTRL+2 (2 on the keypad)
PA3 is CTRL+3 (3 on the keypad)

VT102
PF1 - PF4 are mapped to F1 - F4
KEYPAD MODE KEYS 1 - 9 and 0 are mapped to ALT+1 - ALT+0
KEYPAD MODE - is mapped to ALT+F1 and also ALT+-
KEYPAD MODE , is mapped to ALT+F2
KEYPAD MODE . is mapped to ALT+F3
KEYPAD MODE ENTER is mapped to ALT+F4
VT102 cursor keys application mode is fully implemented.  However, while not in application mode, the application mode cursor keys are still available as F5 - F8.

VT220
PF1 - PF4 are mapped to F1 - F4
KEYPAD MODE KEYS 1 - 9 and 0 are mapped to ALT+1 - ALT+0
KEYPAD MODE - is mapped to ALT+F1 and also ALT+-
KEYPAD MODE , is mapped to ALT+F2
KEYPAD MODE . is mapped to ALT+F3
KEYPAD MODE ENTER is mapped to ALT+F4
SELECT is mapped to HOME
FIND is mapped to END
INSERT HERE is mapped to INSERT
REMOVE is mapped to DELETE
PREV SCREEN is mapped to PAGE UP
NEXT SCREEN is mapped to PAGE DOWN
The DELETE code is available by using SHIFT+BACKSPACE
F6 - F10 are mapped to F6 - F10
F11 (ESC) is mapped to SHIFT+F1
F12 (BS) is mapped to SHIFT+F2
F13 (LF) is mapped to SHIFT+F3
F14 is mapped to SHIFT+F4
F15 (HELP) is mapped to SHIFT+F5
F16 (DO) is mapped to SHIFT+F6
F17 - F20 are mapped to SHIFT+F7 - SHIFT+F10
When in VT220 8-bit emulation, the 8-bit escape codes are sent for all keys.

WYSE60 and WYSE160
No other special mapping.
Logged

FBS_14FrontST

  • Jr. Member
  • **
  • Posts: 7
Re: Default keymapping for non-pc style terminals
« Reply #1 on: December 01, 2008, 03:00:39 pm »

Admin,

If you could answer a quick one.

I am running ICE.TCP plus for windows.  Build 27.  Purchased 6/27/07 multi user.

I cannot map the keys to Print (I know on older versions it was /ap)

I cannot map the keys to clear fields (older command was /c/e)

Each time I map the keys to the older commands and press the command (using the function keys) any menu item disappears and I am left with the datafields. 
« Last Edit: December 01, 2008, 03:45:06 pm by Bob »
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: Default keymapping for non-pc style terminals
« Reply #2 on: December 01, 2008, 03:46:27 pm »

2 questions.

1) What key on the keyboard are you trying to map?

2) What was the exact sequence you put in for the keymapping in the old version? (I assume this was Ice.TCP 4.3.1)??
Logged

FBS_14FrontST

  • Jr. Member
  • **
  • Posts: 7
Re: Default keymapping for non-pc style terminals
« Reply #3 on: December 02, 2008, 07:25:17 am »

I am trying to map the function keys F5 and F10

Yes, that is the version.
Logged

FBS_14FrontST

  • Jr. Member
  • **
  • Posts: 7
Re: Default keymapping for non-pc style terminals
« Reply #4 on: December 02, 2008, 07:27:13 am »

the exact sequence for the mapped keys were:

F5  /c/e (cleared data fields, used as a quick delete key but the cursor would be at the beginning of the field)

and:

F10 /ap (printed screens)
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: Default keymapping for non-pc style terminals
« Reply #5 on: December 02, 2008, 09:55:09 am »

So it's just the "/" character, there are no escape or control codes in there??

I just tried this myself in PLUS and it worked fine.

I did settings->ice configuration->key mapping->new key map
pull down the key selection to F5
clicked in the value column
put in /c/e
hit enter
hit OK
restarted dejawint

To test:
logged in to a shell account
typed
hd
and hit enter
pressed F5 and enter
Control-D and enter
and I got back:
# hd
/c/e
00000000  2f 63 2f 65 0a                                    |/c/e.|
00000005

Which proves it's working properly.
Logged

cbatton

  • Newbie
  • *
  • Posts: 4
Re: Default keymapping for non-pc style terminals
« Reply #6 on: September 30, 2020, 10:48:54 am »

Admin, I would greatly appreciate your help with a character mapping issue I cannot solve to save my life!!

I am using ICETCP 4.4, 32 bit 4.4.30

Problem I'm trying to solve:  I'm scanning data matrix barcodes (healthcare products) and am unable to get the emulator to recognize the function code character embedded in the barcode.  The specific function code character is GS (Group Separator) HEX representation is 1D.  I'm using a Honeywell genesis 7580g that is configured to pass the function code characters that I can see when I scan the barcode in notepad++ so I know the scanner is picking up the data, however the emulator seems to be suppressing this function code character embedded in the barcode.  So even though the character map accounts for the 1D hex character for the GS function code it's not doing anything because it's being suppressed.   I've pasted the string below and you can see the function code represented as a box.

0100351672128425211000047505171721123110AB25460
Logged
CB

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: Default keymapping for non-pc style terminals
« Reply #7 on: October 01, 2020, 10:53:24 am »

Admin, I would greatly appreciate your help with a character mapping issue I cannot solve to save my life!!

I am using ICETCP 4.4, 32 bit 4.4.30

Problem I'm trying to solve:  I'm scanning data matrix barcodes (healthcare products) and am unable to get the emulator to recognize the function code character embedded in the barcode.  The specific function code character is GS (Group Separator) HEX representation is 1D.  I'm using a Honeywell genesis 7580g that is configured to pass the function code characters that I can see when I scan the barcode in notepad++ so I know the scanner is picking up the data, however the emulator seems to be suppressing this function code character embedded in the barcode.  So even though the character map accounts for the 1D hex character for the GS function code it's not doing anything because it's being suppressed.   I've pasted the string below and you can see the function code represented as a box.

0100351672128425211000047505171721123110AB25460
Did you do a mapping in the character map in IceConfig?
Logged

cbatton

  • Newbie
  • *
  • Posts: 4
Re: Default keymapping for non-pc style terminals
« Reply #8 on: October 01, 2020, 01:19:56 pm »

Thanks for responding.  Yes I tried that and no dice.  Default is 1D to 1D for both inbound/outbound.  I tried changing both the inbound/outbound and still no dice.  IT seems like the emulator is simply omitting for some reason.  This specific FNC1 character is (group seperator) represented as ]^,  ALT029, and hex value 1D.  Is it perhaps that this version of emulator simply does not have this capability? 

 
« Last Edit: October 02, 2020, 12:19:03 pm by cbatton »
Logged
CB

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: Default keymapping for non-pc style terminals
« Reply #9 on: October 05, 2020, 12:20:39 pm »

Thanks for responding.  Yes I tried that and no dice.  Default is 1D to 1D for both inbound/outbound.  I tried changing both the inbound/outbound and still no dice.  IT seems like the emulator is simply omitting for some reason.  This specific FNC1 character is (group seperator) represented as ]^,  ALT029, and hex value 1D.  Is it perhaps that this version of emulator simply does not have this capability? 
I don't know that there is a solution for this but let me see if I understand it all.
The scanner is outputting 1D hex as if it were being typed on the keyboard into the emulator?
And you want to to send 1D hex to the unix app?
Logged

cbatton

  • Newbie
  • *
  • Posts: 4
Re: Default keymapping for non-pc style terminals
« Reply #10 on: October 05, 2020, 12:31:15 pm »

Correct the scanner output is 1D hex, and yes as if were being typed into the keyboard into the emulator.  That woulld be typed as ALT + 029. 
Yes I want to send 1D hex to the unix app.  Note:  ALT + 029 when typed on the keyboard also does nothing.  Is not recognized.  Not sure if that is helpful, but bringing it up in case it is.
Logged
CB

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: Default keymapping for non-pc style terminals
« Reply #11 on: October 05, 2020, 04:01:43 pm »

Correct the scanner output is 1D hex, and yes as if were being typed into the keyboard into the emulator.  That woulld be typed as ALT + 029. 
Yes I want to send 1D hex to the unix app.  Note:  ALT + 029 when typed on the keyboard also does nothing.  Is not recognized.  Not sure if that is helpful, but bringing it up in case it is.
So it won't be a map in, that comes from the unix side.
I would expect either map out or maybe a keymap would work.
I'd think crtl-] should generate that character from the keyboard, if not it could be that your unix side is silently digesting it.
Logged

cbatton

  • Newbie
  • *
  • Posts: 4
Re: Default keymapping for non-pc style terminals
« Reply #12 on: October 13, 2020, 09:20:17 am »

Thanks for the help here.  I did get a successful result with ctrl -] creating the ^] character at the login screen.  I am however unable to get the ^] character to appear via a scan of the data matrix barcode at the login screen.  Is there a way to perhaps use key mapping or some other means to get the ^] character to appear at the login screen via scanning the 2D barcode?  I'm able to get this to appear via the putty emulator, but I really prefer using DejaWinT if at all possible.  Thanks,
Logged
CB

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: Default keymapping for non-pc style terminals
« Reply #13 on: October 19, 2020, 10:45:55 am »

Thanks for the help here.  I did get a successful result with ctrl -] creating the ^] character at the login screen.  I am however unable to get the ^] character to appear via a scan of the data matrix barcode at the login screen.  Is there a way to perhaps use key mapping or some other means to get the ^] character to appear at the login screen via scanning the 2D barcode?  I'm able to get this to appear via the putty emulator, but I really prefer using DejaWinT if at all possible.  Thanks,
Since you can generate it from the keyboard with control -] I'm having trouble seeing what the problem is using the scanner.
The usb scanners that we've used simply generate the characters as if they are being typed on the keyboard and that should work fine with DejawinT (otherwise you wouldn't be able to do it with the keyboard).

Does the whole thing work with Putty and your unix app?

Can you log into a shell account and try a copy of tests?
using one of the following based on whether or not you have them and if they work.
hd
od -t x1
od -h

Then scan in the code
hit enter
hit control-D

You'll get a hex dump of the codes the scanner is getting to the command line.

Post the results here, thanks.

Logged
 

Page created in 0.016 seconds with 20 queries.