Sending files over the serial port

Øyvind Harboe oyvind.harboe@zylin.no
Mon May 12 15:07:00 GMT 2003


> "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/



More information about the Cygwin mailing list