Hello

This is Frequently Asked Question but it is not included in the octave FAQ wiki.

Please comment out PS1 setting in 
...\Octave\3.2.2_gcc-4.3.0\share\octave\3.2.2\m\startup\octaverc as

#PS1("\\s:\\#:\\w\n> ");

or override it in
...\Octave\3.2.2_gcc-4.3.0\share\octave\site\m\startup\octaverc
or in ~\.octaverc for example
PS1('octave:\#>')

The symbol '~' indicates the home directory for octave.
Its fullpath is available by tilde_expand command
octave:1>tilde_expand ('~')
ans = C:\Documents and Settings\Tatsu

You make a file named '.octaverc' in the home directory 
(in the example above (C:\Documents and Settings\Tatsu) )

Details and differences of startup files, please consult the octave manual
http://www.gnu.org/software/octave/doc/interpreter/Startup-Files.html#Startup-Files
 

For Customizing the Prompt, see
http://www.gnu.org/software/octave/doc/interpreter/Customizing-the-Prompt.html#Customizing-the-Prompt
 
Regards

Tatsuro

--- eriktheguy  wrote:

> 
> Hello everyone, first post.
> When I used to use octave it would say 'Octave>' every command line when
> prompting for input. I recently installed on Windows 7. There are no
> problems but now octave gives the entire file path every line, followed by
> the '>' character on the next line.
> So instead of:
> 
> Octave>
> 
> I get:
> 
> Octave.exe:#:C/Octave/3.2.2_gcc-4.3.0/bin
> >
> 
> This isn't stopping me from working, but it is really annoying. I would
> appreciate any help.
> -- 
> View this message in context:
> http://www.nabble.com/Octave-gives-file-path-every-line-tp25942956p25942956.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> 
> _______________________________________________
> Help-octave mailing list
> [email protected]
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to