Keyboard Mapping and Case Management on CentOS 5
Hi Everyone,
I have a question that I could use some help with. I am running character based software on a CentOS Server using a combination of PuTTY and Anzio WIN as my Terminal Emulators.
I am using SSH as my method of communication.
Everything is working great, however there a few features that Anzio WIN contains that I would like to be able to replicate with PuTTY.
The two features are:
Mapping Function Keys to run Macros
CASE Management (converts ALL keyboard data to UPPER CASE)
I was wondering if there is a way I can do this using a BASH script that gets ran from the users .bash_profile.
Is there a way I can tell the system to take ALL incoming data from the Terminal's keyboard and convert it to upper case, by default, an on a per user basis... If they have the entry in their .bash_profile, then it is applied, if NOT, then it is NOT applied.
And for the Keyboard Function Key mappings, here is an example of what I would like to do.
Let's say when the "F1" is selected, it sends the following string of numbers:
75 20 1
and "F2" would run
18 1 1 3 1 20 75 20 1
The numbers are basically just options on a Character Based menu to be selected. So instead of having to enter all the numbers, each time, I can map an Function Key to send the sequence, therefor reducing the amount of time it takes to run a function...
Any help is very much appreciated and/or links to articles that may help me in my venture.
Thanks In Advance.
|