From bug-request at octave dot org Thu Nov 25 11:04:23 2004 Subject: Re: Menu problem in Octave 2.1.63 on Slackware 10 From: David Bateman To: Ananda Murthy R S Cc: help at octave dot org, bug@octave.org Date: Thu, 25 Nov 2004 18:01:21 +0100 --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline You might try the attached patch, with makes an 8 character change to a single file... :-) D. According to Ananda Murthy R S (on 11/25/04): > Hello: > > I have compiled Octave 2.1.63 on Slackware 10 system. > Compilation went on properly. But When I run the > instruction > > n=menu("SAMPLE MENU","Blue","Red"); > > I get the output shown below: > > SAMPLE MENU > > [ 1] Blue > [ 2] Red > > keyboard: stopped in > /usr/share/octave/2.1.63/m/miscellaneous/menu.m at > line 66 > pick a number, any number: > > Why am I getting `keyboard: stopped in > /usr/share/octave/2.1.63/m/ > miscellaneous/menu.m at line 66' error message? I am > not able to find this. Please help me. > > Thanks helping me, > > Anand > > ________________________________________________________________________ > Yahoo! India Matrimony: Find your life partner online > Go to: http://yahoo.shaadi.com/india-matrimony > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-input *** ./src/input.cc.orig3 2004-09-22 10:15:33.000000000 +0200 --- ./src/input.cc 2004-11-25 17:56:16.000000000 +0100 *************** *** 541,547 **** // We look at curr_caller_function because curr_function is always // "keyboard". ! if (curr_caller_function) { nm = curr_caller_function->fcn_file_name (); --- 541,547 ---- // We look at curr_caller_function because curr_function is always // "keyboard". ! if (debug && curr_caller_function) { nm = curr_caller_function->fcn_file_name (); --hQiwHBbRI9kgIhsi-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------