Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20010412100323.016297d0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 12 Apr 2001 10:04:30 -0400 To: Ferenci Daniel , "'cygwin AT cygwin DOT com'" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: open("/dev/tty1",....) In-Reply-To: <29BDD4F529FCD311B631009027357C4E021B75D4@btss103a.swh.sk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:50 AM 4/12/2001, Ferenci Daniel wrote: > > 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. > > > > Thanks a lot. > > > > daniel DOT ferenci AT swh DOT sk > > Daniel, Please, only send 1 copy of a request to the list. Annoying folks with multiple requests for the same thing discourages their cooperation. Thanks, Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple