Redirect stdin & stdout to serial port

D.Pageau dpageau@infodev.ca
Tue Mar 21 02:39:00 GMT 2006


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., </dev/ttyS0 >&0).

<>

no permission denied but output is still stdout

</dev/ttyS0 >&0

no permission denied but output is not redirected to /dev/ttyS0, not
stdout either.

nice try.

Thanks Igor.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list