[PATCH] Already running a command (& subshell prompt?)

Leonard den Ottolander leonard at den.ottolander.nl
Wed Nov 17 00:59:06 UTC 2004


Hi,

Removing the odd code executed on Ctrl-o in invoke_subshell() the
"Already running a command" issue on C-o, tab, tab, n, C-o, <command>
seems to be fixed. But maybe there are other scenarios in which it can
be reproduced.

I totally got rid of the subshell state ACTIVE as it is unused except in
the removed code snippet. I didn't quite get the three state logic
anyway. Maybe the author wanted to indicate a difference between "panel
view" and "panels hidden view"?

Does this perhaps also fix the subshell prompt issue? See the comment /*
Hack to make prompt reappear */ in the removed code.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

-------------- next part --------------
A non-text attachment was scrubbed...
Name: subshell.diff
Type: text/x-patch
Size: 1187 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20041117/0118d112/attachment.bin>


More information about the mc-devel mailing list