xref: /titanic_44/usr/src/cmd/mailx/hdr/usg.local.h (revision 49b225e1cfa7bbf7738d4df0a03f18e3283426eb)
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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
42 
43 /*
44  * Declarations and constants specific to an installation.
45  */
46 
47 /*
48  * mailx -- a modified version of a University of California at Berkeley
49  *	mail program
50  */
51 
52 #define	LOCAL		EMPTYID		/* Dynamically determined local host */
53 #ifdef preSVr4
54 # define	MAIL	"/bin/rmail"	/* Mail delivery agent */
55 #else
56 # define	MAIL	"/usr/bin/rmail"/* Mail delivery agent */
57 #endif
58 #define SENDMAIL	"/usr/lib/sendmail"
59 					/* Name of classy mail deliverer */
60 #define	EDITOR		"ed"		/* Name of text editor */
61 #define	VISUAL		"vi"		/* Name of display editor */
62 #define	PG		(value("PAGER") ? value("PAGER") : \
63 			    (value("bsdcompat") ? "more" : "pg -e"))
64 					/* Standard output pager */
65 #define	MORE		PG
66 #define	LS		(value("LISTER") ? value("LISTER") : "ls")
67 					/* Name of directory listing prog*/
68 #ifdef preSVr4
69 # define	SHELL	"/bin/sh"	/* Standard shell */
70 #else
71 # define	SHELL	"/usr/bin/sh"	/* Standard shell */
72 #endif
73 #define	HELPFILE	helppath("mailx.help")
74 					/* Name of casual help file */
75 #define	THELPFILE	helppath("mailx.help.~")
76 					/* Name of casual tilde help */
77 #ifdef preSVr4
78 # define	MASTER	(value("bsdcompat") ? libpath("Mail.rc") : \
79 			    libpath("mailx.rc")
80 #else
81 # define	MASTER	(value("bsdcompat") ? "/etc/mail/Mail.rc" : \
82 			    "/etc/mail/mailx.rc")
83 #endif
84 #define	APPEND				/* New mail goes to end of mailbox */
85 #define CANLOCK				/* Locking protocol actually works */
86 #define	UTIME				/* System implements utime(2) */
87