delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/29/17:45:39

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
Message-ID: <3EAEF26D.8000400@quick.cz>
Date: Tue, 29 Apr 2003 23:45:17 +0200
From: Petr Andrs <xtonda-konf AT quick DOT cz>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: cs, cz, en
MIME-Version: 1.0
To: sos <sos AT sokhapkin DOT dyndns DOT org>
Cc: cygwin AT cygwin DOT com
Subject: Re: Trouble running agetty
References: <59A835EDCDDBEB46BC75402F4604D55201514BBA AT elmer>
In-Reply-To: <59A835EDCDDBEB46BC75402F4604D55201514BBA@elmer>

Aaaah, now it works as well for me, thanks wery much. but I see the trouble.

|NAME
|       agetty - alternative System V/SunOS 4 getty
|
|SYSTEM V SYNOPSIS
|       agetty [-aih1278ELNO] [-n name] [-b banner] [-l login] [-m]
|       [-t timeout] [-e command] [-T term] [-c message] port speed,...
|
|SUNOS 4 SYNOPSIS
|       agetty [-ah1278ELNO] [-n name] [-b banner] [-l login] [-m]
|       [-t timeout] [-e command] [-c message] speed,... port

I bet I tried it without /dev/, but I used System V syntax where port 
name is BEFORE speed and agetty silently swallowed that parameters 
without any complaint.

pa

On 4/29/2003 11:07 PM, sos wrote :

> "man agetty":-) The terminal line shall have no /dev/ prefix.
> "/sbin/agetty -L -T vt100 -n ttyS0 9600 ttyS0" works fine to me.
> 
> Sergey Okhapkin
> Somerset, NJ
> 
> -----Original Message-----
> From: Petr Andrs [mailto:xtonda-konf AT quick DOT cz]
> Sent: Tuesday, April 29, 2003 5:01 PM
> To: sos
> Cc: cygwin AT cygwin DOT com
> Subject: Re: Trouble running agetty
> 
> 
> Yes, I did, as described below, when running terminal emulator on both
> sides characters typed on one side are displayed on the other.
> 
> pa
> 
> On 4/29/2003 10:54 PM, sos wrote :
> 
>>Did you try to check the communication with Hyperterminal on NT side?
>>
>>Sergey Okhapkin
>>Somerset, NJ
>>
>>-----Original Message-----
>>From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
>>Behalf Of Petr Andrs
>>Sent: Tuesday, April 29, 2003 4:45 PM
>>To: cygwin AT cygwin DOT com
>>Subject: Re: Trouble running agetty
>>
>>
>>Really nobody knows how to connect serial terminal into cygwin?
>>
>>pa
>>
>>On 4/27/2003 10:59 PM, Petr Andrs wrote :
>>
>>
>>
>>>Hi all,
>>>
>>>I want to use old PC with DOS as a terminal connected via serial null
>>>modem cable to Win2K machine with cygwin. But when I launch agetty in
>>>Cygwin and terminal emulator on DOS box I don't see anything in the
>>>terminal and agetty quits after short while being completely silent. I
>>
>>
>>>don't know what to do since there is no indication of problem, just
>>>nothing happens.
>>>
>>>I tried following agetty configurations.
>>>
>>>/sbin/agetty /dev/ttyS0 9600
>>>/sbin/agetty /dev/ttyS0 9600
>>>/sbin/agetty -L /dev/ttyS0 9600
>>>/sbin/agetty -L -T vt100 /dev/ttyS0 9600
>>>/sbin/agetty -L -T vt100 -8 -1 -N /dev/ttyS0 9600
>>>
>>>COM1 port in both WIN and DOS box is set to 8N1 9600, when running
>>>terminal emulators on both ends (Hyperterminal on Win and comit on
>>
>>DOS)
>>
>>
>>>letters go through, so wiring is OK.
>>>
>>>Configuration listing is attached.
>>>
>>>pa
> 
> 
> 
> 


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