Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <29BDD4F529FCD311B631009027357C4E021B75D0@btss103a.swh.sk>
From: Ferenci Daniel <Daniel.Ferenci@swh.sk>
To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
Subject: open("/dev/tty1",....)
Date: Wed, 11 Apr 2001 21:53:02 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"

Hallo cygwin people.

Please,
I want to port ppptcp (point to point tunelling) under cygwin to windoze.
My first problem is:
How is it possible to handle with /dev/tty? (for example /dev/tty1).
I tried to make ls /dev/tty1 response was ok.
But when I tried cat /dev/tty1 response was no such file or directory.
But when i tried to do fd=open("/dev/tty1",someflag) response was -1.
I tried also open("/dev/tty",some) response was ok (some file desc.)
If somebody knows how to do it please mail me.

Thanks a lot.

daniel.ferenci@swh.sk





--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

