BSD 4_4 release
[unix-history] / usr / src / usr.bin / mail / pathnames.h
index c331e36..13a7672 100644 (file)
@@ -1,37 +1,42 @@
-/*     pathnames.h     2.6     83/08/11        */
-
 /*
 /*
- * Declarations and constants specific to an installation.
+ * Copyright (c) 1989, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *     This product includes software developed by the University of
+ *     California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
  *
  *
- * Vax/Unix version 7.
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ *     @(#)pathnames.h 8.1 (Berkeley) 6/6/93
  */
 
  */
 
-#define        GETHOST                         /* System has gethostname syscall */
-#ifdef GETHOST
-#define        LOCAL           EMPTYID         /* Dynamically determined local host */
-#else
-#define        LOCAL           'j'             /* Local host id */
-#endif GETHOST
-
-#define        MAIL            "/bin/mail"     /* Name of mail sender */
-#define SENDMAIL       "/usr/lib/sendmail"
-                                       /* Name of classy mail deliverer */
-#define        EDITOR          "/usr/ucb/ex"   /* Name of text editor */
-#define        VISUAL          "/usr/ucb/vi"   /* Name of display editor */
-#define        SHELL           "/bin/csh"      /* Standard shell */
-#define        MORE            "/usr/ucb/more" /* Standard output pager */
-#define        HELPFILE        "/usr/lib/Mail.help"
-                                       /* Name of casual help file */
-#define        THELPFILE       "/usr/lib/Mail.help.~"
-#define        POSTAGE         "/usr/adm/maillog"
-                                       /* Where to audit mail sending */
-                                       /* Name of casual tilde help */
-#define        UIDMASK         0177777         /* Significant uid bits */
-#define        MASTER          "/usr/lib/Mail.rc"
-#define        APPEND                          /* New mail goes to end of mailbox */
-#define CANLOCK                                /* Locking protocol actually works */
-#define        UTIME                           /* System implements utime(2) */
+#include <paths.h>
 
 
-#ifndef VMUNIX
-#include "sigretro.h"                  /* Retrofit signal defs */
-#endif VMUNIX
+#define        _PATH_EX        "/usr/bin/ex"
+#define        _PATH_HELP      "/usr/share/misc/mail.help"
+#define        _PATH_TILDE     "/usr/share/misc/mail.tildehelp"
+#define        _PATH_MASTER_RC "/etc/mail.rc"
+#define        _PATH_MORE      "/usr/bin/more"