1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail

This commit is contained in:
chase 2018-05-19 20:54:27 -05:00 committed by Jon Trulson
parent 07900bd93b
commit 0fa51f280f
23 changed files with 64 additions and 90 deletions

View file

@ -262,7 +262,7 @@ for the processing of
</Para></RefSect1> </Para></RefSect1>
<![ %CDE.C.CDE; [<RefSect1> <![ %CDE.C.CDE; [<RefSect1>
<Title>FILES</Title> <Title>FILES</Title>
<Para><Filename>/usr/spool/calendar/callog.username</Filename>, <Para><Filename>/var/spool/calendar/callog.username</Filename>,
<Filename>/usr/dt/bin/rpc.cmsd</Filename></Para> <Filename>/usr/dt/bin/rpc.cmsd</Filename></Para>
</RefSect1>]]> </RefSect1>]]>
<RefSect1> <RefSect1>

View file

@ -302,7 +302,7 @@ for the specified view span, including the appointment just
</Para></RefSect1> </Para></RefSect1>
<![ %CDE.C.CDE; [<RefSect1> <![ %CDE.C.CDE; [<RefSect1>
<Title>FILES</Title> <Title>FILES</Title>
<Para><Filename>/usr/spool/calendar/callog.username</Filename>, <Para><Filename>/var/spool/calendar/callog.username</Filename>,
<Filename>/usr/dt/bin/rpc.cmsd</Filename></Para> <Filename>/usr/dt/bin/rpc.cmsd</Filename></Para>
</RefSect1>]]> </RefSect1>]]>
<RefSect1> <RefSect1>

View file

@ -264,7 +264,7 @@ for the specified view
</Para></RefSect1> </Para></RefSect1>
<![ %CDE.C.CDE; [<RefSect1> <![ %CDE.C.CDE; [<RefSect1>
<Title>FILES</Title> <Title>FILES</Title>
<Para><Filename>/usr/spool/calendar/callog.username</Filename>, <Para><Filename>/var/spool/calendar/callog.username</Filename>,
<Filename>/usr/dt/bin/rpc.cmsd</Filename></Para> <Filename>/usr/dt/bin/rpc.cmsd</Filename></Para>
</RefSect1>]]> </RefSect1>]]>
<RefSect1> <RefSect1>

View file

@ -1625,7 +1625,7 @@ the following default environment:</para>
</refsect2> </refsect2>
<refsect2> <refsect2>
<title>MAIL</title> <title>MAIL</title>
<para>is set to <Filename>/usr/mail/$USER</Filename> (system dependent)</para> <para>is set to <Filename>/var/mail/$USER</Filename> (system dependent)</para>
</refsect2> </refsect2>
<refsect2> <refsect2>
<title>PATH</title> <title>PATH</title>
@ -1673,7 +1673,7 @@ constants because no shell is used to parse the string. See the Resources
section for details on setting this resource.</para> section for details on setting this resource.</para>
<para>For example:</para> <para>For example:</para>
<programlisting> <programlisting>
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
</programlisting> </programlisting>
<para>Finally, personal environment variables can be set on a per-user basis <para>Finally, personal environment variables can be set on a per-user basis
in the script file <Filename>$HOME/.dtprofile</Filename>.</para> in the script file <Filename>$HOME/.dtprofile</Filename>.</para>

View file

@ -422,7 +422,7 @@ Refer to
<Term><Emphasis>MAIL</Emphasis></Term> <Term><Emphasis>MAIL</Emphasis></Term>
<ListItem> <ListItem>
<Para>Is set to <Para>Is set to
<Filename>/usr/mail/$USER</Filename> (system dependent). <Filename>/var/mail/$USER</Filename> (system dependent).
Refer to Refer to
&cdeman.dtlogin; for more information. &cdeman.dtlogin; for more information.
</Para> </Para>

View file

@ -516,7 +516,7 @@ sets the following environment variables for each user:
<VarListEntry> <VarListEntry>
<Term>MAIL</Term> <Term>MAIL</Term>
<ListItem> <ListItem>
<Para>set to "/usr/mail/$USER" <Para>set to "/var/mail/$USER"
</Para> </Para>
</ListItem> </ListItem>
</VarListEntry> </VarListEntry>
@ -632,7 +632,7 @@ section and a section for variables that apply to both environments.</Para>
stty ... stty ...
tset ... tset ...
DISPLAY=mydisplay:0 DISPLAY=mydisplay:0
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
EDITOR=/bin/vi EDITOR=/bin/vi
... ...
fi fi
@ -656,7 +656,7 @@ section and a section for variables that apply to both environments.</Para>
stty ... stty ...
tset ... tset ...
setenv DISPLAY mydisplay:0 setenv DISPLAY mydisplay:0
setenv MAIL /usr/mail/$USER setenv MAIL /var/mail/$USER
setenv EDITOR /bin/vi setenv EDITOR /bin/vi
... ...
fi fi

View file

@ -498,7 +498,7 @@ jeden Benutzer fest:
<VarListEntry> <VarListEntry>
<Term>MAIL</Term> <Term>MAIL</Term>
<ListItem> <ListItem>
<Para>festgelegt auf "/usr/mail/$USER" <Para>festgelegt auf "/var/mail/$USER"
</Para> </Para>
</ListItem> </ListItem>
</VarListEntry> </VarListEntry>
@ -614,7 +614,7 @@ beide Umgebungen g
stty ... stty ...
tset ... tset ...
DISPLAY=mydisplay:0 DISPLAY=mydisplay:0
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
EDITOR=/bin/vi EDITOR=/bin/vi
... ...
fi fi
@ -638,7 +638,7 @@ beide Umgebungen g
stty ... stty ...
tset ... tset ...
setenv DISPLAY mydisplay:0 setenv DISPLAY mydisplay:0
setenv MAIL /usr/mail/$USER setenv MAIL /var/mail/$USER
setenv EDITOR /bin/vi setenv EDITOR /bin/vi
... ...
fi fi

View file

@ -409,7 +409,7 @@ de entorno para cada usuario:</para>
</varlistentry> </varlistentry>
<varlistentry><term>MAIL</term> <varlistentry><term>MAIL</term>
<listitem> <listitem>
<para>se establece en "/usr/mail/$USER"</para> <para>se establece en "/var/mail/$USER"</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry><term>PATH</term> <varlistentry><term>PATH</term>
@ -500,7 +500,7 @@ ambos entornos.</para>
stty ... stty ...
tset ... tset ...
DISPLAY=mydisplay:0 DISPLAY=mydisplay:0
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
EDITOR=/bin/vi EDITOR=/bin/vi
... ...
fi fi
@ -523,7 +523,7 @@ ambos entornos.</para>
stty ... stty ...
tset ... tset ...
setenv DISPLAY mydisplay:0 setenv DISPLAY mydisplay:0
setenv MAIL /usr/mail/$USER setenv MAIL /var/mail/$USER
setenv EDITOR /bin/vi setenv EDITOR /bin/vi
... ...
fi fi

View file

@ -414,7 +414,7 @@ Bureau.</para>
</varlistentry> </varlistentry>
<varlistentry><term>MAIL</term> <varlistentry><term>MAIL</term>
<listitem> <listitem>
<para>prend la valeur "/usr/mail/$USER".</para> <para>prend la valeur "/var/mail/$USER".</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry><term>PATH</term> <varlistentry><term>PATH</term>
@ -506,7 +506,7 @@ qui s'appliquent aux deux environnements.</para>
stty ... stty ...
tset ... tset ...
DISPLAY=mydisplay:0 DISPLAY=mydisplay:0
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
EDITOR=/bin/vi EDITOR=/bin/vi
... ...
fi fi
@ -529,7 +529,7 @@ qui s'appliquent aux deux environnements.</para>
stty ... stty ...
tset ... tset ...
setenv DISPLAY mydisplay:0 setenv DISPLAY mydisplay:0
setenv MAIL /usr/mail/$USER setenv MAIL /var/mail/$USER
setenv EDITOR /bin/vi setenv EDITOR /bin/vi
... ...
fi fi

