delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/11/12:50:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <29BDD4F529FCD311B631009027357C4E021B75CB@btss103a.swh.sk>
From: Ferenci Daniel <Daniel DOT Ferenci AT swh DOT sk>
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
Subject: open(/dev/tty1,...)
Date: Wed, 11 Apr 2001 18:48:09 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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 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 DOT ferenci AT swh DOT sk





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

- Raw text -


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