From help-octave-request at bevo dot che dot wisc dot edu Sun Jul 13 23:17:48 2003 Subject: History From: Matt Flax To: help-octave at bevo dot che dot wisc dot edu Date: Mon, 14 Jul 2003 15:17:06 +1000 Hello everyone, I would appear that my original question was answered correctly by the list, however my problem was left unsolved. As it turns out, the problem was to do with 'history' and not line echo ! Whilst in a function the history gathers user input. I was wanting to turn that off. Here is how I have accomplished that : function main_function(signal) %# save the history and turn off hitory save_history(".history_file.txt"); unwind_protect main_function_body(signal); unwind_protect_cleanup %# no matter what the exit state re-instate the history load_history(".history_file.txt"); end_unwind_protect endfunction function save_history(name) history -w name stop_history; endfunction function load_history(name) history -r name start_history; endfunction function stop_history history_size=0; endfunction function start_history history_size=1024; endfunction On Fri, Jul 11, 2003 at 03:27:54PM +1000, Matt Flax wrote: > Hello, > > I am trying to stop the input to an 'input' command from being echoed in > an 'ans=' console printout. > > For example I evaluate the following : > > input("type anything") > > at the prompt I type 123 and this is output : > ans = 123 > > I want to stop the 'ans = ' reply ... > Anyone know how ? > > thanks > Matt > > -- > http://mffm.ee.unsw.edu.au > > WSOLA TimeScale Audio Mod : http://mffmtimescale.sourceforge.net/ > FFTw C++ : http://mffmfftwrapper.sourceforge.net/ > Vector Bass : http://mffmvectorbass.sourceforge.net/ > Multimedia Time Code : http://mffmtimecode.sourceforge.net/ > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- -- http://mffm.ee.unsw.edu.au WSOLA TimeScale Audio Mod : http://mffmtimescale.sourceforge.net/ FFTw C++ : http://mffmfftwrapper.sourceforge.net/ Vector Bass : http://mffmvectorbass.sourceforge.net/ Multimedia Time Code : http://mffmtimecode.sourceforge.net/ ------------------------------------------------------------- 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 -------------------------------------------------------------