bugGNU Octave - Bugs: bug #48006, menu() in text-mode fails to...

 
 

bug #48006: menu() in text-mode fails to handle cellstr input

Submitted by:  None
Submitted on:  Wed 25 May 2016 06:49:09 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Atri BhattacharyaOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.1
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.

 

Wed 25 May 2016 05:35:02 PM UTC, comment #2:

Cool. Thanks!

Atri Bhattacharya <badshah400>
Wed 25 May 2016 04:17:51 PM UTC, comment #1:

I made your change, as well as overhauling the way that text-based menu operations are done in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/ca9e09417e1f). This is on the development branch, but since this is just an m-file you can grab it from the Mercurial repository and copy it in to your local installation to see the changes.

Rik <rik5>
Project Administrator
Wed 25 May 2016 06:49:09 AM UTC, original submission:

The documentation for menu() says:

However, when a cell array of string is indeed sent as input, menu() gives an error when used in the text-mode (pending fix to bug 48005).

The attached patch fixes this situation.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37255:  octave-menu-text-mode.patch added by None (582B - text/x-patch - Patch to fix cellstr input)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by badshah400 (Posted a comment)
  • -unavailable- added by rik5 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 May 2016 04:17:51 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 25 May 2016 06:49:09 AM UTCNoneAttached File-=>Added octave-menu-text-mode.patch, #37255

    Back to the top


    Powered by Savane 3.1-cleanup1