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: Problems with man


Hi,

> On Thu, Jul 31, 2003 at 04:33:18PM -0500, Kaufman, Duane 
> (MED, LUNAR) wrote:
> >$ man man
> >/usr/bin/tbl: not found
> >/bin/cat: not found
> >/usr/bin/nroff: not found
> >/usr/bin/less: not found
> >Error executing formatting or display command.
> >System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> >'/usr/man/man1/man.1'
> >; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl | 
> /usr/bin/nroff -c -mandoc
> >| /usr/
> >bin/less -isrR) exited with status 32512.
> >No manual entry for man
> 
> Ok, something else to try.  From sh, try:
> 
> $ d:/cygwin/bin/cat /etc/passwd
> $ /cygdrive/d/cygwin/bin/cat /etc/passwd
> 
> Does either command work?
>
Nope:
duane@USD22C821 ~
$ sh
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ d:/cygwin/bin/cat /etc/passwd
d:/cygwin/bin/cat: not found
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ /cygdrive/d/cygwin/bin/cat /etc/passwd
/cygdrive/d/cygwin/bin/cat: not found
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]

But wait! When I try:
$ cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
.
.
.
duane:unused_by_nt/2000/xp:11054:10513:duane,U-LUNARCORP\duane,S-1-5-21-
25853599
-59532045-941767090-1054:/cygdrive/c/DOCUME~1/duane:/bin/bash
\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$

What is going on? It seems as if ash _doesn't_ like the _full_ path (or
one beginning with a /), but knows where to find cat and friends (ls,
pwd, ...)

Thanks,
Duane

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

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