# HG changeset patch # User John W. Eaton # Date 1386003914 18000 # Node ID 708173343c5059201b7ec7bdbd44aa5fee519f21 # Parent c97ee13f1027bfd5edde3dfea269b4079d76a7ca use "octave" instead of "\\s" in default prompt * input.cc (set_default_prompts): Use "octave" instead of "\\s". (FPS1): Fix doc string to match. diff -r c97ee13f1027 -r 708173343c50 libinterp/corefcn/input.cc --- a/libinterp/corefcn/input.cc Mon Dec 02 11:29:22 2013 -0500 +++ b/libinterp/corefcn/input.cc Mon Dec 02 12:05:14 2013 -0500 @@ -137,7 +137,10 @@ void set_default_prompts (void) { - VPS1 = "\\s:\\#> "; + // Use literal "octave" instead of "\\s" to avoid setting the prompt + // to "octave.exe" or "octave-gui", etc. + + VPS1 = "octave:\\#> "; VPS2 = "> "; VPS4 = "+ "; @@ -1237,7 +1240,7 @@ Query or set the primary prompt string. When executing interactively,\n\ Octave displays the primary prompt when it is ready to read a command.\n\ \n\ -The default value of the primary prompt string is @qcode{\"\\s:\\#> \"}.\n\ +The default value of the primary prompt string is @qcode{\"octave:\\#> \"}.\n\ To change it, use a command like\n\ \n\ @example\n\