On Mon, 2 Jan 2006, Egmont Koblinger wrote:
An strace -e trace=read,write of a similar case showed this:
[...]
read(4, \33[0mcopy.py\33[0m\33[0mi..., 100) = 100
write(1, \33[0mcopy.py\33[0m\33[0mi..., 100) = 100
read(4, m \33[0m_strptime.py\33[0m ..., 100) =
On Tue, Jan 24, 2006 at 12:29:23PM +0200, Pavel Tsekov wrote:
write(1, \33[0mcopy_reg.py\33[0m\33[0mi..., 100) = 53
This strace is not convincing - i don't see calls failing with -1.
No, no syscall is failing. You ask the kernel to write 100 bytes, and since
a signal interrupts it,
On Tue, 24 Jan 2006, Egmont Koblinger wrote:
On Tue, Jan 24, 2006 at 12:29:23PM +0200, Pavel Tsekov wrote:
write(1, \33[0mcopy_reg.py\33[0m\33[0mi..., 100) = 53
This strace is not convincing - i don't see calls failing with -1.
No, no syscall is failing. You ask the kernel to
On Tue, 24 Jan 2006, Egmont Koblinger wrote:
On Tue, Jan 24, 2006 at 02:24:40PM +0200, Pavel Tsekov wrote:
write(1, \33[0mcopy_reg.py\33[0m\33[0mi..., 100) = 53
This strace is not convincing - i don't see calls failing with -1.
No, no syscall is failing. You ask the
--- Ursprüngliche Nachricht ---
Von: Egmont Koblinger
Betreff: Re: subshell output swallowed (patch)
Datum: Tue, 24 Jan 2006 17:16:34 +0100
Hi,
Your first post implied that it was SIGCHLD
interrupting a write() call which is reponsible for the broken ouput of
`ls'.
I'm not 100
On Tue, Jan 24, 2006 at 06:05:41PM +0100, Pavel Tsekov wrote:
I can point you to at least one similiar case in which the supposed fix did
fix the symptom but not the cause. The patch in question fixed the subshell
behaviour only when bash was used. With tcsh the same fix caused MC to hang.
I
On Mon, 2 Jan 2006 19:20:34 +0100 Egmont Koblinger [EMAIL PROTECTED] wrote:
When an external command is executed in mc with subshell support, quite
often some characters of its output are swallowed.
I can confirm I saw such behaviour.
Regards,
Nerijus
Hi Nerijus,
On Thu, 2006-01-05 at 18:53 +0200, Nerijus Baliunas wrote:
On Mon, 2 Jan 2006 19:20:34 +0100 Egmont Koblinger [EMAIL PROTECTED] wrote:
I can confirm I saw such behaviour.
Can you also confirm the patch fixes it? ;) I'm unable to reproduce,
although I think I might have seen this
Hi,
When an external command is executed in mc with subshell support, quite
often some characters of its output are swallowed. Maybe it's most noticable
with the ls command in a directory where there are a lot of files and ls
outputs them in more columns. Just launch a terminal emulator, start