help-octave
[Top][All Lists]
Advanced

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

Re: Really Long Command Prompt


From: Søren Hauberg
Subject: Re: Really Long Command Prompt
Date: Tue, 19 Jan 2010 08:02:27 +0100

man, 18 01 2010 kl. 16:14 -0800, skrev alaninva:
> I just installed Octave, and am now faced with a really long command prompt:
> octave-3.2.3.exe:1:C:\Octave\3.2.3_gcc-4.4.0\bin>
> 
> Is there a way to shorten this to simply "Octave:1>" ?

Look at the 'PS1', 'PS2', and 'PS4' functions. Specifically, you should
be able to do something like

  PS1 ("Octave:\\#> ")

Søren



reply via email to

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