Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!agate!shelby!labrea!daemon From: lane@sumex-aim.stanford.edu (Christopher Lane) Newsgroups: comp.sys.next Subject: MOTD Application Message-ID: <23985@labrea.Stanford.EDU> Date: 17 Jul 89 17:20:14 GMT Sender: daemon@labrea.Stanford.EDU Lines: 20 Since NeXT logins via the console startup the Workspace application instead of a Unix shell, they don't do the traditional display of the /etc/motd file (NeXT logins via the network do, however). To correct for this, I've written an application, MOTD, designed to run as a LoginHook under loginwindow which displays the contents of the /etc/motd file in a window when a user logs on. The application checks the modification date of the motd file against the user's last login (as recorded in /usr/adm/wtmp) and does nothing if the motd file hasn't changed. The MOTD display has two buttons, one to hold the window on the screen (it goes away automatically in 25 seconds, the hold button displays the count down) and another to quit and proceed with the login. I've FTP'd the source, binary, script and README files (in compressed tar format) to the submissions directory on the cs.orst.edu NeXT archive. - Christopher PS: I hope this counts as 'useful' despite my being one of those 'nerds who neither know how to dance nor how to drink' who are apparently believed to be impacting non-positively on the news group.