This is the mail archive of the cygwin-developers@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: Symlinks under /proc


On Jan 31 12:43, Igor Pechtchanski wrote:
> On Mon, 31 Jan 2005, Corinna Vinschen wrote:
> > On Jan 31 12:20, Igor Pechtchanski wrote:
> > > That's cool.  Don't want to seem pushy, but how hard would it be to go
> > > from the above to /dev/std{in,out,err}?  Come to think of it, it may even
> > > be as easy as "ln -s /proc/self/fd/0 /dev/stdin", etc...  That would
> > > really help some apps, especially those that don't understand the "-"
> > > filename argument.
> >
> > Why don't you just try it?  Experiments are the bread and butter of
> > progress, aren't they?
> 
> D'oh!  After all this thought process, I looked on Linux, and that's
> *exactly* how /dev/std* are implemented there.

Talking about experiments, did you also try it on Cygwin if it works or
did you just look on Linux how it's implemented there?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.


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