Re: keymap problem with 4.8.27

2021-11-11 Thread Henning

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

2021-11-11 Thread Andrew Borodin
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: Quit anyway. Clear line on paste.

2021-11-11 Thread Henning

On 10/11/2021 09:46, Henning wrote:

Good morning,

since 4.8.27 on exit I'm getting the popup "The shell is still active. 
Quit anyway?"


A bit more investigation shows:

Hitting Enter on an executable, after the usual "Do you really ...", 
yields "The shell is already running a command". The same happens

with other files, for example *.html, which would invoke firefox.

Furthermore, hitting ctrl-o makes mc disappear as usual, but the 
subshell prompt is only displayed after a command has been executed or, 
simply, the Enter key has been hit.


henning

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc