This is the mail archive of the cygwin 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: Fwd: INFO issues

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@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:
### this guy had the same issue I'm having.
### 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)
### 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 '' 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:

rm -f /usr/info/ /usr/share/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
		install-info --quiet $f /usr/share/info/dir ||
		install-info  --quiet --entry="* $$f ($f): $$f" $$f /usr/share/info/dir
done >/dev/null 2>&1


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]