[6605] in Athena Bugs
decmips 7.2K: xsession
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Dec 17 11:33:01 1990
To: bugs@ATHENA.MIT.EDU
Cc: testers@ATHENA.MIT.EDU
Date: Mon, 17 Dec 90 11:32:40 EST
From: Marc Horowitz <marc@ATHENA.MIT.EDU>
System name: podge
Type and version: KN01 7.2K (1 update(s) to same version)
Display type: PM-MONO
What were you trying to do?
Log in with no customizations to fix a bug in my dotfiles
What's wrong:
zwgc is using my desc and subs files. It shouldn't be.
What should have happened:
*** /usr/athena/lib/init/xsession Sat Dec 15 12:01:02 1990
--- /tmp/xsession Mon Dec 17 11:28:08 1990
***************
*** 160,167 ****
if ($?verbose_login) echo "Running standard startup activities..."
# Start Zephyr client, and if zephyr started okay, send
# message of the day as windowgram
! ( /usr/etc/zwgc; \
! if ($status == 0) /bin/athena/get_message -new -zephyr &)
sleep $sleep_time
/usr/new/mh/bin/msgchk -nonotify nomail # Check for mail
(/usr/athena/olc who &) >& /dev/null # Ping the OLC server
--- 160,172 ----
if ($?verbose_login) echo "Running standard startup activities..."
# Start Zephyr client, and if zephyr started okay, send
# message of the day as windowgram
! if ($?NOCALLS) then
! ( /usr/etc/zwgc -f /usr/athena/lib/zephyr/zwgc.desc \
! -subfile /dev/null && \
! /bin/athena/get_message -new -zephyr &)
! else
! ( /usr/etc/zwgc && /bin/athena/get_message -new -zephyr &)
! endif
sleep $sleep_time
/usr/new/mh/bin/msgchk -nonotify nomail # Check for mail
(/usr/athena/olc who &) >& /dev/null # Ping the OLC server
Note the use of "zwgc && get_message" instead of "if ($status == 0) ..." .
Please describe any relevant documentation references: