[BUG] running mc "over" running one

Pavel Roskin proski at gnu.org
Fri Oct 25 23:13:25 UTC 2002


Hello, Jose!

Let's return the discussion to the list.  I've seen some complaints from
users reading the archives that the important pieces of the discussion are
missing when the discussion becomes private.

> > 1) Run xterm 2) Run mc in it 3) Press Ctrl-O 4) Run mc from the
> > command line 5) Press F1.  The help shows up.  Nothing is frozen.
> 
> Exactly the same I do except that I when I get to 5) it is frozen, the
> xterm is black.

I think it may be a subshell problem, and there are good chances that it's
fixed in CVS.  At least is was fixed for Cygwin.  I have no idea why it
happens on your system.

Please try the latest snapshot from
http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/snapshots/

> 13963 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 13963
> rt_sigsuspend([]

There have been significant changes near this point in subshell.c

> lrwx------    1 japc     japc           64 Oct 24 17:03 6 -> /dev/pts/12
> lrwx------    1 japc     japc           64 Oct 24 17:03 7 -> /dev/ptmx

This means that the second mc has already created the pseudoterminal for
its subshell.  If it hangs, it happens quite late in the initialization
process, most likely in the subshell code.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list