This is the mail archive of the cygwin@cygwin.com 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: Sending files over the serial port


> "com1" is a Windows name, and doesn't get affected by 
> Cygwin's stty et al (AFAIK).  Try using /dev/ttyS0 or even 
> /dev/com1 instead.

Same result.

Would you know how to configure /dev/ttyS0?

> Also, why such weird syntax, why not simply

The weird syntax is an attempt at redirecting stdout and stdin to
the same place, i.e. the serial port.

lsz --zmodem foobar.zip </dev/com1 >/dev/com1

gives access denied

 
> $ lsz --zmodem foobar.zip </dev/com1
> 
> ?

AFAICT, lsz uses stdout/stdin, so I would then be listening to the
serial port and sending data to the console, e.g:


oyvind@famine ~/xyz
$ install/bin/lsz <com1 lrzsz-0.12.20.tar.gz
SââB00000000000000





Ãyvind


--
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]