delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/02/20:29:47

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=XqXdQPQs6k0clZsUKU71otdKofs/N8gcYoDnfi0/khI
fnYrFT2ItV/7fFrlPFoGOIu0+y0ekpx1/+q83WcV/Dpui14VuCChohS6IzgXewjR
5VtlmepKt4DWgTR7/eK7k+NpMRQ9hWYuqrLAOB80UIuM5v16yzBFmBI0PTgZSnm8
=
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=9jqCfa1hMQsUgoHt8if2Rbo1Q3g=; b=WKuUm+deTsurZz/PM
w7CRqUvec761+lUuWTUV7rOZDdcjrZBCSqzIHo12uyW4O9XzNyKohAmFXch03wH1
HQnlC4/hz/uywAk5xrY/K0q+fcab2iH16U9bzV0swtlh0/Popc2TVk6AGctINe+5
AkWruAGATpug1SLwqexzedtKvU=
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.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_PBL,RP_MATCHES_RCVD,SPF_NEUTRAL autolearn=no version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <52252D67.70600@cornell.edu>
Date: Mon, 02 Sep 2013 20:29:27 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Fwd: INFO issues
References: <CAFWZbCwgixYuYhtQqUMt6iPntTRWDq+Aungs99wQciXi_FG+SA AT mail DOT gmail DOT com> <CAFWZbCxH_DovyJYbRTzr_uMxuTuBOesaRbLkd1d550wnzPj_yQ AT mail DOT gmail DOT com>
In-Reply-To: <CAFWZbCxH_DovyJYbRTzr_uMxuTuBOesaRbLkd1d550wnzPj_yQ@mail.gmail.com>
X-IsSubscribed: yes

On 9/2/2013 11:36 AM, Thiers Botelho wrote:
> Hi all,
>
> I'm a new user of CygWin and a former user of some Linux distros.
>
> I'm having the following issue with the 'info' command:
>
> thiers AT Win-Samsung ~
> $ info
> info: dir: No such file or directory
>
> I did some searches, but really... searching stuff where 'info' is the
> keyword is bound to, and DOES, return a lot of useless 'info'...
>
> I've searched the CygWin mailing list; what I've got is the
> not-so-clear suspicion that I need to 'install' something. Here are
> the closest leads I've got - they're 13 years old:
>
> https://sourceware.org/ml/cygwin/2000-05/msg00005.html
> ### this guy had the same issue I'm having.
>
> https://sourceware.org/ml/cygwin/2000-05/msg00126.html
> ### then this guy suggested running some kind of hand-made script (not
> really meaningful to me) around the install-info command (which indeed
> exists in my CygWin folder)
>
> https://sourceware.org/ml/cygwin/2000-05/msg00184.html
> ### and this other guy suggested using command 'gen-dir-node' (which I
> didn't find in my CygWin build).
>
> So what I'd like to know is, are there any clear instructions
> somewhere about how to make the 'info' command work properly under
> Cygwin ??

There's a postinstall script called 'update-info-dir.sh' which is 
supposed to get run automatically by setup.exe to create the info 
directory.  If this didn't happen for some reason, you can run it 
manually.  (Look for it in /etc/postinstall.)  In case you don't have 
it, here are the contents:

#!/bin/bash
rm -f /usr/info/dir.info /usr/share/info/dir.info /usr/info/dir 
/usr/share/info/dir
for d in /usr/info /usr/share/info; do
     for f in $d/*; do
	case "$f" in
	    *\**)
		;;
	    */dir|*/dir.info*)
		;;
	    *-[0123456789]*)
		;;
	    *)
		install-info --quiet $f /usr/share/info/dir ||
		install-info  --quiet --entry="* $$f ($f): $$f" $$f /usr/share/info/dir
		;;
	esac
     done
done >/dev/null 2>&1

Ken


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