Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Octave by default uses the "more" command to page results. It is possible to type "more off" to stop that in the current session. How can I stop it permanently without passing that command to Octave? (I want something like option, editing file, environment variable,...)

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

The answer is given in the documentation about startup files and the more command. You just need to run more off on startup. To do this you can create the file .octaverc (the dot is important) in your home directory (~/.octaverc) and add the more off command to it. Now Octave should always start with more switched off.

(There's also the file /usr/share/octave/site/m/startup/octaverc if you have more than one user on the computer who want this configuration.)

share|improve this answer
    
Is there a way to make it system-wide? –  عمروخضير Mar 16 at 22:26
    
What do you mean by "system wide"? –  edwin Mar 16 at 22:27
1  
@عمروخضير I mean, you can create the file .octaverc (the dot is important) in your home directory and add the more off command to it. That way octave will always start with more switched off. (There's also /usr/share/octave/site/m/startup/octaverc if you have more than one user on the computer.) –  edwin Mar 16 at 22:36
    
yes thank you , –  عمروخضير Mar 16 at 22:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.