public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Petr Andrs <xtonda-konf@quick.cz>
To: sos <sos@sokhapkin.dyndns.org>
Cc: cygwin@cygwin.com
Subject: Re: Trouble running agetty
Date: Wed, 30 Apr 2003 04:29:00 -0000	[thread overview]
Message-ID: <3EAEF26D.8000400@quick.cz> (raw)
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@quick.cz]
> Sent: Tuesday, April 29, 2003 5:01 PM
> To: sos
> Cc: cygwin@cygwin.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@cygwin.com [mailto:cygwin-owner@cygwin.com] On
>>Behalf Of Petr Andrs
>>Sent: Tuesday, April 29, 2003 4:45 PM
>>To: cygwin@cygwin.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/

      reply	other threads:[~2003-04-29 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-28  8:32 Petr Andrs
2003-04-30  2:58 ` Petr Andrs
2003-04-30  3:15   ` Elfyn McBratney
2003-04-30  3:24     ` Petr Andrs
2003-04-30  3:18   ` sos
2003-04-30  3:25     ` Petr Andrs
2003-04-30  3:46       ` sos
2003-04-30  4:29         ` Petr Andrs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EAEF26D.8000400@quick.cz \
    --to=xtonda-konf@quick.cz \
    --cc=cygwin@cygwin.com \
    --cc=sos@sokhapkin.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).