This is the mail archive of the cygwin@cygwin.com 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: compressing info files w/ gzip or bzip2


>>>>> "Joshua" == Joshua Daniel Franklin <joshuadfranklin@yahoo.com> writes:

    Joshua> Harry Putnam <reader@newsguy.com> writes:
    >> 
    >> Joshua Daniel Franklin <joshuadfranklin@yahoo.com> writes:
    >> 
    >> > [18:50:18]info$ grep -A2 START gzip.info
    >> > START-INFO-DIR-ENTRY
    >> > * Gzip: (gzip). The gzip command for compressing files.
    >> > END-INFO-DIR-ENTRY
    >> > $ info gzip # this works fine
    >> > $ gzip gzip.info
    >> > $ zgrep -A2 START gzip.info.gz
    >> > START-INFO-DIR-ENTRY
    >> > * Gzip: (gzip). The gzip command for compressing files.
    >> > END-INFO-DIR-ENTRY
    >> > $ info gzip # Fails with "Unable to find node referenced by `Gzip' in
    >> > `(dir)Top'."
    >> 
    >> [...]
    >> 
    >> As you may be aware, on a redhat-7.3  system the files in
    >> /usr/share/info are all gzipped and none display this problem.  I
    >> have the most recent gnu texinfo (4.2) same as you.
    >> 
    >> > $ install-info.exe --delete gzip /usr/info/dir
    >> > $ grep gzip dir # no output, as expected
    >> > $ gzip.exe gzip.info
    >> > $ install-info gzip.info.gz /usr/info/dir
    >> > $ grep gzip dir
    >> > * Gzip: (gzip). The gzip command for compressing files.
    >> > $ info gzip # Same error as before
    >> 
    >> 
    >> > $ info -f gzip.info.gz
    >> > info: gzip.info.gz: Invalid argument
    >> 
    >> I my system, if file name is gzip.info.gz and I say:
    >> info -f ./gzip.info  it works.
    >> Note that the path must be given when using info -f  even if its in
    >> teh current directory `info -f ./some.info'
    >> Note too that even though the filename has a gz extension, I left it
    >> off when using info -f and it works anyway.
    >> 

    Joshua> I've tested this on RH72. and RH7.3 machines and noticed the same thing.
    Joshua> It looks like info must be failing on just the cygwin platform with compressed
    Joshua> files. I guess I'll have to take a look at the sources and figure out what's
    Joshua> going on. I'll cross-post to cygwin@cygwin.com and see if anyone else has
    Joshua> noticed this or has a workaround. Thanks.

Hi

As a side note, is info (info 4.2) honoring the INFOPATH variable for you ?
In my case it's just using info files located in /usr/info.

Ciao
  Volker


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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