Re: keymap problem with 4.8.27
On 11/11/2021 11:14, Andrew Borodin wrote: Before bind a key to another action you should unbind it. f1 key is bound to for Help action. ctrl-f is bound to Right action in the command line, which is input line. Please create ~/.config/mc/mc.keymap with following content: ~/.config/mc/mc.keymap is a link to mz own keymap [filemanager] This alone was the game changer. Nothing else necessary. Now everything works perfectly. Instead of [filemanager] my keymap had [main]. Maybe from an older mc version. # unbind a key (was: Help = f1) Help = # bind f1 to the new action HotList = f1 # bind ctrl-f to the new action Find = ctrl-f [input] # unbind ctrl-f (was: Right = right; alt-right; ctrl-f) I have removed all additional keys, making Left = left, Right = right etc. Right = right; alt-right Unfortunately, after that ctrl-f will not work in all input lines. What would I try to achieve now with ctrl-f in input lines? Thanks a lot for making my keys work again. henning ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: keymap problem with 4.8.27
On Wed, 10 Nov 2021 19:24:03 +0100 Henning wrote: > Instead I Use f1 to invoke the hotlist becaus ctrl-\ not usable with german > keyboard layout. > Also, I invoked search with ctrl-f because alt-? is not usable here. > But it doesn't work any more. > > I replaced every keymap file (in /etc/mc, /root/.config/mc and /usr/share/mc) > with a link > to my keymap and also copied default.keymaps > out of the way, but to no avail. > > So, currently I am changing keymap.c to use my keys. Of course this shouldn't > be necessary. Yes, it isn't necessary. Before bind a key to another action you should unbind it. f1 key is bound to for Help action. ctrl-f is bound to Right action in the command line, which is input line. Please create ~/.config/mc/mc.keymap with following content: [filemanager] # unbind a key (was: Help = f1) Help = # bind f1 to the new action HotList = f1 # bind ctrl-f to the new action Find = ctrl-f [input] # unbind ctrl-f (was: Right = right; alt-right; ctrl-f) Right = right; alt-right Unfortunately, after that ctrl-f will not work in all input lines. -- Andrew ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
Re: keymap problem with 4.8.27
Am 10.11.21 um 19:24 schrieb Henning: Part of the keys are mine, part are not. Especially I'm unable to prevent f1 to call the internal Help. I had banned it to f20 because I never use it. Instead I Use f1 to invoke the hotlist becaus ctrl-\ not usable with german keyboard layout. Also, I invoked search with ctrl-f because alt-? is not usable here. But it doesn't work any more. I replaced every keymap file (in /etc/mc, /root/.config/mc and /usr/share/mc) with a link to my keymap and also copied default.keymaps out of the way, but to no avail. So, currently I am changing keymap.c to use my keys. Of course this shouldn't be necessary. henning P.S. I really appreciate your work on mc. I came to mc directly from DOS Norton Commander n the end of the 90s and have it used ever since in whatever Linux/Unix installation. It is, together with bash and sed one of the programmes I always ensure to have and I always compile myself. henning ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc Henning, it will not touch your other problems but i have german utf8-xfce4-terminal and german latin1-putty terminals running. In both cases ctrl-\ works in mc calling hotlist. First pressing ctrl, then add altgr and then the ß?-key right from 0 on a german keybord. Your P.S. could be written by me... -- cu jth ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc
keymap problem with 4.8.27
Part of the keys are mine, part are not. Especially I'm unable to prevent f1 to call the internal Help. I had banned it to f20 because I never use it. Instead I Use f1 to invoke the hotlist becaus ctrl-\ not usable with german keyboard layout. Also, I invoked search with ctrl-f because alt-? is not usable here. But it doesn't work any more. I replaced every keymap file (in /etc/mc, /root/.config/mc and /usr/share/mc) with a link to my keymap and also copied default.keymaps out of the way, but to no avail. So, currently I am changing keymap.c to use my keys. Of course this shouldn't be necessary. henning P.S. I really appreciate your work on mc. I came to mc directly from DOS Norton Commander n the end of the 90s and have it used ever since in whatever Linux/Unix installation. It is, together with bash and sed one of the programmes I always ensure to have and I always compile myself. henning ___ mc mailing list https://mail.gnome.org/mailman/listinfo/mc