Strange keyboard behavior
Sorry if a question is too simple to ask it here, but I really have no idea what to do.
I have just installed a system, and on virtual terminal the "Delete" key inserts the '~' symbol, I thought te problem could be in the inputrc file, but when I copied it from another system, where everything worked, nothing changed. Where can I read what to do?
The distro isn't Arch actually, but I think CRUX and Arch are very similar, and there is no topic for CRUX.
No, the question is not absolutely trivial. Also, if it is near-to-trivial, but search gives nothing, it should be fixed.
Run showkey. Press supposed Delete. Post keycode. See in /etc/sysconfig/console name of keymap, find it in /usr/share/kbd/keymaps/i386/qwerty/ , zcat it and post. Maybe it will be sufficient just to back up the file, gunzip it, put "Delete" as last word in line saying just "keycode <number> = ..." instead of what it was, and gzip back. Or "Remove".
Thanks, I tried to do so.
I've edited the 'us.map' and loaded it manually. There are some changes - now Delete works as Backspace, but it is said in /etc/inputrc:
Hmmm... And looking through man pages for keymaps and readline I found, that by default "\C-d" works as Delete should. But it's not so comfortable to use this keys combination.
And during theese experiments I got a new question - how can I find what escape-combination ("\e[3~" for example) the key generates? Is something like "showkey" for it?
my us.map after editing:
keycode 110 = Insert
was useless somewhy...
I should apologize for theese questions, I've installed this distribution to study, and I want to find most answers on my own. I've searched a lot in the Internet, but it was nearly useless...
Well.. As a quick reply - if you complain about lack of information, there must be 'man keymaps'. Note - reading man page sometimes means reading its transitive closure. Also, maybe post dumpkeys output. And table of showkeys results for every key.
Also read man readline.
|All times are GMT -5. The time now is 03:03 PM.|