This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Serial Port?


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.
	Igor

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...
>
> Anthony
>
>
> --- Christopher Faylor <cgf-idd@cygwin.com> wrote:
> > On Sun, Jul 27, 2003 at 03:09:40PM -0700, Martin Gainty wrote:
> > >Check out this serial port code from CGF
> >
> >http://sources.redhat.com/ml/cygwin/1999-08/msg00563.html
> >
> > 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

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]