Re: missing 'which' documentation

2007-12-22 Thread phil curb

--- Lee D. Rothstein [EMAIL PROTECTED] wrote:

 Does anybody know or care that there is an option --
 '-a' -- for 'which' -- that is not documented on
 Cygwin. That is, there is no internal help, and
 there
 is no 'man' or 'info' page provided by Cygwin
 install.
 If anybody wants this, I will find or create the
 'man'
 page and make it cover '-a', and then do *what* with
 it? Pointers appreciated!
 
 To see the value of this option try (assuming you
 have MS
 executable directories in your path):
 
   which ping  vs which -a ping
   which find  vs which -a find
 
 and
 
   which dir   == which -a dir
 
 i.e., 'dir' is an internal of 'cmd.exe'
 
 Lee Rothstein

would be good, though I realised that for programs,
like squid (whose cygwin port does not even seem to
work, but there is a windows port).. One is expected
to go online for the documentation!  So I consider an
internet connection somewhat mandatory -
unfortunately.

I have typed man which, at google. I did notice that
cygwin had no man or info page for which.

on a related note- i also check
/usr/share/doc , since programs can put documentation
there, and furthermore, that documentation is
different, not conforming to the strict man page
format.

I guess there is no excuse for a simple thing like a
man page to not be installed - available offline. Even
a large man page is small enough, and this is a small
man page.









 
___
Yahoo! Answers - Got a question? Someone out there
knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 


  ___
Support the World Aids Awareness campaign this month with Yahoo! For Good 
http://uk.promotions.yahoo.com/forgood/

--
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/



Re: missing 'which' documentation

2007-12-14 Thread Jeff
As seen from lists.cygwin, on
Thu, 13 Dec 2007 15:51:46 -0800, Brian Dessent wrote:

glib != glibc.

Yeah, I realized my error (faulty memory) just an hour or two ago when
I ran setup again and read the short package descriptions: glib is part
of GNOME, and Cygwin Ports doesn't have a port of glibc. :(

And I don't see why this is specific to Cygwin Ports, because the main
Cygwin distro has glib and glib2 as well.

It's not specific to CP-- they host the standard Cygwin distro as well,
which is convenient when a CP package has dependencies.

But again these are *not* in any way related to glibc.

Yep, this error brought to you by an arguably POSIX-noncompliant
environment running on 52-year-old wetware, which is consequently
subject to bit rot from time to time...

-- 
Sorry, my life is still in beta, and nowhere near stable enough for a
release.

--
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/



Re: missing 'which' documentation

2007-12-13 Thread Corinna Vinschen
On Dec 12 22:55, Lee D. Rothstein wrote:
 Does anybody know or care that there is an option --
 '-a' -- for 'which' -- that is not documented on
 Cygwin. That is, there is no internal help, and there
 is no 'man' or 'info' page provided by Cygwin install.
 If anybody wants this, I will find or create the 'man'
 page and make it cover '-a', and then do *what* with
 it? Pointers appreciated!

Cygwin's which is quite an old one written by me.  The best way to move
forward would probably be to remove it from the Cygwin distro in favor
of the which used in several (all?) Linux distros:

  http://www.xs4all.nl/~carlo17/which/

Anybody volunteering to become which maintainer for Cygwin?
See http://cygwin.com/setup.html


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/



RE: missing 'which' documentation

2007-12-13 Thread Frederich, Eric P21322
Ha.  I just saw this subject and though man which, then I got hungry.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Lee D. Rothstein
 Sent: Wednesday, December 12, 2007 10:55 PM
 To: Cygwin
 Subject: missing 'which' documentation
 
 Does anybody know or care that there is an option --
 '-a' -- for 'which' -- that is not documented on
 Cygwin. That is, there is no internal help, and there
 is no 'man' or 'info' page provided by Cygwin install.
 If anybody wants this, I will find or create the 'man'
 page and make it cover '-a', and then do *what* with
 it? Pointers appreciated!
 
 To see the value of this option try (assuming you have MS
 executable directories in your path):
 
   which ping  vs which -a ping
   which find  vs which -a find
 
 and
 
   which dir   == which -a dir
 
 i.e., 'dir' is an internal of 'cmd.exe'
 
 Lee Rothstein
 

--
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/



Re: missing 'which' documentation

2007-12-13 Thread Jeff
As seen from lists.cygwin, on
Thu, 13 Dec 2007 08:34:48 +0100 (CET),
Marco Atzeri [EMAIL PROTECTED] wrote:


--- Lee D. Rothstein [EMAIL PROTECTED] ha scritto:

 Does anybody know or care that there is an option --
 '-a' -- for 'which' -- that is not documented on
 Cygwin. That is, there is no internal help, and
 there
 is no 'man' or 'info' page provided by Cygwin
 install.

my info which says

