Dan Nicolaescu <[EMAIL PROTECTED]> wrote:
...
> I created a new account with /bin/tcsh as a shell, deleted all the dot
> files in that new account, logged in on a linux console and run the
> perl command above.  It prints IGNORE.
>
> tcsh is: tcsh-6.14-15
> perl is: perl-5.8.8-23.fc7

Finally!  So that version of tcsh may be at fault.

> So I have an older version of tcsh than you do.
>
> I looked at the src.rpm for my version of tcsh and it has a patch that
> tinkers with signal handling (not with SIGPIPE, but still...). I'll
> try to install your version of tcsh tonight, and maybe build my
> version without any patches.
>
>   > If you could reproduce the problem by starting tcsh manually,
>   > I'd suggest debugging (or just using strace) tcsh to see where
>   > it's misbehaving.
>
> What should I look for?

In source, look for calls to signal, sigaction, sigprocmask.
On recent Linux, they show up in strace output as calls to
rt_sigaction and rt_sigprocmask.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to