Skip Menu |

This queue is for tickets about the Term-Menus CPAN distribution.

Report information
The Basics
Id: 31737
Status: resolved
Priority: 0/
Queue: Term-Menus

People
Owner: Nobody in particular
Requestors: pcordoba [...] jhmc.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Term::Menus Bug Report - Sample Code Attached
Date: Wed, 19 Dec 2007 22:04:38 -0500
To: <Brian.Kelly [...] fullautosoftware.com>, <bug-Term-Menus [...] rt.cpan.org>
From: "PEDRO CORDOBA" <pcordoba [...] jhmc.org>
Brian: I am writing a application based on and relying on the Term::Menus interface. I have run into a problem with Term::Menus that I cannot figure out. Maybe I'm doing something wrong. PROBLEM: Each call to subroutine where menu is defined and displayed (&Menu is called) should result in menu selections made during that menu session only (right?). However, subsequent calls to subroutine yields current AND previous menu selections after choosing "finish". See example below. P.S. I am running Windows Vista using both Cygwin Perl and ActiveState Perl and Term::Menus version 1.29. The code example attached uses cygwin OS command `ls -1 /bin`. Pedro Córdoba ========================= Example: MENU - FOR LOOP ITERATION #1 Choose a Utility: 1. [.exe 2. a2p.exe 3. addftinfo.exe 4. addr2line.exe 5. afmtodit 6. apropos 7. ar.exe 8. as.exe 9. ascii.exe 10. ash.exe a. Select All. f. Finish. 421 Total Choices Press ENTER (or "d") to scroll downward OR "u" to scroll upward (Press "q" to quit) PLEASE ENTER A CHOICE: 2 ===================================== Choose a Utility: 1. [.exe * 2. a2p.exe 3. addftinfo.exe 4. addr2line.exe 5. afmtodit 6. apropos 7. ar.exe 8. as.exe 9. ascii.exe 10. ash.exe a. Select All. c. Clear All. f. Finish. 421 Total Choices Press ENTER (or "d") to scroll downward OR "u" to scroll upward (Press "q" to quit) PLEASE ENTER A CHOICE: f SELECTION COUNT: 1 SELECTIONS: [a2p.exe] PRESS ENTER TO CONTINUE ===================================== MENU - FOR LOOP ITERATION #2 Choose a Utility: 1. [.exe 2. a2p.exe 3. addftinfo.exe 4. addr2line.exe 5. afmtodit 6. apropos 7. ar.exe 8. as.exe 9. ascii.exe 10. ash.exe a. Select All. f. Finish. 421 Total Choices Press ENTER (or "d") to scroll downward OR "u" to scroll upward (Press "q" to quit) PLEASE ENTER A CHOICE: ===================================== Choose a Utility: 1. [.exe 2. a2p.exe 3. addftinfo.exe * 4. addr2line.exe 5. afmtodit 6. apropos 7. ar.exe 8. as.exe 9. ascii.exe 10. ash.exe a. Select All. c. Clear All. f. Finish. 421 Total Choices Press ENTER (or "d") to scroll downward OR "u" to scroll upward (Press "q" to quit) PLEASE ENTER A CHOICE: f ===================================== SELECTION COUNT: 2 SELECTIONS: [a2p.exe addr2line.exe] PRESS ENTER TO CONTINUE =====================================

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #31737] Term::Menus Bug Report - Sample Code Attached
Date: Tue, 15 Jan 2008 17:14:53 -0500 (EST)
To: bug-Term-Menus [...] rt.cpan.org, undisclosed-recipients [...] null, null [...] null
From: Brian Kelly <reedfish [...] ix.netcom.com>
Hi Pedro, Thank you for your interest in Term::Menus - and THANKS! for the bug report. It is MOST appreciated and VERY VERY HELPFUL! The bug was fixed today, and a new version of Term::Menus - Version 1.30 was uploaded to the CPAN. It should be available for download later today or tomorrow. Thanks again! Brian Kelly Show quoted text
-----Original Message-----
>From: PEDRO CORDOBA via RT <bug-Term-Menus@rt.cpan.org> >Sent: Dec 19, 2007 10:06 PM >To: undisclosed-recipients@null, null@null >Subject: [rt.cpan.org #31737] Term::Menus Bug Report - Sample Code Attached > > >Wed Dec 19 22:05:59 2007: Request 31737 was acted upon. >Transaction: Ticket created by pcordoba@jhmc.org > Queue: Term-Menus > Subject: Term::Menus Bug Report - Sample Code Attached > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: pcordoba@jhmc.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=31737 > > > >Brian: > >I am writing a application based on and relying on the Term::Menus >interface. I have run into a problem with Term::Menus that I cannot >figure out. Maybe I'm doing something wrong. > >PROBLEM: >Each call to subroutine where menu is defined and displayed (&Menu is >called) should result in menu selections made during that menu session >only (right?). However, subsequent calls to subroutine yields current >AND previous menu selections after choosing "finish". > >See example below. > >P.S. I am running Windows Vista using both Cygwin Perl and ActiveState >Perl and Term::Menus version 1.29. The code example attached uses cygwin >OS command `ls -1 /bin`. > > >Pedro Córdoba > >========================= > >Example: > >MENU - FOR LOOP ITERATION #1 > > Choose a Utility: > > 1. [.exe > 2. a2p.exe > 3. addftinfo.exe > 4. addr2line.exe > 5. afmtodit > 6. apropos > 7. ar.exe > 8. as.exe > 9. ascii.exe > 10. ash.exe > > a. Select All. f. Finish. > > 421 Total Choices > > Press ENTER (or "d") to scroll downward > > OR "u" to scroll upward (Press "q" to quit) > > PLEASE ENTER A CHOICE: 2 > >===================================== > > Choose a Utility: > > 1. [.exe > * 2. a2p.exe > 3. addftinfo.exe > 4. addr2line.exe > 5. afmtodit > 6. apropos > 7. ar.exe > 8. as.exe > 9. ascii.exe > 10. ash.exe > > a. Select All. c. Clear All. > f. Finish. > > 421 Total Choices > > Press ENTER (or "d") to scroll downward > > OR "u" to scroll upward (Press "q" to quit) > > PLEASE ENTER A CHOICE: f > >SELECTION COUNT: 1 >SELECTIONS: [a2p.exe] > >PRESS ENTER TO CONTINUE > >===================================== > >MENU - FOR LOOP ITERATION #2 > > Choose a Utility: > > 1. [.exe > 2. a2p.exe > 3. addftinfo.exe > 4. addr2line.exe > 5. afmtodit > 6. apropos > 7. ar.exe > 8. as.exe > 9. ascii.exe > 10. ash.exe > > a. Select All. f. Finish. > > 421 Total Choices > > Press ENTER (or "d") to scroll downward > > OR "u" to scroll upward (Press "q" to quit) > > PLEASE ENTER A CHOICE: > >===================================== > > Choose a Utility: > > 1. [.exe > 2. a2p.exe > 3. addftinfo.exe > * 4. addr2line.exe > 5. afmtodit > 6. apropos > 7. ar.exe > 8. as.exe > 9. ascii.exe > 10. ash.exe > > a. Select All. c. Clear All. > f. Finish. > > 421 Total Choices > > Press ENTER (or "d") to scroll downward > > OR "u" to scroll upward (Press "q" to quit) > > PLEASE ENTER A CHOICE: f > >===================================== > >SELECTION COUNT: 2 >SELECTIONS: [a2p.exe addr2line.exe] > >PRESS ENTER TO CONTINUE > >===================================== >
Resolved some time back, but ticket never closed.