`--all'
`-a'
 Print all matching executables in `PATH', not
just the first.

but I am using the 2.16 version of cygwinports :-)

Heh heh... Care to write a little more about that? I didn't see a base
package (other than the cygport packager tool) or installation with
that version number, but was delighted to see a port of glib there.
That will be very useful for those apps that expect glib and won't
build under newlib.

--
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/



Re: missing 'which' documentation

2007-12-13 Thread Jeff
As seen from lists.cygwin, on
Thu, 13 Dec 2007 09:24:29 +0100,
Corinna Vinschen [EMAIL PROTECTED] wrote:

On Dec 12 22:55, Lee D. Rothstein wrote:
 Does anybody know or care that there is an option --
 '-a' -- for 'which' -- that is not documented on
 Cygwin. That is, there is no internal help, and there
 is no 'man' or 'info' page provided by Cygwin install.
 If anybody wants this, I will find or create the 'man'
 page and make it cover '-a', and then do *what* with
 it? Pointers appreciated!

Cygwin's which is quite an old one written by me.  The best way to move
forward would probably be to remove it from the Cygwin distro in favor
of the which used in several (all?) Linux distros:

I recall (perhaps even correctly :) ) that SunOS had a where command
with the functionality of your 'which -a'. The idea was that where
would show you all scripts and executables of a given name in your
command path (ie. where they are), while which would tell you
*which* one of them would execute at the shell prompt. So unusual, to
see a pair of utilities whose names were so nearly self-explanatory. :)
Is the Linux which like yours (ie. 'which -a' == SunOS 'where')?

-- 
Sorry, my life is still in beta, and nowhere near stable enough for a
release.

--
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/



Re: missing 'which' documentation

2007-12-13 Thread Corinna Vinschen
On Dec 13 07:31, Jeff wrote:
 Corinna Vinschen [EMAIL PROTECTED] wrote:
 Cygwin's which is quite an old one written by me.  The best way to move
 forward would probably be to remove it from the Cygwin distro in favor
 of the which used in several (all?) Linux distros:
 
 I recall (perhaps even correctly :) ) that SunOS had a where command
 with the functionality of your 'which -a'. [...]
 Is the Linux which like yours (ie. 'which -a' == SunOS 'where')?

Yes.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/



Re: missing 'which' documentation

2007-12-13 Thread Jeff
Marco Atzeri wrote:
 but I am using the 2.16 version of cygwinports :-)

Jeff wrote:
Heh heh... Care to write a little more about that? I didn't see a base
package (other than the cygport packager tool) or installation with
that version number, but was delighted to see a port of glib there.
That will be very useful for those apps that expect glib and won't
build under newlib.

Marco Atzeri wrote:
http://cygwinports.dotsrc.org/

Uhm... thanks! :) Guess I forgot to mention it, but that is where I saw
glib, but didn't see a base package (other than the cygport tool)-- I
do make some effort to research things first before posting questions,
and this site turned up near the top of a Google search. I also saw
their pages on http://sourceforge.net/projects/cygwin-ports/ but
searching the two (very low volume) mailing lists for 2.16 turned up
nothing useful. Finally, I added ftp://sunsite.dk/projects/cygwinports
as a user URL to setup.exe as suggested on the cygwinports home page
(nice of them to maintain a setup.ini file so that their users don't
have to figure out package dependencies) and looked at the packages
listed for install, but didn't see anything in the base category that
is any different from what standard Cygwin mirrors show, even with
Exp(erimental versions) selected. So I am still curious to know about
this cygwinports package that stands at ver. 2.16, and seems to have
documentation not included in the standard Cygwin packages.

Jeff

-- 
Sorry, my life is still in beta, and nowhere near stable enough for a
release.

--
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/



Re: missing 'which' documentation

2007-12-13 Thread Brian Dessent
Jeff wrote:

 that version number, but was delighted to see a port of glib there.
 That will be very useful for those apps that expect glib and won't
 build under newlib.

glib != glibc.  And I don't see why this is specific to Cygwin Ports,
because the main Cygwin distro has glib and glib2 as well.  But again
these are *not* in any way related to glibc.

Brian

--
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/



missing 'which' documentation

2007-12-12 Thread Lee D. Rothstein

Does anybody know or care that there is an option --
'-a' -- for 'which' -- that is not documented on
Cygwin. That is, there is no internal help, and there
is no 'man' or 'info' page provided by Cygwin install.
If anybody wants this, I will find or create the 'man'
page and make it cover '-a', and then do *what* with
it? Pointers appreciated!

To see the value of this option try (assuming you have MS
executable directories in your path):

 which ping  vs which -a ping
 which find  vs which -a find

and

 which dir   == which -a dir

i.e., 'dir' is an internal of 'cmd.exe'

Lee Rothstein



--
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/



Re: missing 'which' documentation

2007-12-12 Thread Marco Atzeri

--- Lee D. Rothstein [EMAIL PROTECTED] ha scritto:

 Does anybody know or care that there is an option --
 '-a' -- for 'which' -- that is not documented on
 Cygwin. That is, there is no internal help, and
 there
 is no 'man' or 'info' page provided by Cygwin
 install.

my info which says

`--all'
`-a'
 Print all matching executables in `PATH', not
just the first.

but I am using the 2.16 version of cygwinports :-)


Regards
Marco





  ___ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

--
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/