View file

@ -405,7 +405,7 @@ per ogni utente:</para>
</varlistentry> </varlistentry>
<varlistentry><term>MAIL</term> <varlistentry><term>MAIL</term>
<listitem> <listitem>
<para>viene impostata come "/usr/mail/$USER"</para> <para>viene impostata come "/var/mail/$USER"</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry><term>PATH</term> <varlistentry><term>PATH</term>
@ -497,7 +497,7 @@ senza il desktop e in una per le variabili applicabili a entrambi gli ambienti.
stty ... stty ...
tset ... tset ...
DISPLAY=mydisplay:0 DISPLAY=mydisplay:0
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
EDITOR=/bin/vi EDITOR=/bin/vi
... ...
fi fi
@ -519,7 +519,7 @@ senza il desktop e in una per le variabili applicabili a entrambi gli ambienti.
stty ... stty ...
tset ... tset ...
setenv DISPLAY mydisplay:0 setenv DISPLAY mydisplay:0
setenv MAIL /usr/mail/$USER setenv MAIL /var/mail/$USER
setenv EDITOR /bin/vi setenv EDITOR /bin/vi
... ...
fi fi

View file

@ -502,7 +502,7 @@
<VarListEntry> <VarListEntry>
<Term>MAIL</Term> <Term>MAIL</Term>
<ListItem> <ListItem>
<Para> "/usr/mail/$USER" に肋年します。 <Para> "/var/mail/$USER" に肋年します。
</Para> </Para>
</ListItem> </ListItem>
</VarListEntry> </VarListEntry>
@ -609,7 +609,7 @@
stty ... stty ...
tset ... tset ...
DISPLAY=mydisplay:0 DISPLAY=mydisplay:0
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
EDITOR=/bin/vi EDITOR=/bin/vi
... ...
fi fi
@ -633,7 +633,7 @@
stty ... stty ...
tset ... tset ...
setenv DISPLAY mydisplay:0 setenv DISPLAY mydisplay:0
setenv MAIL /usr/mail/$USER setenv MAIL /var/mail/$USER
setenv EDITOR /bin/vi setenv EDITOR /bin/vi
... ...
fi fi

View file

