file reorg, pathnames.h, paths.h
[unix-history] / usr / src / usr.bin / mail / pathnames.h
index 1e5d86e..861e7e6 100644 (file)
@@ -1,43 +1,29 @@
 /*
  * Copyright (c) 1980 Regents of the University of California.
 /*
  * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
  *
  *
- *     @(#)pathnames.h 5.2 (Berkeley) %G%
- */
-
-/*
- * Declarations and constants specific to an installation.
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  *
- * Vax/Unix version 7.
+ *     @(#)pathnames.h 5.7 (Berkeley) %G%
  */
 
  */
 
-#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.tildehelp"
-#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_MAIL_LOG  "/usr/adm/maillog"
+#define        _PATH_MASTER_RC "/usr/share/misc/Mail.rc"
+#define        _PATH_MBOX      "/var/spool/mail/"
+#define        _PATH_MORE      "/usr/bin/more"
+#define        _PATH_SENDMAIL  "/usr/libexec/sendmail"