bugGNU Octave - Bugs: bug #43526, doc command to octave fails to...

 
 

bug #43526: doc command to octave fails to find /usr/share/info/octave.info.bz2

Submitted by:  None
Submitted on:  Tue 04 Nov 2014 02:18:41 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Ted MarstonOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 05 Nov 2014 04:19:52 AM UTC, comment #7:

Okay, I made the change on the development branch in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/e433efa383e4). Closing report.

Rik <rik5>
Project Administrator
Wed 05 Nov 2014 02:37:07 AM UTC, comment #6:

No, just mentioning for completeness. I'm honestly surprised to see any other than .gz.

Mike Miller <mtmiller>
Project Administrator
Wed 05 Nov 2014 02:23:57 AM UTC, comment #5:

Do we want to bother to support everything that info does? I haven't seen .lz or .lzma used in a very long time.

Rik <rik5>
Project Administrator
Wed 05 Nov 2014 02:12:32 AM UTC, comment #4:

I took a quick look at the GNU Texinfo source to see what compression schemes it supports.

It appears to handle files named .gz, .xz, .bz2, .lz, .lzma, meaning it will try appending those extensions in turn after .info. Complicates the doc.m logic a bit more unfortunately.

Also worth reminding here that compressed Info currently does not work with the GUI help browser.

Mike Miller <mtmiller>
Project Administrator
Tue 04 Nov 2014 04:01:46 PM UTC, comment #3:

I just did a quick test using the command line version of info and it does accept both gzip and bzip files, although not zip archives. So it does seem like this change can be made safely.

Rik <rik5>
Project Administrator
Tue 04 Nov 2014 02:50:34 PM UTC, comment #2:

I am using Gentoo and yes info works fine with bzip2 files. I think it can also work with other compression formats too, but I have not tried them.

Ted Marston <ted>
Tue 04 Nov 2014 02:26:52 PM UTC, comment #1:

Thanks for your bug report. I have not yet seen bzip-compressed info pages, what distribution is doing this? Does GNU Info work with the info files compressed this way?

Mike Miller <mtmiller>
Project Administrator
Tue 04 Nov 2014 02:18:41 PM UTC, original submission:

scripts/help/doc.m does not look for a bzip2 compressed info file.
for example, giving the octave interpreter the command "doc" fails to find the info file /usr/share/info/octave.info.bz2.

a simple fix is:

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by ted (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Nov 2014 04:19:52 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Tue 04 Nov 2014 04:01:46 PM UTCrik5StatusNeed Info=>Confirmed
    Tue 04 Nov 2014 02:26:52 PM UTCmtmillerStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1