delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/08/12:15:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=oWugW9ekaVhPXKKO13VPnCOMVA7z/VnQ6mLXH1hiPgO
DuVrMltjne4vhUWKCRCW7gg+4+fyIX15bYkDxIbHevciumMAKs41kh8PwxmnrTec
rvLJV88w/NHA0j/hKVAd8hinypftgNKrGKBff7zbte3jOf9oSAKRrmPIPuYZKaTA
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=VyV7GOswFkNBaj98jNOH4BI0dH8=; b=ivNcpfeZFJtk2NXgB
S3UCKW8NpYZ/hREZ24kSPel4bKDtZDCcDiJzAW9DmSDD5ZJFastA9E/wD+WIeMCb
Kv1rcJ4LYyJs/HDKo6OYMkwUeu73AYTwMYYTu7Mx+n1WtPXHIRhHwcXYloBvm56J
osk5FSh5Nb1jsOaVo7ggRJdlTE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-we0-f176.google.com
X-Received: by 10.181.8.233 with SMTP id dn9mr1608752wid.0.1404836130945; Tue, 08 Jul 2014 09:15:30 -0700 (PDT)
Message-ID: <53BC191A.5020606@gmail.com>
Date: Tue, 08 Jul 2014 18:15:22 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Shouldn't 'man' depend on 'col'? Shouldn't 'col' be easier to find?
References: <CAJqfdW6bCQ4PLnSO2o6a1gd-veLogad9he9TcddZzk9sw8Jr-w AT mail DOT gmail DOT com>
In-Reply-To: <CAJqfdW6bCQ4PLnSO2o6a1gd-veLogad9he9TcddZzk9sw8Jr-w@mail.gmail.com>
X-IsSubscribed: yes

On 08/07/2014 17:47, Jack Duthen wrote:
> Problem #1:
> ----------
> After I loaded a few cygwin packages, I got this:
>
> $ man bash | wc
> man: can't execute col: No such file or directory
>
> The "man" command works perfectly when the stdout is NOT redirected,
> but, when sent to a pipe or a file, the command "man" fails with the
> above message.
>
> Question #1:
> Shouldn't the 'man' function/package depend on the 'col' function/package?
>
> Problem #2
> ----------
> To solve my 'man' problem,I tried to find the 'col' command.
>
> I launched the standard interface (setup.exe) and entered 'col' in the
> 'Search' text field.
>
> It gave me a list of packages, mainly related to 'colamd', 'colorgc',
> 'protocol' stuff, 'colored' stuff, 'texlive-collection' stuff,
> 'colordiff'...
>
> but no clear link to the missing 'col.exe'.

wrong way. Setup search only package names, not their content

Best with
https://cygwin.com/packages/
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=col.exe&arch=x86

also with
$ cygcheck -p col.exe
Found 4 matches for col.exe
netpbm-10.61.02-1 - Toolkit for manipulation of graphic images
netpbm-debuginfo-10.61.02-1 - Debug information for Toolkit for 
manipulation of graphic images
util-linux-2.21.2-1 - Random collection of Linux utilities
util-linux-debuginfo-2.21.2-1 - Debug information for Random collection 
of Linux utilities

of course "col" is too short to be meaningful, "col.exe"
is a better catch.

> Question #3
> To get a 'man' that works when piped, is there a better way than
> loading this "random" collection of utilities?
>
> Am I the only one to get that problem???

util-linux is a popular package, so the issue was not yet noticed.

man was recently changed, so this dependency was likely missed,
specially as it seems hidden inside the man binary.

> )jack(
Marco



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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