Re: signal is not delivered to the handler

2006-03-22 Thread D.Pageau
Is it possible to notify me when fix will be commited to CVS i'll build cygwin1.dll from source. Thanks I'll look into fixing this in the next release of cygwin. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Do

Re: signal is not delivered to the handler

2006-03-21 Thread D.Pageau
> If you have a simple test case which illustrates the problem, we'll > certainly investigate. Otherwise, I doubt that anyone is going to debug > lzrz for you. I was wrong, signal is delivred to handler but read() does not exit with EINTR on SIGALRM like Linux and FreeBSD does. Did I miss someth

Re: Redirect stdin & stdout to serial port

2006-03-21 Thread D.Pageau
Yes it works ! Thanks to both of you for your help. On 3/20/2006 11:48 PM, Lev Bishop wrote: > I think the solution might be a combination of both of Igor's suggestions > cmnd <> /dev/ttyS0 >&0 > > Ie, open the port read/write on stdin and then dup it to stdout. > > Let me know if that works. >

Re: Redirect stdin & stdout to serial port

2006-03-20 Thread D.Pageau
On 2006-03-20 20:02, Igor Peshansky wrote: >> any work around ? > > Well, bash does offer an input/output redirection with the '<>' > operator... Did you try that? > > Also, duplicating the file descriptor might work (e.g., &0). <> no permission denied but output is still stdout &0 no permi

Redirect stdin & stdout to serial port

2006-03-20 Thread D.Pageau
I have to redirect both stdin & stdout to com1 lrz -X -vv foo.bin > /dev/ttyS0 < /dev/ttyS0 bash: /dev/ttyS0: Permission denied This is working on *nix but not with Cygwin. Why ? any work around ? CYGWIN_NT-5.0 foo 1.5.20(0.155/4/2) 2006-03-19 16:11 i686 Cygwin -- Unsubscribe info: http

Re: signal is not delivered to the handler

2006-03-19 Thread D.Pageau
I have an issue with lrzsz-0.12.20.tar.gz compiled on cygwin 1.5.19-4 where lrx never timeout when xmodem error occured (hangs forever). It look related to what Michael as reported. I have compiled test.c from Michael: Same result where second signal is not delivered. So I have checkout cygwin