The Wayback Machine - https://web.archive.org/web/20010303215153/http://www.cs.mu.oz.au:80/appletalk/readmes/MOTD.README.html

Message of the Day

The University of Melbourne
djh@munnari.OZ.AU
July 1992
version 1.1


motd is a Macintosh Chooser document (RDEV) that can be
used to display a short "message of the day". The Chooser is
used to select a network server and show the message on request.




When the Macintosh is booted, new messages are displayed
and a timer started. When the timer expires, the window is
removed (the message is marked unread) and the boot process
continues.


The following message window commands are possible:
(they also stop the boot timer, as does clicking in the
window)

	Q, q, Opt W	Quit (same as clicking the CloseBox)
	R, r		Restart message from page 1
	space		Display next page
	backspace	Display last page

Paging forward or backward is also possible by clicking on the
"dog-ears" at the top right of the window.


motd is available via FTP from munnari.OZ.AU as the file
mac/motd.1.1.shar.Z


Window Text Formatting


The message file on the server host can contain text formatting commands as follows (case is irrelevant): \fN where N is a hex digit representing the font number 0 systemFont 1 applFont 2 newYork 3 geneva 4 monaco 5 venice 6 london 7 athens 8 sanFran 9 toronto a cairo b losAngeles c times d helvetica e courier f symbol \sN where N (hex) is the font size (0 = 9pt, 1 = 10pt, 2 = 11pt, ... f = 24pt) \b bold text \u underline text \i italic text \o outline text \h shadow text \c condensed text \e extended text \p plain text \d use the current default settings \w make current font/face/size be the default (write) \z set "factory" defaults (9pt monaco normal) \\ a real backslash ^L a form feed (CR), (LF) new line at current font spacing The font style settings are additive, ie: \b\u\i prints bold underlined italics. To clear the style, use the \p command.

Notes


the formatting does not cross page boundaries, the default settings are used to begin each new page. the line offsets for carriage-return and line-feeds are calculated on the current font. If you a using larger font sizes, set these at the end of the previous line (before the (CR) or (LF)). long lines are broken at character, not word boundaries. only a UNIX/CAP server exists at present. you can specify a number of files to be included in the message (currently 5). If you edit one or more of these, the server will re-read all files and present the result as a new message. if the font is not available on the Macintosh, another is substituted (by the Font Manager).

BUGS


Maybe, reports to djh@munnari.OZ.AU