home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / octa21fb.zip / octave / SCRIPTS.ZIP / scripts.fat / startup / octaverc
Text File  |  1999-12-24  |  983b  |  38 lines

  1. ## System-wide startup file for Octave.
  2. ##
  3. ## This file should contain any commands that should be executed each
  4. ## time Octave starts for every user at this site.
  5.  
  6. ## System-wide startup file
  7. ## Octave 2.1.23 for OS/2
  8. ## (c) 1996 - 1999, Klaus Gebhardt
  9.  
  10. PS1 = "octave:\\#>";
  11.  
  12. EDITOR = "e";
  13.  
  14. oct_home = "h:/apps/science/octave";
  15. if length(getenv("OCTAVE_HOME"))
  16.   oct_home = getenv("OCTAVE_HOME");
  17. endif
  18.  
  19. LOADPATH  = sprintf ("%s/scripts//;%s/dlfcn/examples", oct_home, oct_home);
  20. INFO_FILE = sprintf ("%s/doc/octave", oct_home);
  21.  
  22. if length(file_in_path(getenv("PATH"),"less.exe"))
  23.   PAGER = sprintf("%s -ce",file_in_path(getenv("PATH"),"less.exe"));
  24. else
  25.   PAGER = "more";
  26. endif
  27.  
  28. if length(getenv("GNUPLOT"))
  29.   gnuplot_binary = sprintf ("%s/gnuplot.exe", getenv("GNUPLOT"));
  30. else
  31.   gnuplot_binary = "gnuplot";
  32. endif
  33.  
  34. implicit_str_to_num_ok     = 1;
  35. ok_to_lose_imaginary_part  = 1;
  36. ignore_function_time_stamp = 1;
  37. auto_unload_dot_oct_files  = 1;
  38.