delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/31/18:09:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <DF39E7B75E04D511BBD000508BCFEEA612EB781C@uswaumsx12medge.med.ge.com>
From: "Kaufman, Duane (MED, LUNAR)" <Duane DOT Kaufman AT med DOT ge DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: Problems with man
Date: Thu, 31 Jul 2003 17:09:10 -0500
MIME-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019