Ticket #3791 (closed enhancement: invalid)
Slow mc and mcedit launch when using X11 forwading
Reported by: | martins | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
Hello,
There was mentions option -X in ticket #2940.
However it is still slow to lauch mcedit by pressing F4 key inside mc, even with alias mcedit='mcedit -X'.
It would be better to control X11 support with an environment variable then with commandline option. This way it would apply on all subprocesses and that variable could be set in login profile script.
regards,
Martin
Change History
comment:1 in reply to: ↑ description Changed 8 years ago by andrew_b
comment:2 follow-up: ↓ 3 Changed 8 years ago by martins
Thanks for quick reply. Checking option "Use internal editor" resolved the problem.
MC was configured to use external editor, probably by default from Debian installation.
I am still confused why mcedit runs immediately from commandline and not from mc, maybe an alias only applies inside bash, not inside spawn system call.
comment:3 in reply to: ↑ 2 Changed 8 years ago by andrew_b
Replying to martins:
MC was configured to use external editor, probably by default from Debian installation.
Yep.
I am still confused why mcedit runs immediately from commandline and not from mc, maybe an alias only applies inside bash, not inside spawn system call.
alias is the builtin command of bash.
Replying to martins:
Any extra variable is pointless.
As described in man page
This option doesn't influence to any child processes. mc uses it internally to handle key events only. Child processes don't know whether this option on or off.
Do you configure mc to use external editor and your external editor is mcedit?