This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redirect stdin & stdout to serial port


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]