@ -1080,7 +1080,7 @@
The full path name of an execute file is a form of the following: The full path name of an execute file is a form of the following:
/usr/spool/uucp/System/X.SystemNxxxx /var/spool/uucp/System/X.SystemNxxxx
After creating the files in the spooling directory, the uux com- After creating the files in the spooling directory, the uux com-
mand calls the uucico daemon to transfer the files from the mand calls the uucico daemon to transfer the files from the
@ -1159,7 +1159,7 @@
system name. system name.
Note: The notation \~ (tilde) is the shorthand way of specifying Note: The notation \~ (tilde) is the shorthand way of specifying
the public spooling directory, /usr/spool/uucppublic. the public spooling directory, /var/spool/uucppublic.
Flags Flags
@ -1260,7 +1260,7 @@
pared to the /u/amy/f2 file on the remote system hera and the pared to the /u/amy/f2 file on the remote system hera and the
output is placed in the f1.diff file in the local public directo- output is placed in the f1.diff file in the local public directo-
ry (the full path name of this file is ry (the full path name of this file is
/usr/spool/uucppublic/f1.diff). The destina- /var/spool/uucppublic/f1.diff). The destina-
tion name must be entered either preceded by a > with the whole tion name must be entered either preceded by a > with the whole
command string enclosed in " " (quotation marks) or entered en- command string enclosed in " " (quotation marks) or entered en-
closed in braces and backslashes, as \{ DestinationName \}. closed in braces and backslashes, as \{ DestinationName \}.
@ -1327,9 +1327,9 @@
/usr/bin/uux Specifies the command pathname. /usr/bin/uux Specifies the command pathname.
/usr/spool/uucp Is the spooling directory. /var/spool/uucp Is the spooling directory.
/usr/spool/uucppublic Is the public directory. /var/spool/uucppublic Is the public directory.
Suggested Reading Suggested Reading
@ -3695,7 +3695,7 @@
Files Files
/usr/spool/rwho/whod.* Indicates data files received from remote /var/spool/rwho/whod.* Indicates data files received from remote
rwhod daemons. rwhod daemons.
/usr/ucb/ruptime Command executable file. /usr/ucb/ruptime Command executable file.
@ -6158,7 +6158,7 @@
Files Files
/usr/spool/Mail/$USER file Defines the location of the mail drop. /var/Mail/$USER file Defines the location of the mail drop.
/usr/bin/mhmail file Contains the executable form of the mhmail /usr/bin/mhmail file Contains the executable form of the mhmail
command. command.
@ -6213,7 +6213,7 @@
destination files and the sender's login name. The full path destination files and the sender's login name. The full path
name of a command file is a form of the following: name of a command file is a form of the following:
/usr/spool/uucp/SystemName/C.SystemNameNxxxx /var/spool/uucp/SystemName/C.SystemNameNxxxx
where N is the grade of the request and xxxx is the hexadecimal where N is the grade of the request and xxxx is the hexadecimal
sequence number used by BNU. sequence number used by BNU.
@ -6224,7 +6224,7 @@
the actual source file. The full path name of a data file is a the actual source file. The full path name of a data file is a
form of the following: form of the following:
/usr/spool/uucp/SystemName/D.SystemNamexxxx### /var/spool/uucp/SystemName/D.SystemNamexxxx###
Once the command files (and data files, if necessary) are creat- Once the command files (and data files, if necessary) are creat-
ed, the uucp command then calls the uucico daemon, which in turn ed, the uucp command then calls the uucico daemon, which in turn
@ -6283,11 +6283,11 @@
User is a login name on the remote system. The specified User is a login name on the remote system. The specified
user's login directory is then considered the destination of the user's login directory is then considered the destination of the
transfer. If the user specifies an invalid login name, the files transfer. If the user specifies an invalid login name, the files
are transferred to the public directory, /usr/spool/uucppublic, are transferred to the public directory, /var/spool/uucppublic,
which is the default. which is the default.
* A path name preceded by \~/Destination, where Destination is ap- * A path name preceded by \~/Destination, where Destination is ap-
pended to /usr/spool/uucppublic. The destination is treated as a pended to /var/spool/uucppublic. The destination is treated as a
file name unless more than one file is being transferred by the file name unless more than one file is being transferred by the
request, the destination already exists as a directory on the re- request, the destination already exists as a directory on the re-
mote system, or the destination is specified as a directory. mote system, or the destination is specified as a directory.
@ -6363,7 +6363,7 @@
-m Sends a mail message to the requester when the source file is -m Sends a mail message to the requester when the source file is
successfully copied to the destination file on a remote system. successfully copied to the destination file on a remote system.
The message is sent to the requester's mailbox, The message is sent to the requester's mailbox,
/usr/spool/mail/User. The mail com- /var/mail/User. The mail com-
mand does not send a message for a local transfer. mand does not send a message for a local transfer.
The -m flag works only when sending files or receiving a single The -m flag works only when sending files or receiving a single
@ -6403,7 +6403,7 @@
2. To copy a file from the remote system and place it in the pub- 2. To copy a file from the remote system and place it in the pub-
lic directory, enter: lic directory, enter:
uucp hera!geo/f2 /usr/spool/uucppublic/f2 uucp hera!geo/f2 /var/spool/uucppublic/f2
In this example, the f2 file from remote system hera is copied In this example, the f2 file from remote system hera is copied
and placed in the public directory. and placed in the public directory.
@ -6432,15 +6432,15 @@
/usr/lib/uucp/Systems File describing accessible remote systems /usr/lib/uucp/Systems File describing accessible remote systems
/usr/spool/uucp Spooling directory containing BNU status informa- /var/spool/uucp Spooling directory containing BNU status informa-
tion tion
/usr/spool/uucppublic Public directory containing files awaiting /var/spool/uucppublic Public directory containing files awaiting
transfer by the uucico daemon transfer by the uucico daemon
/usr/spool/uucppublic/SystemName/ C.* Command files /var/spool/uucppublic/SystemName/ C.* Command files
/usr/spool/uucppublic/SystemName/ D.* Data files. /var/spool/uucppublic/SystemName/ D.* Data files.
Suggested Reading Suggested Reading
@ -6561,7 +6561,7 @@
Example Example
To run the uudemon.admin command automatically, edit the To run the uudemon.admin command automatically, edit the
/usr/spool/cron/crontabs/uucp file and remove /var/spool/cron/crontabs/uucp file and remove
the comment character (#) from the beginning of the the comment character (#) from the beginning of the
uudemon.admin command line. Change: uudemon.admin command line. Change:
@ -6598,7 +6598,7 @@
/etc/locks directory Contains lock files which prevent multiple /etc/locks directory Contains lock files which prevent multiple
uses of devices and multiple calls to systems. uses of devices and multiple calls to systems.
/usr/spool/cron/crontabs/uucp file Schedules BNU jobs, including /var/spool/cron/crontabs/uucp file Schedules BNU jobs, including
the uudemon.admin command, for the cron daemon. the uudemon.admin command, for the cron daemon.
Suggested Reading Suggested Reading
@ -8396,7 +8396,7 @@
/usr/lib/mh/mtstailor file Tailors the MH environment to the local /usr/lib/mh/mtstailor file Tailors the MH environment to the local
environment. environment.
/usr/spool/mail/$USER file Speciefies the location of the mail /var/mail/$USER file Speciefies the location of the mail
drop. drop.
/usr/bin/inc file Contains the executable form of the inc command. /usr/bin/inc file Contains the executable form of the inc command.
@ -10656,7 +10656,7 @@
and then adds this message to the user's mailbox. and then adds this message to the user's mailbox.
The action of the bellmail command can be modified in two ways by The action of the bellmail command can be modified in two ways by
manipulating the /usr/spool/mail/UserID mailbox file: manipulating the /var/mail/UserID mailbox file:
* The default permission assignment for "others" is "all permis- * The default permission assignment for "others" is "all permis-
sions denied" (660). If you change this permission to sions denied" (660). If you change this permission to
@ -10686,7 +10686,7 @@
Flags Flags
-dDirectoryPath Saves mail in the named directory instead of the -dDirectoryPath Saves mail in the named directory instead of the
default directory, /usr/spool/mail. Cannot be specified with the default directory, /var/mail. Cannot be specified with the
-fFile flag. -fFile flag.
-e Does not display any messages. This flag causes the bellmail -e Does not display any messages. This flag causes the bellmail
@ -10737,7 +10737,7 @@
p Displays the current message again. p Displays the current message again.
q Writes any mail not yet deleted to the /usr/spool/mail/UserID q Writes any mail not yet deleted to the /var/mail/UserID
file and exits. Pressing END OF FILE (Ctrl-D) has the same ef- file and exits. Pressing END OF FILE (Ctrl-D) has the same ef-
fect. fect.
@ -10747,7 +10747,7 @@
w [File] Saves the message, without its postmark, in the specified w [File] Saves the message, without its postmark, in the specified
File parameter instead of in the default mail file $HOME/mbox. File parameter instead of in the default mail file $HOME/mbox.
x Writes all mail unchanged to /usr/spool/mail/UserID and exits. x Writes all mail unchanged to /var/mail/UserID and exits.
Examples Examples
@ -10811,9 +10811,9 @@
$HOME/mbox Your personal mailbox $HOME/mbox Your personal mailbox
/usr/mail/*.lock Lock for mail directory /var/mail/*.lock Lock for mail directory
/usr/spool/mail/UserID Default system mailbox for UserID /var/mail/UserID Default system mailbox for UserID
/usr/bin/bellmail Bellmail program. /usr/bin/bellmail Bellmail program.
@ -10892,7 +10892,7 @@
Files Files
/usr/spool/mail/* System mailboxes for all users /var/mail/* System mailboxes for all users
/usr/bin/from User mailbox files /usr/bin/from User mailbox files

View file

@ -165,13 +165,7 @@ WidgetClass dtControlGadgetClass;
#define UNSPECIFIED_DIMENSION 9999 #define UNSPECIFIED_DIMENSION 9999
#define UNSPECIFIED_CHAR 255 #define UNSPECIFIED_CHAR 255
#ifdef _SUN_OS
static const char _DtMsgIndicator_0000[] = "/var/mail/"; static const char _DtMsgIndicator_0000[] = "/var/mail/";
#elif defined(__osf__)
static const char _DtMsgIndicator_0000[] = "/usr/spool/mail/";
#else
static const char _DtMsgIndicator_0000[] = "/usr/mail/";
#endif
#define MAIL_DIR _DtMsgIndicator_0000 #define MAIL_DIR _DtMsgIndicator_0000
#define Min(x, y) (((x) < (y)) ? (x) : (y)) #define Min(x, y) (((x) < (y)) ? (x) : (y))

View file

@ -229,13 +229,8 @@ CONST char _DtMsgIcon_0005[] =
/*** Indicator.c ***/ /*** Indicator.c ***/
#ifdef _SUN_OS
CONST char _DtMsgIndicator_0000[] = CONST char _DtMsgIndicator_0000[] =
"/usr/spool/mail/"; "/var/mail/";
#else
CONST char _DtMsgIndicator_0000[] =
"/usr/mail/";
#endif
/*** MenuButton.c ***/ /*** MenuButton.c ***/
CONST char _DtMsgMenuButton_0000[] = CONST char _DtMsgMenuButton_0000[] =

View file

@ -41,11 +41,7 @@
#define _DtCMS_DEFAULT_BAK ".calbak" #define _DtCMS_DEFAULT_BAK ".calbak"
#define _DtCMS_DEFAULT_TMP ".caltmp" #define _DtCMS_DEFAULT_TMP ".caltmp"
#define _DtCMS_DEFAULT_DEL ".caldel" #define _DtCMS_DEFAULT_DEL ".caldel"
#if defined(CSRG_BASED) || defined (linux)
#define _DtCMS_DEFAULT_DIR "/var/spool/calendar" #define _DtCMS_DEFAULT_DIR "/var/spool/calendar"
#else
#define _DtCMS_DEFAULT_DIR "/usr/spool/calendar"
#endif
#define _DtCMS_DEFAULT_MODE (S_IRUSR|S_IRGRP|S_IWGRP) #define _DtCMS_DEFAULT_MODE (S_IRUSR|S_IRGRP|S_IWGRP)
typedef enum { typedef enum {

View file

@ -1,7 +1,7 @@
/* $XConsortium: README /main/2 1996/07/15 14:13:29 drk $ */ /* $XConsortium: README /main/2 1996/07/15 14:13:29 drk $ */
Software shipment information. [better documentation forthcoming ...] Software shipment information. [better documentation forthcoming ...]
All files and directories, except for those in /usr/spool/uucppublic, All files and directories, except for those in /var/spool/uucppublic,
are rooted at the shipment/installation directory named by are rooted at the shipment/installation directory named by
$INSTALLROOT. The $INSTALLROOT hierarchy is similar to the System V $INSTALLROOT. The $INSTALLROOT hierarchy is similar to the System V
/usr hierarchy. /usr hierarchy.
@ -25,7 +25,7 @@ After each shipment:
ship/shipin ship/shipin
`ship/shipin -n' shows actions but does not unbundle or build. `ship/shipin -n' shows actions but does not unbundle or build.
`ship/shipin -s <dir>' unbundles from <dir> rather than /usr/spool/uucppublic. `ship/shipin -s <dir>' unbundles from <dir> rather than /var/spool/uucppublic.
`ship/shipin -u' unbundles the shipment but does not build. `ship/shipin -u' unbundles the shipment but does not build.
`ship/shipin -i' copies from spool area but does not unbundle or build. `ship/shipin -i' copies from spool area but does not unbundle or build.
`ship/shipin -E' rebuild components that failed last time (use after fixes). `ship/shipin -E' rebuild components that failed last time (use after fixes).
@ -72,7 +72,7 @@ Each shipment is identified by a two part version number [R]YYMMDD
R release -- if specified then it must match for compatibility R release -- if specified then it must match for compatibility
YYMMDD shipment year, month and day number YYMMDD shipment year, month and day number
/usr/spool/uucppublic/<installer-login>/<shipper-system> directory hierarchy: /var/spool/uucppublic/<installer-login>/<shipper-system> directory hierarchy:
<shipper-login>.<YYMMDD> shipment control directory <shipper-login>.<YYMMDD> shipment control directory
<shipper-login>.<YYMMDD>/manifest list of all files in shipment <shipper-login>.<YYMMDD>/manifest list of all files in shipment

View file

@ -216,7 +216,7 @@ done
export RECIPIENT export RECIPIENT
case $_uuspool_ in case $_uuspool_ in
"") case $SHIPSPOOL in "") case $SHIPSPOOL in
"") SHIPSPOOL="/usr/spool/uucppublic/$RECIPIENT/* /usr/spool/uucppublic/receive/$RECIPIENT/*" ;; "") SHIPSPOOL="/var/spool/uucppublic/$RECIPIENT/* /var/spool/uucppublic/receive/$RECIPIENT/*" ;;
esac esac
;; ;;
*) SHIPSPOOL=$_uuspool_ ;; *) SHIPSPOOL=$_uuspool_ ;;

