@adamy, i checked out the issue ticket. Does it have a 'Tab' functionality for auto complete implemented? Do I need to build it to test it out? Sorry, I am not a very savvy with building? I would really appreciate if you give me some directions and I can do a thorough testing.
Thank you for the update.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@adamy, I downloaded and installed the MC. When I try to auto complete, using ESC + TAB. It does not register ESC, it just changes the panel using TAB key. ESC + TAB does not bring autocomplete list (for example, cd c:\users\a<esc+tab>)</esc+tab>
My MC version shows 4.8.24.
Last edit: cricrazy 2022-03-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
$ mc --version
GNU Midnight Commander 4.8.24
Built with GLib 2.51.4
Built with S-Lang 3.0.0 libw32 with terminfo database
With builtin Editor
With mouse support on xterm
With internationalization support
With multiple codepages support
Virtual File Systems:
cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs
Data types:
char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 32;
Last edit: cricrazy 2022-03-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@adamy, sorry, I realized that I downloaded build-223 installer. I updated it to 224. Now I can see the same build and 4.8.27. But when I try to use ESC + Tab, it beeps, but does not do anything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@adamy, sorry for multiple messages. I think MC does not recognize backward slash () for the directories. When I tried to use forward slash (/), it works. For example,
cd c:\Us[ESC+Tab] - does not work
cd c:/Us[ESC+Tab] - works. -> c:\Users
Is there a way to have Tab as the auto completion, rather than ESC + Tab? I understand that Tab is used to switch panel selection. But I see that CTRL + Tab already does that. In fact, Ctrl+Tab is a more native windows behavior. (For example, browsers can switch tabs using Ctrl+Tab).
Also, is there a way to stop the Beep sound when it does not work. I have a headset on and it was pretty annoying.
Really appreciate your time. It has been very helpful.
Last edit: cricrazy 2022-03-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Internally mc understands unix paths better then win/dos;
shall visit completion logic there might be quick win.
Beep/alerts are fixed logic paths within the completion and other mc components, a visual-bell option may be possible yet would be for all alert conditions. FYI/ within the last release, both the beep freq and duration were reduced.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@adamy, I can live with Unix style of paths. But I would really appreciate if you can take a look into 'Tab' as a completion logic. We can add it as an experimental feature, in one of the options setting to enable it, if that is possible.
Regarding the beep, does it use some beep wav file or some kind of sound file? can we just replace it with muted or low volume beep sounds? Just wondering.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
build-225, obeys the "Esc key mode" setting, under "Configuration", as such only when enabled shall <esc-xxx> mappings be processed;, try 60000 for example.</esc-xxx>
mc.default.keymap is not imported, plus any changes shall overwritten on an install.
Advice you use either use the --keymap command line option or MC_KEYMAP env-var,
create your own/supplemental file and state using an absolute path with a * .keyname* extension.
Last edit: adamy 2022-03-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since Tab key is already assigned to switch panels. I cannot use TAB key to auto complete for directory when I do
cd c:\users\...
I looked around, there may be a way to edit keymap or config file, but I don't know how to do that, and most help out there is for Linux.
Can someone help, please? Thanks.
raised ticket on github.
Thanks @adamy.
build-224. https://github.com/adamyg/mcwin32/issues/16
@adamy, i checked out the issue ticket. Does it have a 'Tab' functionality for auto complete implemented? Do I need to build it to test it out? Sorry, I am not a very savvy with building? I would really appreciate if you give me some directions and I can do a thorough testing.
Thank you for the update.
installer available
either: https://sourceforge.net/projects/mcwin32/files/
or; https://github.com/adamyg/mcwin32/releases/tag/4.8.27.244
ESC, then TAB (<.5 sec after) .. equiv to <alt-tab></alt-tab>
@adamy, I downloaded and installed the MC. When I try to auto complete, using ESC + TAB. It does not register ESC, it just changes the panel using TAB key. ESC + TAB does not bring autocomplete list (for example, cd c:\users\a<esc+tab>)</esc+tab>
My MC version shows 4.8.24.
Last edit: cricrazy 2022-03-07
Configuration Options: [ x ] Complete: show all
Config version:
$ mc --version
GNU Midnight Commander 4.8.27
please confirm installation as build-224
Last edit: adamy 2022-03-08
Here is version info.
$ mc --version
GNU Midnight Commander 4.8.24
Built with GLib 2.51.4
Built with S-Lang 3.0.0 libw32 with terminfo database
With builtin Editor
With mouse support on xterm
With internationalization support
With multiple codepages support
Virtual File Systems:
cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs
Data types:
char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 32;
Last edit: cricrazy 2022-03-08
@adamy, sorry, I realized that I downloaded build-223 installer. I updated it to 224. Now I can see the same build and 4.8.27. But when I try to use ESC + Tab, it beeps, but does not do anything.
@adamy, sorry for multiple messages. I think MC does not recognize backward slash () for the directories. When I tried to use forward slash (/), it works. For example,
cd c:\Us[ESC+Tab] - does not work
cd c:/Us[ESC+Tab] - works. -> c:\Users
https://imgur.com/a/l6m5VMw
Is there a way to have Tab as the auto completion, rather than ESC + Tab? I understand that Tab is used to switch panel selection. But I see that CTRL + Tab already does that. In fact, Ctrl+Tab is a more native windows behavior. (For example, browsers can switch tabs using Ctrl+Tab).
Also, is there a way to stop the Beep sound when it does not work. I have a headset on and it was pretty annoying.
Really appreciate your time. It has been very helpful.
Last edit: cricrazy 2022-03-08
Internally mc understands unix paths better then win/dos;
shall visit completion logic there might be quick win.
Beep/alerts are fixed logic paths within the completion and other mc components, a visual-bell option may be possible yet would be for all alert conditions. FYI/ within the last release, both the beep freq and duration were reduced.
@adamy, I can live with Unix style of paths. But I would really appreciate if you can take a look into 'Tab' as a completion logic. We can add it as an experimental feature, in one of the options setting to enable it, if that is possible.
Regarding the beep, does it use some beep wav file or some kind of sound file? can we just replace it with muted or low volume beep sounds? Just wondering.
Thanks.
Keys can be remapping via the --keymap option, see the "mc.default.keymap" for details.
for example remaps Complete and ChangePanel events.
[filemanager]
ChangePanel = ctrl-i
[input]
Complete = tab
Beep is currently fixed.
build-225, visible bell options
@adamy, I installed build-225. I disabled the
Audible
fromDisplay Bits
>Console Alert Mode
. I have not heard much beeps since there.But with this build225, I lost the autocompletion feature with
ESC + Tab
.I also updated my
mc.default.keymap
as below. at appropriate places. But even Tab is not working as intended. It is still use for panel changing.build-225, obeys the "Esc key mode" setting, under "Configuration", as such only when enabled shall <esc-xxx> mappings be processed;, try 60000 for example.</esc-xxx>
mc.default.keymap is not imported, plus any changes shall overwritten on an install.
Advice you use either use the --keymap command line option or MC_KEYMAP env-var,
create your own/supplemental file and state using an absolute path with a * .keyname* extension.
Last edit: adamy 2022-03-15
@adamy, awesome. I was able to enable to all the settings. Here I am attaching screenshots for all the features for anyone else's use.
Esc + Tab
key.mc.keymap
filec:\users\username\midnight commander\
folder.Last edit: cricrazy 2022-03-15