From: chase Date: Sun, 20 May 2018 01:54:27 +0000 (-0500) Subject: Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail X-Git-Tag: 2.2.4a~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0fa51f280f15abd35fbddc5f0d4e9f04b0e59a10;p=oweals%2Fcde.git Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail --- diff --git a/cde/doc/C/guides/man/man1_dt/cm_delet.sgm b/cde/doc/C/guides/man/man1_dt/cm_delet.sgm index 55dc7b51..82f453df 100644 --- a/cde/doc/C/guides/man/man1_dt/cm_delet.sgm +++ b/cde/doc/C/guides/man/man1_dt/cm_delet.sgm @@ -262,7 +262,7 @@ for the processing of FILES -/usr/spool/calendar/callog.username, +/var/spool/calendar/callog.username, /usr/dt/bin/rpc.cmsd ]]> diff --git a/cde/doc/C/guides/man/man1_dt/cm_inser.sgm b/cde/doc/C/guides/man/man1_dt/cm_inser.sgm index bf01f6f0..210c1cf2 100644 --- a/cde/doc/C/guides/man/man1_dt/cm_inser.sgm +++ b/cde/doc/C/guides/man/man1_dt/cm_inser.sgm @@ -302,7 +302,7 @@ for the specified view span, including the appointment just FILES -/usr/spool/calendar/callog.username, +/var/spool/calendar/callog.username, /usr/dt/bin/rpc.cmsd ]]> diff --git a/cde/doc/C/guides/man/man1_dt/cm_looku.sgm b/cde/doc/C/guides/man/man1_dt/cm_looku.sgm index 1f617638..d60ba9e8 100644 --- a/cde/doc/C/guides/man/man1_dt/cm_looku.sgm +++ b/cde/doc/C/guides/man/man1_dt/cm_looku.sgm @@ -264,7 +264,7 @@ for the specified view FILES -/usr/spool/calendar/callog.username, +/var/spool/calendar/callog.username, /usr/dt/bin/rpc.cmsd ]]> diff --git a/cde/doc/C/guides/man/man1_dt/login.sgm b/cde/doc/C/guides/man/man1_dt/login.sgm index fe6b2572..3dd2bda4 100644 --- a/cde/doc/C/guides/man/man1_dt/login.sgm +++ b/cde/doc/C/guides/man/man1_dt/login.sgm @@ -1625,7 +1625,7 @@ the following default environment: MAIL -is set to /usr/mail/$USER (system dependent) +is set to /var/mail/$USER (system dependent) PATH @@ -1673,7 +1673,7 @@ constants because no shell is used to parse the string. See the Resources section for details on setting this resource. For example: -MAIL=/usr/mail/$USER +MAIL=/var/mail/$USER Finally, personal environment variables can be set on a per-user basis in the script file $HOME/.dtprofile. diff --git a/cde/doc/C/guides/man/man5/dtenvvar.sgm b/cde/doc/C/guides/man/man5/dtenvvar.sgm index 7e851d71..201d0855 100644 --- a/cde/doc/C/guides/man/man5/dtenvvar.sgm +++ b/cde/doc/C/guides/man/man5/dtenvvar.sgm @@ -422,7 +422,7 @@ Refer to MAIL Is set to -/usr/mail/$USER (system dependent). +/var/mail/$USER (system dependent). Refer to &cdeman.dtlogin; for more information. diff --git a/cde/doc/C/help/Loginmgr/Tasks.sgm b/cde/doc/C/help/Loginmgr/Tasks.sgm index 9c1d79f4..3e828747 100644 --- a/cde/doc/C/help/Loginmgr/Tasks.sgm +++ b/cde/doc/C/help/Loginmgr/Tasks.sgm @@ -516,7 +516,7 @@ sets the following environment variables for each user: MAIL -set to "/usr/mail/$USER" +set to "/var/mail/$USER" @@ -632,7 +632,7 @@ section and a section for variables that apply to both environments. stty ... tset ... DISPLAY=mydisplay:0 - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER EDITOR=/bin/vi ... fi @@ -656,7 +656,7 @@ section and a section for variables that apply to both environments. stty ... tset ... setenv DISPLAY mydisplay:0 - setenv MAIL /usr/mail/$USER + setenv MAIL /var/mail/$USER setenv EDITOR /bin/vi ... fi diff --git a/cde/doc/de_DE.ISO8859-1/help/Loginmgr/Tasks.sgm b/cde/doc/de_DE.ISO8859-1/help/Loginmgr/Tasks.sgm index 9eed122a..7523a6d9 100644 --- a/cde/doc/de_DE.ISO8859-1/help/Loginmgr/Tasks.sgm +++ b/cde/doc/de_DE.ISO8859-1/help/Loginmgr/Tasks.sgm @@ -498,7 +498,7 @@ jeden Benutzer fest: MAIL -festgelegt auf "/usr/mail/$USER" +festgelegt auf "/var/mail/$USER" @@ -614,7 +614,7 @@ beide Umgebungen g stty ... tset ... DISPLAY=mydisplay:0 - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER EDITOR=/bin/vi ... fi @@ -638,7 +638,7 @@ beide Umgebungen g stty ... tset ... setenv DISPLAY mydisplay:0 - setenv MAIL /usr/mail/$USER + setenv MAIL /var/mail/$USER setenv EDITOR /bin/vi ... fi diff --git a/cde/doc/es_ES.ISO8859-1/help/Loginmgr/Tasks.sgm b/cde/doc/es_ES.ISO8859-1/help/Loginmgr/Tasks.sgm index ca9ee7c1..e9fd132a 100644 --- a/cde/doc/es_ES.ISO8859-1/help/Loginmgr/Tasks.sgm +++ b/cde/doc/es_ES.ISO8859-1/help/Loginmgr/Tasks.sgm @@ -409,7 +409,7 @@ de entorno para cada usuario: MAIL -se establece en "/usr/mail/$USER" +se establece en "/var/mail/$USER" PATH @@ -500,7 +500,7 @@ ambos entornos. stty ... tset ... DISPLAY=mydisplay:0 - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER EDITOR=/bin/vi ... fi @@ -523,7 +523,7 @@ ambos entornos. stty ... tset ... setenv DISPLAY mydisplay:0 - setenv MAIL /usr/mail/$USER + setenv MAIL /var/mail/$USER setenv EDITOR /bin/vi ... fi diff --git a/cde/doc/fr_FR.ISO8859-1/help/Loginmgr/Tasks.sgm b/cde/doc/fr_FR.ISO8859-1/help/Loginmgr/Tasks.sgm index 7ddecc60..cc3f0426 100644 --- a/cde/doc/fr_FR.ISO8859-1/help/Loginmgr/Tasks.sgm +++ b/cde/doc/fr_FR.ISO8859-1/help/Loginmgr/Tasks.sgm @@ -414,7 +414,7 @@ Bureau. MAIL -prend la valeur "/usr/mail/$USER". +prend la valeur "/var/mail/$USER". PATH @@ -506,7 +506,7 @@ qui s'appliquent aux deux environnements. stty ... tset ... DISPLAY=mydisplay:0 - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER EDITOR=/bin/vi ... fi @@ -529,7 +529,7 @@ qui s'appliquent aux deux environnements. stty ... tset ... setenv DISPLAY mydisplay:0 - setenv MAIL /usr/mail/$USER + setenv MAIL /var/mail/$USER setenv EDITOR /bin/vi ... fi diff --git a/cde/doc/it_IT.ISO8859-1/help/Loginmgr/Tasks.sgm b/cde/doc/it_IT.ISO8859-1/help/Loginmgr/Tasks.sgm index 6d34512e..df333821 100644 --- a/cde/doc/it_IT.ISO8859-1/help/Loginmgr/Tasks.sgm +++ b/cde/doc/it_IT.ISO8859-1/help/Loginmgr/Tasks.sgm @@ -405,7 +405,7 @@ per ogni utente: MAIL -viene impostata come "/usr/mail/$USER" +viene impostata come "/var/mail/$USER" PATH @@ -497,7 +497,7 @@ senza il desktop e in una per le variabili applicabili a entrambi gli ambienti. stty ... tset ... DISPLAY=mydisplay:0 - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER EDITOR=/bin/vi ... fi @@ -519,7 +519,7 @@ senza il desktop e in una per le variabili applicabili a entrambi gli ambienti. stty ... tset ... setenv DISPLAY mydisplay:0 - setenv MAIL /usr/mail/$USER + setenv MAIL /var/mail/$USER setenv EDITOR /bin/vi ... fi diff --git a/cde/doc/ja_JP.dt-eucJP/help/Loginmgr/Tasks.sgm b/cde/doc/ja_JP.dt-eucJP/help/Loginmgr/Tasks.sgm index f8199fd8..448e20f1 100644 --- a/cde/doc/ja_JP.dt-eucJP/help/Loginmgr/Tasks.sgm +++ b/cde/doc/ja_JP.dt-eucJP/help/Loginmgr/Tasks.sgm @@ -502,7 +502,7 @@ MAIL - "/usr/mail/$USER" ¤ËÀßÄꤷ¤Þ¤¹¡£ + "/var/mail/$USER" ¤ËÀßÄꤷ¤Þ¤¹¡£ @@ -609,7 +609,7 @@ stty ... tset ... DISPLAY=mydisplay:0 - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER EDITOR=/bin/vi ... fi @@ -633,7 +633,7 @@ stty ... tset ... setenv DISPLAY mydisplay:0 - setenv MAIL /usr/mail/$USER + setenv MAIL /var/mail/$USER setenv EDITOR /bin/vi ... fi diff --git a/cde/lib/DtSearch/tiny.txt b/cde/lib/DtSearch/tiny.txt index e28f1109..1c723bf7 100644 --- a/cde/lib/DtSearch/tiny.txt +++ b/cde/lib/DtSearch/tiny.txt @@ -1080,7 +1080,7 @@ 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- mand calls the uucico daemon to transfer the files from the @@ -1159,7 +1159,7 @@ system name. 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 @@ -1260,7 +1260,7 @@ 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- 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 command string enclosed in " " (quotation marks) or entered en- closed in braces and backslashes, as \{ DestinationName \}. @@ -1327,9 +1327,9 @@ /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 @@ -3695,7 +3695,7 @@ Files - /usr/spool/rwho/whod.* Indicates data files received from remote + /var/spool/rwho/whod.* Indicates data files received from remote rwhod daemons. /usr/ucb/ruptime Command executable file. @@ -6158,7 +6158,7 @@ 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 command. @@ -6213,7 +6213,7 @@ destination files and the sender's login name. The full path 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 sequence number used by BNU. @@ -6224,7 +6224,7 @@ the actual source file. The full path name of a data file is a 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- 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's login directory is then considered the destination of the 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. * 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 request, the destination already exists as a directory on the re- 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 successfully copied to the destination file on a remote system. 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. 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- 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 and placed in the public directory. @@ -6432,15 +6432,15 @@ /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 - /usr/spool/uucppublic Public directory containing files awaiting + /var/spool/uucppublic Public directory containing files awaiting 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 @@ -6561,7 +6561,7 @@ Example 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 uudemon.admin command line. Change: @@ -6598,7 +6598,7 @@ /etc/locks directory Contains lock files which prevent multiple 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. Suggested Reading @@ -8396,7 +8396,7 @@ /usr/lib/mh/mtstailor file Tailors the MH environment to the local environment. - /usr/spool/mail/$USER file Speciefies the location of the mail + /var/mail/$USER file Speciefies the location of the mail drop. /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. 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- sions denied" (660). If you change this permission to @@ -10686,7 +10686,7 @@ Flags -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. -e Does not display any messages. This flag causes the bellmail @@ -10737,7 +10737,7 @@ 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- fect. @@ -10747,7 +10747,7 @@ w [File] Saves the message, without its postmark, in the specified 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 @@ -10811,9 +10811,9 @@ $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. @@ -10892,7 +10892,7 @@ Files - /usr/spool/mail/* System mailboxes for all users + /var/mail/* System mailboxes for all users /usr/bin/from User mailbox files diff --git a/cde/lib/DtWidget/Control.c b/cde/lib/DtWidget/Control.c index f42d72c6..2c74b973 100644 --- a/cde/lib/DtWidget/Control.c +++ b/cde/lib/DtWidget/Control.c @@ -165,13 +165,7 @@ WidgetClass dtControlGadgetClass; #define UNSPECIFIED_DIMENSION 9999 #define UNSPECIFIED_CHAR 255 -#ifdef _SUN_OS 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 Min(x, y) (((x) < (y)) ? (x) : (y)) diff --git a/cde/lib/DtWidget/DtMsgs.c b/cde/lib/DtWidget/DtMsgs.c index 5653c056..6d48c757 100644 --- a/cde/lib/DtWidget/DtMsgs.c +++ b/cde/lib/DtWidget/DtMsgs.c @@ -229,13 +229,8 @@ CONST char _DtMsgIcon_0005[] = /*** Indicator.c ***/ -#ifdef _SUN_OS CONST char _DtMsgIndicator_0000[] = - "/usr/spool/mail/"; -#else -CONST char _DtMsgIndicator_0000[] = - "/usr/mail/"; -#endif + "/var/mail/"; /*** MenuButton.c ***/ CONST char _DtMsgMenuButton_0000[] = diff --git a/cde/programs/dtcm/server/log.h b/cde/programs/dtcm/server/log.h index ff9ad3b8..db7a84a2 100644 --- a/cde/programs/dtcm/server/log.h +++ b/cde/programs/dtcm/server/log.h @@ -41,11 +41,7 @@ #define _DtCMS_DEFAULT_BAK ".calbak" #define _DtCMS_DEFAULT_TMP ".caltmp" #define _DtCMS_DEFAULT_DEL ".caldel" -#if defined(CSRG_BASED) || defined (linux) #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) typedef enum { diff --git a/cde/programs/dtksh/ksh93/ship/README b/cde/programs/dtksh/ksh93/ship/README index 8b0f526b..81894296 100644 --- a/cde/programs/dtksh/ksh93/ship/README +++ b/cde/programs/dtksh/ksh93/ship/README @@ -1,7 +1,7 @@ /* $XConsortium: README /main/2 1996/07/15 14:13:29 drk $ */ 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 $INSTALLROOT. The $INSTALLROOT hierarchy is similar to the System V /usr hierarchy. @@ -25,7 +25,7 @@ After each shipment: ship/shipin `ship/shipin -n' shows actions but does not unbundle or build. -`ship/shipin -s ' unbundles from rather than /usr/spool/uucppublic. +`ship/shipin -s ' unbundles from rather than /var/spool/uucppublic. `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 -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 YYMMDD shipment year, month and day number -/usr/spool/uucppublic// directory hierarchy: +/var/spool/uucppublic// directory hierarchy: . shipment control directory ./manifest list of all files in shipment diff --git a/cde/programs/dtksh/ksh93/ship/shipin b/cde/programs/dtksh/ksh93/ship/shipin index 66c22b63..70b1f8b2 100755 --- a/cde/programs/dtksh/ksh93/ship/shipin +++ b/cde/programs/dtksh/ksh93/ship/shipin @@ -216,7 +216,7 @@ done export RECIPIENT case $_uuspool_ 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 ;; *) SHIPSPOOL=$_uuspool_ ;; diff --git a/cde/programs/dtksh/ksh93/ship/shipout b/cde/programs/dtksh/ksh93/ship/shipout index d43e8246..5ef65896 100755 --- a/cde/programs/dtksh/ksh93/ship/shipout +++ b/cde/programs/dtksh/ksh93/ship/shipout @@ -56,7 +56,7 @@ SHIPFILES="README shipin shipout" SHIPAUX="shipiffe.sh shipop.c shipproto.c" SHIPMENT=*[0-9][0-9][0-9][0-9][0-9][0-9] SHIPPER=${SHIPPER:-${USER:-${LOGNAME:-${HOME##*/}}}} -SHIPSPOOL=${SHIPSPOOL:-/usr/spool/uucppublic} +SHIPSPOOL=${SHIPSPOOL:-/var/spool/uucppublic} SHIPORG=${SHIPORG:-"Software and Systems Research"} SHIPLOGO=${SHIPLOGO:-"http://www1126.research.att.com/logos/attbllogo.gif align=middle"} SHIPMM2HTML=${SHIPMM2HTML:-mm2html} diff --git a/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/msg.c b/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/msg.c index 1b86e141..a7501434 100644 --- a/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/msg.c +++ b/cde/programs/dtksh/ksh93/src/cmd/ksh93/data/msg.c @@ -238,7 +238,7 @@ const char e_stdprompt[] = "$ "; const char e_profile[] = "${HOME:-.}/.profile"; const char e_sysprofile[] = PROFILEPATH; 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"; #ifdef SHOPT_SUID_EXEC const char e_suidexec[] = SUIDEXECPATH; diff --git a/cde/programs/dtlogin/config/Xsession.src b/cde/programs/dtlogin/config/Xsession.src index cc7ec430..49bcc139 100644 --- a/cde/programs/dtlogin/config/Xsession.src +++ b/cde/programs/dtlogin/config/Xsession.src @@ -63,11 +63,6 @@ XCOMM ########################################################################## # define cpp_HELLO "$DT_BINPATH/dthello -file $DT_INSTALL/copyright &" #endif -#ifdef __osf__ -# undef cpp_MAIL -# define cpp_MAIL "/usr/spool/mail/$USER" -#endif - #if defined (__hpux) && defined (BLS) # undef cpp_HELLO # define cpp_HELLO "$DT_BINPATH/dthello -file /etc/copyright -file $HOME/.dtlogininfo &" @@ -118,7 +113,7 @@ XCOMM ########################################################################## #endif #if !defined (cpp_MAIL) -# define cpp_MAIL "/usr/mail/$USER" +# define cpp_MAIL "/var/mail/$USER" #endif #if !defined (cpp_HELLO) diff --git a/cde/programs/dtlogin/dtlogin.man b/cde/programs/dtlogin/dtlogin.man index d24238d1..b875c31f 100644 --- a/cde/programs/dtlogin/dtlogin.man +++ b/cde/programs/dtlogin/dtlogin.man @@ -176,7 +176,7 @@ environment: LC_ALL 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 - 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 USER is set to the user name SHELL is set to the user's default shell (from /etc/passwd) @@ -225,7 +225,7 @@ For example. .nf .ta .5i 3i - MAIL=/usr/mail/$USER + MAIL=/var/mail/$USER .fi .sp 1 Finally, personal environment variables can be set on a per-user basis diff --git a/cde/programs/dtprintinfo/objects/PrintObj/ParseJobs.C b/cde/programs/dtprintinfo/objects/PrintObj/ParseJobs.C index a7d8b0ef..b2becfa6 100644 --- a/cde/programs/dtprintinfo/objects/PrintObj/ParseJobs.C +++ b/cde/programs/dtprintinfo/objects/PrintObj/ParseJobs.C @@ -345,8 +345,8 @@ typedef struct char *line; } StatusLineStruct, *StatusLine, **StatusLineList; -#define TMP_DIR "/usr/spool/lp/tmp" -#define REQ_DIR "/usr/spool/lp/requests/%s/" +#define TMP_DIR "/var/spool/lp/tmp" +#define REQ_DIR "/var/spool/lp/requests/%s/" #define SPOOL_DIR "/var/spool/lp/tmp/%s/" static void check_dir(char *printer, char *tmp_dir, StatusLineList *job_list, diff --git a/cde/programs/dtwm/Dtwm.defs.src b/cde/programs/dtwm/Dtwm.defs.src index fe1fe02f..51d97848 100644 --- a/cde/programs/dtwm/Dtwm.defs.src +++ b/cde/programs/dtwm/Dtwm.defs.src @@ -181,16 +181,10 @@ Dtwm*VersionDialog_popup*columns: %|nls-6-40^columns| !# !# 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 -#else -!# Dtwm*Mail*fileName: /usr/mail/$LOGNAME -#endif !#### !#