From help-octave-request at bevo dot che dot wisc dot edu Thu Dec 18 19:17:14 2003 Subject: Re: curses on octave From: taltman at lbl dot gov To: wtm at ono dot com cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 19 Dec 2003 01:16:59 +0000 (UTC) On Dec 19, 2003 at 1:55am, wtm at ono dot com wrote: wtm >Thank you for your soon answer, No prob. wtm > wtm >I have written an audio to midi converter using octave, it is available wtm >at http://wave2mid.sourceforge.net Cool! Kudos to your for using Octave to write that, instead of reinventing the wheel. wtm > wtm >But the user interface is horrible (at the moment I am only using the wtm >'menu' command, and I would like to improve it. Wait, I'm confused: you want to improve your program, or Octave's "menu" function? If the former, then you probably want to leave the Octave component of your app as it is, and just throw on a ncurses GUI that does some inter-process communication. If the latter, then I'm sure that some of the Octave gurus on this list would love to have someone work on that bit of code. The "menu" function is provided by a script called "menu.m", which can be found under "scripts/miscellaneous" in the main Octave source distribution. Hack all you want, thank GNU. Something you may want to consider is using the function "keyboard" in a conditional loop. This gives you your own "Octave read-eval-print-loop (REPL)", that you can tweak & change ( but that's just me; a meta-linguistic abstraction nut... ). HTH, ~Tomer wtm > wtm >Regards wtm > wtm > wtm > wtm >------------------------------------------------------------- wtm >Octave is freely available under the terms of the GNU GPL. wtm > wtm >Octave's home on the web: http://www.octave.org wtm >How to fund new projects: http://www.octave.org/funding.html wtm >Subscription information: http://www.octave.org/archive.html wtm >------------------------------------------------------------- wtm > wtm > ------------------------------------------------------------- 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 -------------------------------------------------------------