Glenn, do you have any example which shows how to use your pty utility
to send a ctrl-c to a process connected to the terminal managed by
pty? I like to make a test case for the problem below but I fail to
make one using pty.

Olga

---------- Forwarded message ----------
From: David Korn <[email protected]>
Date: Wed, Apr 11, 2012 at 9:36 PM
Subject: Re: Re: [ast-users] read -d hangs when reading from <() pipes
To: [email protected], [email protected],
[email protected]


cc:  [email protected]  [email protected]
Subject: Re: Re: [ast-users] read -d hangs when reading from <() pipes
--------

> But I think the real bug was that ksh -c 'read -d "3" r <(printf
> "x123hello\n") ; printf "|%s|\n" "$r"' can't be terminated by ^C in an
> xterm. Can you try that on your machine, please?
>
>

Yes, the real problem is that ^C doesn't interrupt in this case.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users


-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to