delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/12/10:56:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: =?utf-8?Q?=C3=98yvind_Harboe?= <oyvind DOT harboe AT zylin DOT no>
To: <cygwin AT cygwin DOT com>
Subject: RE: Sending files over the serial port
Date: Mon, 12 May 2003 16:55:02 +0200
Message-ID: <000b01c31896$77a4b5b0$0200000a@famine>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <Pine.GSO.4.44.0305120952430.393-100000@slinky.cs.nyu.edu>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h4CEuWB22817

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019