delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/11/07:39:40

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
Subject: Re: error opening /dev/tty1 on cygwin
From: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
To: "Vishnu, Makkapati ""(IE10)" <Vishnu DOT Makkapati AT honeywell DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To:
<CDDB93E84A8DD411B01900D0B782784001C9C13D AT ie10-sahara DOT hiso DOT honeywell DOT com>
References:
<CDDB93E84A8DD411B01900D0B782784001C9C13D AT ie10-sahara DOT hiso DOT honeywell DOT com>
X-Mailer: Evolution/0.13 (Preview Release)
Date: 11 Sep 2001 21:40:00 +1000
Message-Id: <1000208403.7268.163.camel@lifelesswks>
Mime-Version: 1.0
X-OriginalArrivalTime: 11 Sep 2001 11:26:54.0010 (UTC) FILETIME=[A89759A0:01C13AB4]

On Tue, 2001-09-11 at 20:44, Vishnu, Makkapati (IE10) wrote:
> Hi,
> 
> I tried to open /dev/tty1 on cygwin and got an error. Here is my code:
> 
>          fd = open ( "/dev/tty1" , O_RDWR | O_NONBLOCK );
>          if (fd < 0)
>          {
>                  perror("io_rs232:: open");
>          }
> 
> I did not find the directory /dev on cygwin but ls -l /dev/tty1 works fine. 
> 
> > ls -l /dev/tty1
> crw-rw-rw-    1 Everyone Everyone   5,   1 Sep 11  2001 /dev/tty1
> 
> Can anyone provide me with a solution to this problem?

No.

Why not? I suggest you read
http://www.tuxedo.org/~esr/faqs/smart-questions.html.

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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