home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Unix / Shells / tcsh / Source / pathnames.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-21  |  4.8 KB  |  153 lines

  1. /* $Header: /u/christos/src/tcsh-6.03/RCS/pathnames.h,v 3.11 1992/11/20 08:56:38 christos Exp $ */
  2. /*
  3.  * pathnames.h: Location of things to find
  4.  */
  5. /*-
  6.  * Copyright (c) 1980, 1991 The Regents of the University of California.
  7.  * All rights reserved.
  8.  *
  9.  * Redistribution and use in source and binary forms, with or without
  10.  * modification, are permitted provided that the following conditions
  11.  * are met:
  12.  * 1. Redistributions of source code must retain the above copyright
  13.  *    notice, this list of conditions and the following disclaimer.
  14.  * 2. Redistributions in binary form must reproduce the above copyright
  15.  *    notice, this list of conditions and the following disclaimer in the
  16.  *    documentation and/or other materials provided with the distribution.
  17.  * 3. All advertising materials mentioning features or use of this software
  18.  *    must display the following acknowledgement:
  19.  *    This product includes software developed by the University of
  20.  *    California, Berkeley and its contributors.
  21.  * 4. Neither the name of the University nor the names of its contributors
  22.  *    may be used to endorse or promote products derived from this software
  23.  *    without specific prior written permission.
  24.  *
  25.  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  26.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  27.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  28.  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  29.  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  30.  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  31.  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  32.  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  33.  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  34.  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  35.  * SUCH DAMAGE.
  36.  */
  37. #ifndef _h_pathnames
  38. #define _h_pathnames
  39.  
  40. #if defined(CMUCS) && !defined(_PATH_LOCAL)
  41. # define _PATH_LOCAL        "/usr/cs/bin"
  42. #endif /* CMUCS && !_PATH_LOCAL */
  43.  
  44. #if defined(_CRAYCOM) && !defined(_PATH_LOCAL)
  45. # define _PATH_LOCAL        "/usr/lbin"
  46. #endif /* _CRAYCOM && !_PATH_LOCAL */
  47.  
  48. #if defined(convex) || defined(stellar) || defined(INTEL)
  49. # ifndef _PATH_DOTLOGIN
  50. #  define _PATH_DOTLOGIN    "/etc/login"
  51. # endif /* !_PATH_DOTLOGIN */
  52. # ifndef _PATH_DOTLOGOUT
  53. #  define _PATH_DOTLOGOUT    "/etc/logout"
  54. # endif /* !_PATH_DOTLOGOUT */
  55. # ifndef _PATH_DOTCSHRC
  56. #  define _PATH_DOTCSHRC    "/etc/cshrc"
  57. # endif /* !_PATH_DOTCSHRC */
  58. #endif /* convex || stellar || INTEL */
  59.  
  60. #ifdef NeXT
  61. # ifndef _PATH_DOTLOGIN
  62. #  define _PATH_DOTLOGIN    "/etc/login.std"
  63. # endif /* !_PATH_DOTLOGIN */
  64. # ifndef _PATH_DOTLOGOUT
  65. #  define _PATH_DOTLOGOUT    "/etc/logout.std"
  66. # endif /* !_PATH_DOTLOGOUT */
  67. # ifndef _PATH_DOTCSHRC
  68. #  define _PATH_DOTCSHRC    "/etc/cshrc.std"
  69. # endif /* !_PATH_DOTCSHRC */
  70. #endif /* NeXT */
  71.  
  72. #if defined(sgi) || defined(OREO) || defined(cray) || defined(AMIX) || defined(CDC)
  73. # ifndef _PATH_DOTLOGIN
  74. #  define _PATH_DOTLOGIN    "/etc/cshrc"
  75. # endif /* !_PATH_DOTLOGIN */
  76. #endif /* sgi || OREO || cray || AMIX || CDC */
  77.  
  78. #if defined(_CRAYCOM) && !defined(_PATH_TCSHELL)
  79. # define _PATH_TCSHELL        "/bin/tcsh"        /* 1st class shell */
  80. #endif /* _CRAYCOM && !_PATH_TCSHELL */
  81.  
  82. #if defined(_MINIX) && !defined(_PATH_TCSHELL)
  83. # define _PATH_TCSHELL        "/local/bin/tcsh"    /* use ram disk */
  84. #endif /* _MINIX && !_PATH_TCSHELL */
  85.  
  86. #if defined(__EMX__) && !defined(_PATH_DEVNULL)
  87. # define _PATH_DEVNULL        "nul"
  88. #endif /* __EMX__ && !_PATH_DEVNULL */
  89.  
  90. #ifndef _PATH_LOCAL
  91. # define _PATH_LOCAL        "/usr/local/bin"
  92. #endif /* !_PATH_LOCAL */
  93.  
  94. #ifndef _PATH_USRBIN
  95. # define _PATH_USRBIN        "/usr/bin"
  96. #endif /* !_PATH_USRBIN */
  97.  
  98. #ifndef _PATH_USRUCB
  99. # define _PATH_USRUCB        "/usr/ucb"
  100. #endif /* !_PATH_USRUCB */
  101.  
  102. #ifndef _PATH_USRBSD
  103. # define _PATH_USRBSD        "/usr/bsd"
  104. #endif /* !_PATH_USRBSD */
  105.  
  106. #ifndef _PATH_BIN
  107. # define _PATH_BIN        "/bin"
  108. #endif /* !_PATH_BIN */
  109.  
  110. #ifndef _PATH_DOTCSHRC
  111. # define _PATH_DOTCSHRC        "/etc/csh.cshrc"
  112. #endif /* !_PATH_DOTCSHRC */
  113.  
  114. #ifndef _PATH_DOTLOGIN
  115. # define _PATH_DOTLOGIN        "/etc/csh.login"
  116. #endif /* !_PATH_DOTLOGIN */
  117.  
  118. #ifndef _PATH_DOTLOGOUT
  119. # define _PATH_DOTLOGOUT    "/etc/csh.logout"
  120. #endif /* !_PATH_DOTLOGOUT */
  121.  
  122. #ifndef _PATH_DEVNULL
  123. # define _PATH_DEVNULL        "/dev/null"
  124. #endif /* !_PATH_DEVNULL */
  125.  
  126. #ifndef _PATH_BSHELL
  127. # define _PATH_BSHELL        "/bin/sh"
  128. #endif /* !_PATH_BSHELL */
  129.  
  130. #ifndef _PATH_CSHELL
  131. # define _PATH_CSHELL         "/bin/csh"
  132. #endif /* !_PATH_CSHELL */
  133.  
  134. #ifndef _PATH_TCSHELL
  135. #  define _PATH_TCSHELL        "/usr/local/bin/tcsh"
  136. #endif /* !_PATH_TCSHELL */
  137.  
  138. #ifndef _PATH_LOGIN
  139. # define _PATH_LOGIN        "/bin/login"
  140. #endif /* !_PATH_LOGIN */
  141.  
  142. #ifndef _PATH_BIN_NEWGRP
  143. # define _PATH_BIN_NEWGRP    "/bin/newgrp"
  144. #endif /* _PATH_BIN_NEWGRP */
  145.  
  146. #ifndef _PATH_USRBIN_NEWGRP
  147. # define _PATH_USRBIN_NEWGRP    "/usr/bin/newgrp"
  148. #endif /* _PATH_USRBIN_NEWGRP */
  149.  
  150.  
  151.  
  152. #endif /* _h_pathnames */
  153.