To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Page Up and Down Keys

Dan - Tue 02/02/2016 19:36:54 CET +0100

I need the ability to remap the Page Up and Down keys. The Page Up needs to be [[S and the Page Down needs to be [_1[\

I can't seem to find the correct format in the INI file to define these. The other keys I have been able to piece together from documentation but I think this is one of the final pieces to get this working for the SCO 5 Unix system we are running.

Thank you in advance,

Dan

Cyd - Tue 02/02/2016 21:21:46 CET +0100

Add theses lines to your %APPDATA%/KiTTY/kitty.ini file:
[Shortcuts]
list={UP} {DOWN}
{UP}=[[S\
{DOWN}=[_1[\\\

Dan - Tue 02/02/2016 21:30:32 CET +0100

That works for the up and down arrow keys, but I need to make this match to the current setup for the users...so I need to do this to the PAGE UP and PAGE DOWN keys.

Thank you again for the quick reply...

Dan

Cyd - Wed 03/02/2016 09:32:51 CET +0100

Oups! Sorry for misreading!
The code for PAGE UP is {PRIOR}, and for PAGE DOWN it's {NEXT}.

Dan - Wed 03/02/2016 14:38:21 CET +0100

That worked perfectly... I would have never guessed that for the key names. Do you have a full list of all keys that COULD be mapped as well as a list of all of the already setup functions and their mappings?

Looking to create a master list so it can be used out there, as well as if anyone else needs to reference. I know that this might not be fully supported, but it is one of the key features that makes your version really stand out in my book. Brings a lot to the table to start replacing out these old pieces of Procomm software that isn't even supported or really sold any more.

Thank you again,

Dan

Dan - Wed 03/02/2016 18:15:47 CET +0100

OK, new issue, on the same problem...

I need to send two commands with the same key...so to speak. With PAGE DOWN, it should send:
{ESC}_1{ESC}\

I tried to use \x1b_1x1b\\ but that doesn't send the second escape code properly. I have tried a couple of other formats, but it doesn't seem to work.

Dan

Cyd - Wed 03/02/2016 20:53:15 CET +0100

Escape key is a very special key. I had to create a special function to emulate it. You must use \k1b.

Dan - Thu 04/02/2016 14:19:37 CET +0100

Thank you again, I ended up getting the right combination to get the output:

\x1b_1\x1b\\

With the \k1b it would through the escape at the end of the entire sequence, not in the middle, but that could be handy as well for some situations.

Just wanted to post the feedback and assistance for anyone else on the forum.

Thank you again for your help.

Dan





Answer


The forum is actually closed