If you want to be able to ctrl-c/v to copy-paste in Octave, ditch the Octave.exe command window and download the open source Console2 from SourceForge.
Follow Scott Hanselman’s instructions for installing Console2:
http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx
Once you’ve installed Console2, here’s how you add an Octave window:
- Open Settings (right-click on the window and go to File, then Settings), then go to Tabs, and Add a new tab.
- Change the new tab’s title to Octave.
- Set the Icon to the Octave icon (e.g. the default location would be C:\Octave\3.2.4_gcc-4.4.0\bin\octave.ico).
- Set the Shell to the Octave exe (e.g. the default location would be C:\Octave\3.2.4_gcc-4.4.0\bin\octave-3.2.4.exe)
- Set the Startup dir to your homework project folder (such as C:\stanford_machine_learning\mlclass-ex1).
That’s it! Now in your Console2 window, go to File, New Tab, Octave and you’re off and running.
