Re: Running mc from mc
Hi, Adam asked me in private if it's possible to disable running one mc from another. I have committed a patch that implements this check. Great! I have it in AMC since the beginning... always wondered why is it good to allow mc from mc. Btw, what about my AMC #1 patch, it contained some code to (optinally) prevent pressing ctrl+o while the shell is running a command. It's the another way to mess up things with ctrl+o... A'rpi / Astral ESP-team -- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu However, many people beg for its inclusion in Debian. Why? - Gabucino Because having new software in Debian is good. - Josselin Mouette Because having good software in Debian is new. - Gabucino ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
Running mc from mc
Hello! Adam asked me in private if it's possible to disable running one mc from another. I have committed a patch that implements this check. The patch prevents running two copies of mc with subshells in the same login session. It is still possible to run mcview or mcedit from mc because they don't need the subshell. It's also possible to run xterm from mc and run mc in it, because it would be in a different session. It's still possible to run su from mc and run mc in it. It's not a bug, although one could make a big mess by using Ctrl-O. The session id is set in the environment variable MC_SID. It can be used as an indicator that we are running from mc, directly or indirectly. -- Regards, Pavel Roskin ___ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel