ICE

TCP/IP Products => TCP-PRO => Topic started by: brandtsmith on April 05, 2006, 02:04:43 pm

Title: keyboard map for Wyse 60 emulation
Post by: brandtsmith on April 05, 2006, 02:04:43 pm
I need to map the F13 - F16 keys from a Wyse-150 into the Wyse 60 emulation...what are the string(s) sent by those function keys?
Title: keyboard map for Wyse 60 emulation
Post by: Bob on April 06, 2006, 09:51:30 am
Since we don't do 150 emulation, I don't have a 150 manual to look this up in. The 160 manual with the "ascii" keyboard says this:

F13 CTRL-A L <CR>
F14 CTRL-A M <CR>
F15 CTRL-A N <CR>
F16 CTRL-A O <CR>

You can look here for info on how to program the keys:

http://www.icetcp.com/support/keymap_pro.html
Title: keyboard map for Wyse 60 emulation
Post by: brandtsmith on April 06, 2006, 12:33:45 pm
I put 01hO0Dh in the parameter filed for the string (for Shift-F4 to represent F16) and it doesn’t do the CR...i only see ^AO on the screen.
Title: keyboard map for Wyse 60 emulation
Post by: Bob on April 06, 2006, 01:15:18 pm
Are you using 4.4? (looks like those are the codes for 4.4).

Anyway, you won't really see the CR. If you are on SCO from the shell you can do:

stty -icrnl ; hd ; stty icrnl

Then hit the key
Then hit CTRL-D until you get back to a prompt.
You should see somthing like this:

0000  01 4f 0d
0003

01 is the control, 4f is O, 0d is the CR.
Title: Re:keyboard map for Wyse 60 emulation
Post by: brandtsmith on April 10, 2006, 01:19:39 pm
Using IceTCP 5.1.07 ...aix...I know that 01 is the control, 4f is O & 0d is CR...so-what do I put in the parameter field?
Title: keyboard map for Wyse 60 emulation
Post by: Bob on April 10, 2006, 01:43:06 pm
You were trying to put 4.4 codes into 5.1. That page I linked above shows you both methods.

Your string in 5.1 would be:

\01\4F\0D
or
\01O\0D
They are the same. The first enters all of the 3 bytes in hex whereas the second enters the printable character (4F=uppercase O) as it is.