View file

@ -56,7 +56,7 @@ SHIPFILES="README shipin shipout"
SHIPAUX="shipiffe.sh shipop.c shipproto.c" SHIPAUX="shipiffe.sh shipop.c shipproto.c"
SHIPMENT=*[0-9][0-9][0-9][0-9][0-9][0-9] SHIPMENT=*[0-9][0-9][0-9][0-9][0-9][0-9]
SHIPPER=${SHIPPER:-${USER:-${LOGNAME:-${HOME##*/}}}} SHIPPER=${SHIPPER:-${USER:-${LOGNAME:-${HOME##*/}}}}
SHIPSPOOL=${SHIPSPOOL:-/usr/spool/uucppublic} SHIPSPOOL=${SHIPSPOOL:-/var/spool/uucppublic}
SHIPORG=${SHIPORG:-"Software and Systems Research"} SHIPORG=${SHIPORG:-"Software and Systems Research"}
SHIPLOGO=${SHIPLOGO:-"http://www1126.research.att.com/logos/attbllogo.gif align=middle"} SHIPLOGO=${SHIPLOGO:-"http://www1126.research.att.com/logos/attbllogo.gif align=middle"}
SHIPMM2HTML=${SHIPMM2HTML:-mm2html} SHIPMM2HTML=${SHIPMM2HTML:-mm2html}

View file

@ -238,7 +238,7 @@ const char e_stdprompt[] = "$ ";
const char e_profile[] = "${HOME:-.}/.profile"; const char e_profile[] = "${HOME:-.}/.profile";
const char e_sysprofile[] = PROFILEPATH; const char e_sysprofile[] = PROFILEPATH;
const char e_suidprofile[] = SUIDPROFILEPATH; const char e_suidprofile[] = SUIDPROFILEPATH;
const char e_crondir[] = "/usr/spool/cron/atjobs"; const char e_crondir[] = "/var/spool/cron/atjobs";
const char e_prohibited[] = "login setuid/setgid shells prohibited"; const char e_prohibited[] = "login setuid/setgid shells prohibited";
#ifdef SHOPT_SUID_EXEC #ifdef SHOPT_SUID_EXEC
const char e_suidexec[] = SUIDEXECPATH; const char e_suidexec[] = SUIDEXECPATH;

View file

@ -63,11 +63,6 @@ XCOMM ##########################################################################
# define cpp_HELLO "$DT_BINPATH/dthello -file $DT_INSTALL/copyright &" # define cpp_HELLO "$DT_BINPATH/dthello -file $DT_INSTALL/copyright &"
#endif #endif
#ifdef __osf__
# undef cpp_MAIL
# define cpp_MAIL "/usr/spool/mail/$USER"
#endif
#if defined (__hpux) && defined (BLS) #if defined (__hpux) && defined (BLS)
# undef cpp_HELLO # undef cpp_HELLO
# define cpp_HELLO "$DT_BINPATH/dthello -file /etc/copyright -file $HOME/.dtlogininfo &" # define cpp_HELLO "$DT_BINPATH/dthello -file /etc/copyright -file $HOME/.dtlogininfo &"
@ -118,7 +113,7 @@ XCOMM ##########################################################################
#endif #endif
#if !defined (cpp_MAIL) #if !defined (cpp_MAIL)
# define cpp_MAIL "/usr/mail/$USER" # define cpp_MAIL "/var/mail/$USER"
#endif #endif
#if !defined (cpp_HELLO) #if !defined (cpp_HELLO)

View file

@ -176,7 +176,7 @@ environment:
LC_ALL is set to the current NLS language (if any) LC_ALL is set to the current NLS language (if any)
LC_MESSAGES is set to the current NLS language (if any) LC_MESSAGES is set to the current NLS language (if any)
LOGNAME is set to the user name LOGNAME is set to the user name
MAIL is set to /usr/mail/$USER MAIL is set to /var/mail/$USER
PATH is set to the value of the \fBuserPath\fP resource PATH is set to the value of the \fBuserPath\fP resource
USER is set to the user name USER is set to the user name
SHELL is set to the user's default shell (from /etc/passwd) SHELL is set to the user's default shell (from /etc/passwd)
@ -225,7 +225,7 @@ For example.
.nf .nf
.ta .5i 3i .ta .5i 3i
MAIL=/usr/mail/$USER MAIL=/var/mail/$USER
.fi .fi
.sp 1 .sp 1
Finally, personal environment variables can be set on a per-user basis Finally, personal environment variables can be set on a per-user basis

View file

@ -345,8 +345,8 @@ typedef struct
char *line; char *line;
} StatusLineStruct, *StatusLine, **StatusLineList; } StatusLineStruct, *StatusLine, **StatusLineList;
#define TMP_DIR "/usr/spool/lp/tmp" #define TMP_DIR "/var/spool/lp/tmp"
#define REQ_DIR "/usr/spool/lp/requests/%s/" #define REQ_DIR "/var/spool/lp/requests/%s/"
#define SPOOL_DIR "/var/spool/lp/tmp/%s/" #define SPOOL_DIR "/var/spool/lp/tmp/%s/"
static void check_dir(char *printer, char *tmp_dir, StatusLineList *job_list, static void check_dir(char *printer, char *tmp_dir, StatusLineList *job_list,

View file

@ -181,16 +181,10 @@ Dtwm*VersionDialog_popup*columns: %|nls-6-40^columns|
!# !#
!# Specify the file name to use to check the mail indicator !# Specify the file name to use to check the mail indicator
!# !#
!# Default is /usr/mail/$LOGNAME. !# Default is /var/mail/$LOGNAME.
!# !#
!#### !####
#ifdef __osf__
Dtwm*Mail*fileName: /usr/spool/mail/$LOGNAME
#elif defined(linux)
Dtwm*Mail*fileName: /var/mail/$LOGNAME Dtwm*Mail*fileName: /var/mail/$LOGNAME
#else
!# Dtwm*Mail*fileName: /usr/mail/$LOGNAME
#endif
!#### !####
!# !#