[Bug 1175930] mc: Midnight Commander start slow
https://bugzilla.suse.com/show_bug.cgi?id=1175930 https://bugzilla.suse.com/show_bug.cgi?id=1175930#c9 --- Comment #9 from Matej Cepl <mcepl@suse.com> --- Created attachment 879012 --> https://bugzilla.suse.com/attachment.cgi?id=879012&action=edit ~/.local/share/mc/history (In reply to Gus Kenion from comment #8)
Namely: - Huge command history file
Define “huge”, this is just 631 lines of the history file. Is it huge?
- remap C-j in .inputrc
My ~/.inputrc: $include /etc/inputrc # set editing-mode vi $if mode=vi set keymap vi-command "\e[A": history-search-backward # arrow up "\e[B": history-search-forward # arrow down "\ep": yank-last-arg # bind to Alt-p Control-l: clear-screen set keymap vi-insert "\e[A": history-search-backward # arrow up "\e[B": history-search-forward # arrow down "\ep": yank-last-arg # bind to Alt-p Control-l: clear-screen $endif set mark-symlinked-directories on set colored-stats on set completion-ignore-case on # kill word backwards "\eb":backward-kill-word # display all possible matches for an ambiguous pattern at first tab set show-all-if-ambiguous on set menu-complete-display-prefix on # # next tab(s) will cycle through matches # TAB: menu-complete # # shift tab cycles backward # "\e[Z": menu-complete-backward
Both conditions cause a noticeable delay starting MC with subshell, with pselect6 timing out in strace output. Both I would argue are config issues rather than bugs, at least from MC's point of view.
I have not been able to reproduce the delay by manipulating hostname. Would be interested to know if anyone else here has reliable means of doing so.
No idea, what else I could do. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com