Hello!
> Detailed description:
> 1. From mc start some command that takes few seconds.
> 2. Hit ENTER on it before it completes.
> 3. Command exist fine, mc panels reappear ok.
> 4. Run any other command, say "ls".
> 5. panels reappear instanteneously *before* command completes.
> 6. "ls" output follows *below* mc panels. In the line where comands
> are typed. Lines follow one another very fast, panels stay unchanged.
> *****This is bug. Why doesn't it keep panels hidden while running next
> command? *****
Fixed in CVS. Thank you for your report!
===================
--- subshell.c
+++ subshell.c
@@ -1042,6 +1042,10 @@ static void synchronize (void)
/* Wait until the subshell has stopped */
while (subshell_alive && !subshell_stopped)
sigsuspend (&old_mask);
+
+ /* Discard all remaining data from stdin to the subshell */
+ tcflush (subshell_pty, TCOFLUSH);
+
subshell_stopped = FALSE;
kill (subshell_pid, SIGCONT);
===================
--
Regards,
Pavel Roskin
_______________________________________________
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel