Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ucbcad!ucbvax!POSTGRES.BERKELEY.EDU!dcmartin From: dcmartin@POSTGRES.BERKELEY.EDU (David C. Martin) Newsgroups: comp.windows.x Subject: Re: setting DISPLAY Message-ID: <8705221653.AA09644@postgres.Berkeley.EDU> Date: Fri, 22-May-87 12:53:41 EDT Article-I.D.: postgres.8705221653.AA09644 Posted: Fri May 22 12:53:41 1987 Date-Received: Sat, 23-May-87 16:12:31 EDT References: <10162@sri-spam.istc.sri.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 21 Run this as your startup command to xinit and follow it with whatever are you standard startup commands: dcm -------- cut here ------- #!/bin/csh -f # edit display name in .uwmrc sed "s/\([^ ]*:0\)/$DISPLAY/g" < ~/.uwmrc >! /tmp/.uwmrc$$ mv -f /tmp/.uwmrc$$ ~/.uwmrc # my standard startups \nuwm >&! /dev/null & \xload & \xclock & \xset m 2 5 \xsetroot -cursor $home/.cursor $home/.cursor_mask \xsetroot -bitmap $home/.background.bitmap & \screensaver -b $home/.screensaver.bitmap # check if on uVAX if (`tty` != "/dev/ttyv0") then exec $SHELL endif