Re: subshell output swallowed (patch)
- From: "Pavel S. Shirshov" <me pavelsh pp ru>
- To: Egmont Koblinger <egmont uhulinux hu>
- Cc: mc-devel gnome org
- Subject: Re: subshell output swallowed (patch)
- Date: Mon, 23 Jan 2006 23:55:08 +0500
Hello Egmont,
Monday, January 2, 2006, 11:20:34 PM, you wrote:
EK> When an external command is executed in mc with subshell support, quite
EK> often some characters of its output are swallowed. Maybe it's most noticable
EK> with the "ls" command in a directory where there are a lot of files and "ls"
EK> outputs them in more columns. Just launch a terminal emulator, start mc,
EK> press ^O so that the panels disappear, and run "ls" a several times. Sure
EK> you'll see some occasions when the columns are not lined up correctly.
EK> So, when "ls" exits, mc receives a sigchild, which interrupts the write call
EK> that transfers the output of ls from the subshell to its real output, but
EK> the interrupted call is not finished, in this particular case 47 bytes are
EK> skipped.
EK> See the attached patch which fixes this problem.
Applied. Thx.
--
Best regards,
Pavel mailto:me pavelsh pp ru
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]