delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/08/19:01:52

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:date:from:message-id:to:subject:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=PDWlsoJZnKlc46/xV1FnHNKSAeS6Akh0EkeL2LcPqgY
KB9R2RDOWEErAx0VRBtJ/op7hqJkJMNRYbWtVrcoqaZDN7CoJBouZJ0DuWJY4Ou/
VOOGghgFUrzQYmKdb0whb7IOGHzKIioyqiVl1HgWQKrzUHeom4wRx+IIP3ifpuQQ
=
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:date:from:message-id:to:subject:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=hPEQnB0+guy5YSd+7fBuijYsT2w=; b=OKzTMocrI9JJiyUvX
9wVXV3v4q3zCbad6jPLR6WitSZuziXv36hOPsekLgbEfWdV00BZSybrXcIHOjTfJ
4aTXieRuaiQ18BKDJhf8O3+vsTd/pxXVgU/iAc7H0oCS40mSLmHNjN8KCGjjWYn0
h4Ccd7X+XSGrphesHFtcLUXVUs=
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=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=KIIpB3D5ylVdsJrzMw28NmKUk1zc/pzsubDB5vUu8gs=; b=jNla5exbO27tuvHr2E41W09lmtkJV5J+WnHmIprG4eY+KSlZATKWk2qYY/OOe3/1I2 J5d6AXmERpLf5DrOtpiiSCPg/Y7mf6rNDTZfhp5728YXkrv7g9NfIElOckM+j3/noi3U McgaBnfxxEmNtHbt2GT0WyyKzfeoPO8oA4bD7ObhvD7GVaHLCOBhDVDji2reDfBQuVmi 9saBf4H91Z30Nlq313eHUnGaQJKpajxYmeSuwH3Bv8TdE1M0gL1koFSm+zCcRAwUoBvA Ofo2EjM5FdY8fb5atqBfza11uT+oskd3rg94nGIN7iZdBuYp798G2kvijeCwTX1Wm/tr tDSw==
X-Gm-Message-State: ALoCoQmF1Wn2EKTayjoFlfajqupmGN02U+hRgcK98S3PMizgGCLyf3/jQlKbzoZlZgXsmsU3ps0l
X-Received: by 10.42.106.15 with SMTP id x15mr12924419ico.67.1404860491429; Tue, 08 Jul 2014 16:01:31 -0700 (PDT)
Date: Tue, 8 Jul 2014 19:01:26 -0400
From: "Chris J. Breisch" <chris DOT ml AT breisch DOT org>
Message-ID: <1737600071.20140708190126@breisch.org>
To: cygwin AT cygwin DOT com
Subject: Re: Shouldn't 'man' depend on 'col'? Shouldn't 'col' be easier to find?
In-Reply-To: <53BC191A.5020606@gmail.com>
References: <CAJqfdW6bCQ4PLnSO2o6a1gd-veLogad9he9TcddZzk9sw8Jr-w AT mail DOT gmail DOT com> <53BC191A DOT 5020606 AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

At Tuesday, July 8, 2014, 12:15:22 PM, Marco Atzeri wrote:


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

Yes,  this is true. I'll add it. I'm collecting a few things together,
and trying to get the DB creation to work a little faster as well.

-- 
 Chris J. Breisch



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