home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / octa21eb.zip / octave / PATOS2.ZIP / defaults.emx < prev    next >
Text File  |  1999-04-14  |  4KB  |  158 lines

  1. // defaults.h                                               -*- C++ -*-
  2. /*
  3.  
  4. Copyright (C) 1996 John W. Eaton
  5.  
  6. This file is part of Octave.
  7.  
  8. Octave is free software; you can redistribute it and/or modify it
  9. under the terms of the GNU General Public License as published by the
  10. Free Software Foundation; either version 2, or (at your option) any
  11. later version.
  12.  
  13. Octave is distributed in the hope that it will be useful, but WITHOUT
  14. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  16. for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with Octave; see the file COPYING.  If not, write to the Free
  20. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22. */
  23.  
  24. /* Modified by Klaus Gebhardt, 1994 - 1997 */
  25.  
  26. #include <string>
  27.  
  28. #include "pathsearch.h"
  29.  
  30. #if !defined (_defaults_h)
  31. #define _defaults_h 1
  32.  
  33. #ifndef DEFAULT_PAGER
  34. #define DEFAULT_PAGER "less -ce"
  35. #endif
  36.  
  37. #ifndef OCTAVE_PREFIX
  38. #define OCTAVE_PREFIX "j:/apps2/science/octave"
  39. #endif
  40.  
  41. #ifndef OCTAVE_EXEC_PREFIX
  42. #define OCTAVE_EXEC_PREFIX "j:/apps2/science/octave"
  43. #endif
  44.  
  45. #ifndef OCTAVE_DATADIR
  46. #define OCTAVE_DATADIR "j:/apps2/science/octave"
  47. #endif
  48.  
  49. #ifndef OCTAVE_LIBEXECDIR
  50. #define OCTAVE_LIBEXECDIR "j:/apps2/science/octave"
  51. #endif
  52.  
  53. #ifndef OCTAVE_LIBDIR
  54. #define OCTAVE_LIBDIR "j:/apps2/science/octave"
  55. #endif
  56.  
  57. #ifndef OCTAVE_OCTLIBDIR
  58. #define OCTAVE_OCTLIBDIR "j:/apps2/science/octave"
  59. #endif
  60.  
  61. #ifndef OCTAVE_BINDIR
  62. #define OCTAVE_BINDIR "j:/apps2/science/octave"
  63. #endif
  64.  
  65. #ifndef OCTAVE_INFODIR
  66. #define OCTAVE_INFODIR "j:/apps2/science/octave/doc"
  67. #endif
  68.  
  69. #ifndef OCTAVE_INFOFILE
  70. #define OCTAVE_INFOFILE "j:/apps2/science/octave/doc/octave"
  71. #endif
  72.  
  73. #ifndef OCTAVE_FCNFILEDIR
  74. #define OCTAVE_FCNFILEDIR "j:/apps2/science/octave/scripts"
  75. #endif
  76.  
  77. #ifndef OCTAVE_LOCALFCNFILEDIR
  78. #define OCTAVE_LOCALFCNFILEDIR "j:/apps2/science/octave/scripts"
  79. #endif
  80.  
  81. #ifndef OCTAVE_LOCALSTARTUPFILEDIR
  82. #define OCTAVE_LOCALSTARTUPFILEDIR "j:/apps2/science/octave/scripts/startup"
  83. #endif
  84.  
  85. #ifndef OCTAVE_STARTUPFILEDIR
  86. #define OCTAVE_STARTUPFILEDIR "j:/apps2/science/octave/scripts/startup"
  87. #endif
  88.  
  89. #ifndef OCTAVE_LOCALFCNFILEPATH
  90. #define OCTAVE_LOCALFCNFILEPATH "j:/apps2/science/octave/scripts//"
  91. #endif
  92.  
  93. #ifndef OCTAVE_ARCHLIBDIR
  94. #define OCTAVE_ARCHLIBDIR "j:/apps2/science/octave"
  95. #endif
  96.  
  97. #ifndef OCTAVE_LOCALARCHLIBDIR
  98. #define OCTAVE_LOCALARCHLIBDIR "j:/apps2/science/octave"
  99. #endif
  100.  
  101. #ifndef OCTAVE_OCTFILEDIR
  102. #define OCTAVE_OCTFILEDIR "j:/apps2/science/octave"
  103. #endif
  104.  
  105. #ifndef OCTAVE_LOCALOCTFILEPATH
  106. #define OCTAVE_LOCALOCTFILEPATH "j:/apps2/science/octave"
  107. #endif
  108.  
  109. #ifndef OCTAVE_FCNFILEPATH
  110. #define OCTAVE_FCNFILEPATH "j:/apps2/science/octave/scripts//"
  111. #endif
  112.  
  113. #ifndef OCTAVE_IMAGEPATH
  114. #define OCTAVE_IMAGEPATH "j:/apps2/science/octave/scripts/image"
  115. #endif
  116.  
  117. #ifndef CANONICAL_HOST_TYPE
  118. #define CANONICAL_HOST_TYPE "i486 running OS/2"
  119. #endif
  120.  
  121. extern string Voctave_home;
  122.  
  123. extern string Vbin_dir;
  124. extern string Vinfo_dir;
  125. extern string Vdata_dir;
  126. extern string Vlibexec_dir;
  127. extern string Varch_lib_dir;
  128. extern string Vlocal_arch_lib_dir;
  129. extern string Vfcn_file_dir;
  130.  
  131. // The path that will be searched for programs that we execute.
  132. // (--exec-path path)
  133. extern string Vexec_path;
  134.  
  135. // And the cached directory path corresponding to Vload_path.
  136. extern dir_path Vload_path_dir_path;
  137.  
  138. // Name of the editor to be invoked by the edit_history command.
  139. extern string Veditor;
  140.  
  141. extern string Vimagepath;
  142.  
  143. extern string Vlocal_site_defaults_file;
  144. extern string Vsite_defaults_file;
  145.  
  146. extern string maybe_add_default_load_path (const string& pathstring);
  147.  
  148. extern void install_defaults (void);
  149.  
  150. #endif
  151.  
  152. /*
  153. ;;; Local Variables: ***
  154. ;;; mode: C++ ***
  155. ;;; page-delimiter: "^/\\*" ***
  156. ;;; End: ***
  157. */
  158.