Package: console-tools
Severity: minor
--- Begin Message ---
Greetings. Lately I've been messing around with the console a lot. At times 
I've tried and failed to make pressing Caps Lock result in a command being 
executed without anything being written to the screen. ReadLine wrote the 
screen and would only work on readline-apps. So I decided to dig deeper. There 
doesn't seem to be a way to make a keymap with:
1) a custom command, though Console_1, Console_2, etc. result in the same as 
'chvt'.
2) a way to have multiple actions on one keypress.
I decided to grab the source and try and modify it myself. I have no C 
experience, but decided to try anyway. I found the code that defines a bunch of 
arrays (associative arrays?) with the keysyms, but couldn't find the code where 
what they did was defined.
I'd like a simple explanation of how I could perhaps make a new keysym that 
executed a command through the shell, or something like that, without anything 
being written to the screen. Please reply at your convenience.
Happy Easter,
   ~ Da-breegster

--- End Message ---


Reply via email to