Dtlogin*reset: Xreset
Dtlogin*setup: Xsetup
-#if defined (__hpux) || defined (_AIX) || defined (sun) || defined (__osf__)
+#if defined (__hpux) || defined (_AIX) || defined (sun) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
Dtlogin*failsafeClient: Xfailsafe
#else
Dtlogin*failsafeClient: /usr/bin/X11/xterm
Dtlogin.exportList: ODMDIR NLSPATH TZ
#endif
+#if defined(CSRG_BASED) || defined(linux)
+Dtlogin.exportList: NLSPATH LANG
+#endif
XCOMM #########################################################################
XCOMM To specify the languages listed in the [Options] [Languages] menu.
XCOMM
XCOMM Dtlogin*userPath: <path>
+#if defined(linux) || defined(CSRG_BASED)
+Dtlogin*userPath: /bin:/usr/bin:/sbin:/usr/sbin:/usr/dt/bin
+#endif
+
XCOMM #########################################################################
XCOMM To set a display to run the user's XDM $HOME/.xsession script as the
XCOMM
XCOMM Dtlogin*openTimeout: <seconds>
+#if defined(CSRG_BASED) || defined(linux)
+Dtlogin*openTimeout: 15
+Dtlogin*serverAttempts: 3
+Dtlogin*wakeupInterval: 20
+#endif
XCOMM #########################################################################
XCOMM To specify how often the Login Manager "pings" a remote display to
XCOMM * Local local@console /usr/bin/X11/X :0
#elif defined (__uxp__)
:0 Local local@console /usr/bin/X11/X :0
+#elif defined (linux)
+ :0 Local local_uid@tty1 root /usr/bin/X :0
#else
* Local local@console /usr/bin/X11/X :0
#endif
pexec=$(LC_TIME=C ps -p $PPID | awk 'NR==2 {print $5}')
#elif defined(USL) && (OSMAJORVERSION > 1)
pexec=$(LC_TIME=C ps -p $PPID | awk 'NR==2 {print $6}')
+#elif defined(linux) || defined(CSRG_BASED)
+ pexec=$(LC_TIME=C /bin/ps -p $PPID 2>/dev/null | awk 'NR==2 {print $4}')
#else
pexec=$(LC_TIME=C /usr/bin/ps -p $PPID | awk 'NR==2 {print $4}')
#endif
fi
#endif
#endif
+
+#if defined(CSRG_BASED) || defined(linux)
+#ifdef cpp_Xsetup
+ if [ "$DTXSERVERLOCATION" != "remote" ]; then
+ fontpath=
+ FONTLIB=/usr/share/fonts/X11
+ for i in misc 75dpi 100dpi Speedo Type1 PJE
+ do
+ if [ -f $FONTLIB/$i/fonts.dir ]; then
+ if [ ! -z "$fontpath" ]; then
+ fontpath=$fontpath,$FONTLIB/$i/
+ else
+ fontpath=$FONTLIB/$i/
+ fi
+ fi
+ done
+
+ if [ ! -z "$fontpath" ]; then
+ $XDIR/xset fp+ $fontpath
+ fi
+ fi
+#endif
+#endif
+