Forum

Keymapping with con...
 
Notifications
Clear all

Keymapping with control codes

0 Posts
2 Users
0 Reactions
379 Views
(@hugow)
Active Member
Joined: 13 years ago
Posts: 9
Topic starter  

Hi there,

Im trying to use keymapping to have an ESC character output followed by "15~" ..

typically on another terminal this would be outputted as:

^[[15~

But I cant seem to use any of the normal methods I'd use for putting in control-codes into the keymapping box (typically Ctrl-V followed by your 'control-key' of choice).

Can anyone assist?

Many thanks!
HUgo


   
ReplyQuote
(@hugow)
Active Member
Joined: 13 years ago
Posts: 9
Topic starter  

OK.. something Im sure I tried earlier has now started magically working...

\x1B - is the ESC character (1B being the hex code for the ESC key, and '\x' seeming to be AbsoTelnet's way of calling the hex codes).

Unfortunately Im still not having fun as although I seem to be replicating the output that the F5 key generates in putty, Im not getting the same result 🙁

Will keeping plonking away at it...


   
ReplyQuote
(@hugow)
Active Member
Joined: 13 years ago
Posts: 9
Topic starter  

Well, I fixed my problem ..

In the end I duplicated the output from the F5 key as seen in an old program called "TUN Emulator" - which had the F5 produce;

^[[M
(^ [ [ M)

Putty was showing it has

^[[15~
(^ [ [ 15 ~)

and both of them worked on the same application on my Solaris host.. however, in AbsoTelnet only the ^[[M version worked... I suspect this is because putty is using vt400 emulation and both TUN and AbsoTelnet are using vt220.

Just for your general information, the exact keymap for my fix is:

x1B[M

Cya


   
ReplyQuote
(@bpence)
Member Admin
Joined: 1 year ago
Posts: 1375
 

In Absolute, the proper key sequence should be \x1B[M

It requires the entire \x1B as the escape character.

Brian


   
ReplyQuote
(@hugow)
Active Member
Joined: 13 years ago
Posts: 9
Topic starter  

Thats what I said LOL =)

More seriously, we both suffered from the forums removing our leading slash! ..

And after several edits, i still cant get it to work ... so,

x1B

:side:

Cya!


   
ReplyQuote
Share: