This is the mail archive of the
mailing list for the Cygwin project.
Re: Serial Port?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: thors_hammer123 <thors_hammer123 at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Sun, 27 Jul 2003 21:17:27 -0400 (EDT)
- Subject: Re: Serial Port?
- Reply-to: cygwin at cygwin dot com
Of course he's sure -- he wrote that code! :-D
Seriously, though, /dev is a *virtual* directory, like /proc or /cygdrive.
If it makes you feel better (and for tab-completion purposes), you could
do "cd / && cmd /c mkdir dev", and then run the "create_devices" scripts
in <http://cygwin.com/ml/cygwin/2003-05/msg00754.html>. That should let
you 'ls /dev' to your heart's content.
On Sun, 27 Jul 2003, thors_hammer123 wrote:
> Are you sure about this? As I said, there is *no* /dev
> directory, so I am confused as to how I can just
> access /dev/ttyS0 like in Linux...
> --- Christopher Faylor <email@example.com> wrote:
> > On Sun, Jul 27, 2003 at 03:09:40PM -0700, Martin Gainty wrote:
> > >Check out this serial port code from CGF
> > Um, no. 1999 was four years ago.
> > The serial port for cygwin these days is /dev/ttyS0.
> > You use serial
> > ports like you do on linux.
> > cgf
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html