xref: /illumos-gate/usr/src/cmd/mailx/hdr/usg.local.h (revision 9164a50bf932130cbb5097a16f6986873ce0e6e5)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1991 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
28 /*	  All Rights Reserved  	*/
29 
30 
31 /*
32  * University Copyright- Copyright (c) 1982, 1986, 1988
33  * The Regents of the University of California
34  * All Rights Reserved
35  *
36  * University Acknowledgment- Portions of this document are derived from
37  * software developed by the University of California, Berkeley, and its
38  * contributors.
39  */
40 
41 /*
42  * Declarations and constants specific to an installation.
43  */
44 
45 /*
46  * mailx -- a modified version of a University of California at Berkeley
47  *	mail program
48  */
49 
50 #define	LOCAL		EMPTYID		/* Dynamically determined local host */
51 #ifdef preSVr4
52 # define	MAIL	"/bin/rmail"	/* Mail delivery agent */
53 #else
54 # define	MAIL	"/usr/bin/rmail"/* Mail delivery agent */
55 #endif
56 #define SENDMAIL	"/usr/lib/sendmail"
57 					/* Name of classy mail deliverer */
58 #define	EDITOR		"ed"		/* Name of text editor */
59 #define	VISUAL		"vi"		/* Name of display editor */
60 #define	PG		(value("PAGER") ? value("PAGER") : \
61 			    (value("bsdcompat") ? "more" : "pg -e"))
62 					/* Standard output pager */
63 #define	MORE		PG
64 #define	LS		(value("LISTER") ? value("LISTER") : "ls")
65 					/* Name of directory listing prog*/
66 #ifdef preSVr4
67 # define	SHELL	"/bin/sh"	/* Standard shell */
68 #else
69 # define	SHELL	"/usr/bin/sh"	/* Standard shell */
70 #endif
71 #define	HELPFILE	helppath("mailx.help")
72 					/* Name of casual help file */
73 #define	THELPFILE	helppath("mailx.help.~")
74 					/* Name of casual tilde help */
75 #ifdef preSVr4
76 # define	MASTER	(value("bsdcompat") ? libpath("Mail.rc") : \
77 			    libpath("mailx.rc")
78 #else
79 # define	MASTER	(value("bsdcompat") ? "/etc/mail/Mail.rc" : \
80 			    "/etc/mail/mailx.rc")
81 #endif
82 #define	APPEND				/* New mail goes to end of mailbox */
83 #define CANLOCK				/* Locking protocol actually works */
84 #define	UTIME				/* System implements utime(2) */
85