#!/bin/sh ###################################################################### # # Xfailsafe # # Common Desktop Environment # # Configuration file for the Login Manager # # (c) Copyright 1993, 1994 Hewlett-Packard Company # (c) Copyright 1993, 1994 International Business Machines Corp. # (c) Copyright 1993, 1994 Sun Microsystems, Inc. # (c) Copyright 1993, 1994 Novell, Inc. # # ************** DO NOT EDIT THIS FILE ************** # # /usr/dt/config/Xfailsafe is a factory-default file and will # be unconditionally overwritten upon subsequent installation. # Before making changes to the file, copy it to the configuration # directory, /etc/dt/config. You must also update the # failsafeClient resource in /etc/dt/config/Xconfig. # ###################################################################### # # # This file contains commands to invoke a simple session for repairs of # a dysfunctional environment. # # All clients should be run in the background with the exception of the # last client. When the last client is terminated by the user, the session # will be terminated and the login screen will be presented. # # This simple session consists of a window manager and a single terminal # emulator. # # Global variables # XDIR=/usr/bin/X11 DELAY=2 DTDIR=/usr/dt/bin # # Set background to default weave. # $XDIR/xsetroot -default & # # Clear the LFT message locale override if set # if [ "$LC_MESSAGES" = "C@lft" ] then unset LC_MESSAGES fi # # Start a window manager. # $XDIR/mwm & sleep $DELAY # # Setup xmodmap # if [ -x /usr/dt/config/Xsession.d/0050.dtxmodmap ] then /usr/dt/config/Xsession.d/0050.dtxmodmap fi # # Start the terminal emulator (also the session terminator client). # $DTDIR/dtterm -ls -xrm '*ttyModes:erase ^H intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z'