* Re: Fwd: INFO issues [partially SOLVED]
@ 2013-09-05 11:04 Thiers Botelho
2013-09-05 11:26 ` fernando
2013-09-05 14:58 ` Fwd: " Ken Brown
0 siblings, 2 replies; 4+ messages in thread
From: Thiers Botelho @ 2013-09-05 11:04 UTC (permalink / raw)
To: cygwin
NOTE: I'm replying from the digest, so in case the list does not hook
up the appropriate reference pointers, here they are:
1. http://cygwin.com/ml/cygwin/2013-09/msg00024.html
2.http://cygwin.com/ml/cygwin/2013-09/msg00031.html
On Tue, Sep 3, 2013 at 5:18 PM, <cygwin-digest-help AT cygwin DOT com> wrote:
> From: Ken Brown <kbrown AT cornell DOT edu>
> To: cygwin AT cygwin DOT com
> Cc:
> Date: Mon, 02 Sep 2013 20:29:27 -0400
> Subject: 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:
>>
>> 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
>
Thx a lot Ken - that did it. INFO command now works properly !
And now that begs a follow-up question...
After some digging around about how the post-install scripts work in
CygWin, and doing some complementary testing, it seems that, every
time that CygWin Setup runs, the script will be run once and then
renamed with a '.done' suffix. So that, if I want the script to run
every time that Setup runs, I have to remember to manually rename it
back to '.sh' after each setup run, which is, erm, sub-optimal.
Any ideas about getting around this repeated manual renaming ???
Thx and cheers
Thiers
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: INFO issues [partially SOLVED]
2013-09-05 11:04 Fwd: INFO issues [partially SOLVED] Thiers Botelho
@ 2013-09-05 11:26 ` fernando
2013-09-05 14:58 ` Fwd: " Ken Brown
1 sibling, 0 replies; 4+ messages in thread
From: fernando @ 2013-09-05 11:26 UTC (permalink / raw)
To: cygwin
It would be nice to know if yours is a x86_64 version of cygwin because I
think there is something wrong in x86_64 version and this must be a bug
somewhere. Don't know exactly where (the texinfo package?).
I have a x86_64 and I can confirm the update-info-dir post install script is
not available in the x86_64 version of cygwin. I can copy the script from a
x86 version and run it manually and info command starts working but still
with problem. For example when you run 'info ttttttt' using something that
is not a valid value for the info command, instead of getting the top info
page you get a "segmentation fault" error. In x86 something like info tttttt
instead of a segmentation fault will trigger the info top page showing on
the bottom the error "the node ttttttt doesn't exist".
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: INFO issues [partially SOLVED]
2013-09-05 11:04 Fwd: INFO issues [partially SOLVED] Thiers Botelho
2013-09-05 11:26 ` fernando
@ 2013-09-05 14:58 ` Ken Brown
2013-09-05 17:47 ` Christopher Faylor
1 sibling, 1 reply; 4+ messages in thread
From: Ken Brown @ 2013-09-05 14:58 UTC (permalink / raw)
To: cygwin
On 9/5/2013 7:03 AM, Thiers Botelho wrote:
> NOTE: I'm replying from the digest, so in case the list does not hook
> up the appropriate reference pointers, here they are:
>
> 1. http://cygwin.com/ml/cygwin/2013-09/msg00024.html
> 2.http://cygwin.com/ml/cygwin/2013-09/msg00031.html
>
>
> On Tue, Sep 3, 2013 at 5:18 PM, <cygwin-digest-help AT cygwin DOT com> wrote:
>
>> From: Ken Brown <kbrown AT cornell DOT edu>
>> To: cygwin AT cygwin DOT com
>> Cc:
>> Date: Mon, 02 Sep 2013 20:29:27 -0400
>> Subject: 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:
>>>
>>> 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
>>
>
> Thx a lot Ken - that did it. INFO command now works properly !
>
> And now that begs a follow-up question...
>
> After some digging around about how the post-install scripts work in
> CygWin, and doing some complementary testing, it seems that, every
> time that CygWin Setup runs, the script will be run once and then
> renamed with a '.done' suffix. So that, if I want the script to run
> every time that Setup runs, I have to remember to manually rename it
> back to '.sh' after each setup run, which is, erm, sub-optimal.
>
> Any ideas about getting around this repeated manual renaming ???
There's no need for manual renaming except when something goes wrong.
In general, update-info-dir.sh should get run whenever it's needed.
There's a bug that's currently preventing this from happening; cgf has
stated that he's working on it:
http://cygwin.com/ml/cygwin-apps/2013-09/msg00009.html
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Fwd: INFO issues [partially SOLVED]
2013-09-05 14:58 ` Fwd: " Ken Brown
@ 2013-09-05 17:47 ` Christopher Faylor
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Faylor @ 2013-09-05 17:47 UTC (permalink / raw)
To: cygwin
On Thu, Sep 05, 2013 at 10:58:17AM -0400, Ken Brown wrote:
>There's no need for manual renaming except when something goes wrong.
>In general, update-info-dir.sh should get run whenever it's needed.
>There's a bug that's currently preventing this from happening; cgf has
>stated that he's working on it:
>
> http://cygwin.com/ml/cygwin-apps/2013-09/msg00009.html
Thanks, for pointing this out Ken.
I'm in the middle of a revamp of "upset" to deal with issues like this
and to better handle the x86/x86_64 repositories. I thought I'd have
it done this week but I will probably need the weekend to finish.
cgf
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-05 17:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-05 11:04 Fwd: INFO issues [partially SOLVED] Thiers Botelho
2013-09-05 11:26 ` fernando
2013-09-05 14:58 ` Fwd: " Ken Brown
2013-09-05 17:47 ` Christopher Faylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).