Editing .octaverc

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
The .octaverc file is the octave [https://en.wikipedia.org/wiki/Configuration_file configuration file] on Linux that resides in the user's home directory (~). It has basically the same role as startup.m in Matlab - you might want to soft link startup.m and .octaverc to avoid duplication. Many basic settings can be put here. Further information is given in the [https://www.gnu.org/software/octave/doc/interpreter/Startup-Files.html documentation]. Some handy examples of configuration options are given below, as well and on the [[Tips_and_tricks|Tips and tricks]] page.
The .octaverc file is the octave [https://en.wikipedia.org/wiki/Configuration_file configuration file] on Linux that resides in the user's home directory (~). It has basically the same role as startup.m in Matlab - you might want to soft link startup.m and .octaverc to avoid duplication. Many basic settings can be put here. Further information is given in the [https://www.gnu.org/software/octave/doc/interpreter/Startup-Files.html documentation].
 
 
Some handy examples of configuration options are given below, as well and on the [[Tips_and_tricks|Tips and tricks]] page.


* '''edit mode async''' ''# make spawned processes run in background''
* '''edit mode async''' ''# make spawned processes run in background''
Line 15: Line 18:




==.inputrc==
The behaviour of the command line cursor in Octave is controlled by a separate codebase (readline), which has its own configuration file (.inputrc). Examples of useful entries in this file are given below and in ''??need a good reference for readline options??''.
The behaviour of the command line cursor in Octave is controlled by a separate codebase (readline), which has its own configuration file (.inputrc). Examples of useful entries in this file are given below and in ''??need a good reference for readline options??''.


* '''set blink-matching-paren off''' ''# prevent blinking parenthesis matching''
* '''set blink-matching-paren off''' ''# prevent blinking parenthesis matching''
''
''
Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)