This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
open("/dev/tty1",....)
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: open("/dev/tty1",....)
- From: Ferenci Daniel <Daniel dot Ferenci at swh dot sk>
- Date: Thu, 12 Apr 2001 09:50:44 +0200
> 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.ferenci@swh.sk
>
>
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple