help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how not repeat the path directory


From: Martin Weiser
Subject: Re: how not repeat the path directory
Date: Sun, 05 Jul 2009 20:12:46 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.3.2)

Cituji n3mo <address@hidden>:


hi men (and women) i have octave 3.2.0 with windows vista, and i have a very
annoying problem....
in every line octave repeat the path directory and i must write the command
in a new line...
i copy an example with diary to explain the problem

octave-3.2.0.exe:15:c:\octave
x=2
x =  2
octave-3.2.0.exe:16:c:\octave
y=3
y =  3
octave-3.2.0.exe:17:c:\octave
c=x-y
c = -1
octave-3.2.0.exe:18:c:\octave
diary off


this is very annoying...how can i write all in a line to see better what i
wrote? i want something like this:

octave-3.2.0.exe:15:c:\octave> x=2
x =  2
octave-3.2.0.exe:16:c:\octave> y=3
y =  3
octave-3.2.0.exe:17:c:\octave> c=x-y
c = -1
octave-3.2.0.exe:18:c:\octave> diary off

so it will be easier to read the commands i wrote....

thanks very much

--
View this message in context: http://www.nabble.com/how-not-repeat-the-path-directory-tp24342174p24342174.html
Sent from the Octave - General mailing list archive at Nabble.com.

_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


Hello,,
you should set the variable "PS1" (type help PS1 to see the options) as you wish. To do it pernamently, set it in your .octaverc file (more about configuration files of Octave is in The Manual here: http://www.gnu.org/software/octave/doc/interpreter/Startup-Files.html#Startup-Files)
Thread about this problem (prompt and PS1) and its solution is here:
http://www.nabble.com/Restatement-of-Initialization-lines-td24113367.html
Enjoy.
Best,
martin w.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]