home *** CD-ROM | disk | FTP | other *** search
- San Francisco, 25 Nov 1988 <-- this date string courtesy of Rob
- Rick Charnes Friefeld's NT.COM, a short ZEX
- script put into my STARTUP
- sequence, and a VDE macro. I.e. I
- didn't type it in manually.
-
-
- ARUNZ STARTUP ALIAS TO DISPLAY
- "TIME OF DAY" MESSAGE INSIDE BOX
- --------------------------------
-
- This requires ARUNZ v0.9M or later, along with either DateStamper
- or ZSDOS, or the AR9NZ80D patch to ARUNZ that Eugene Nolan
- provided for Z80DOS users.
-
- This is an insert to put into your ALIAS.CMD, most properly as
- part of your startup alias. It will display to the screen a
- different "welcome" greeting depending on what part of the day it
- is -- morning, afternoon, evening, or "the wee hours." (Why is
- it I seem to see so much of the latter message?) It's a friendly
- greeting for the haggled computer user. It's nice to know that
- your computer cares.
-
- timofday cls;if gt $dh 17;t m eve;else;if gt $dh 11;t m aft
- else;if gt $dh 05;t m morn;else;t m wee;zif
-
- EVE, AFT, MORN and WEE are all separate files containing the
- message. I like to conserve directory entries (only have 512 per
- disk drive, after all...) and so have put each file into a
- library I call M.LBR for M)essage. Over the years I've
- accumulated a great number of "message" files that I use to
- display to the screen in various aliases for status reporting,
- help screens, or just generally to prettify my console display.
- I generally insert in these message files various of the codes
- that give me the attractive video attributes of which my Qume 102
- (and many other terminals) is capable. I keep them inside M.LBR
- and use the enclosed T.COM to type them. T.COM is a version of
- the ancient TYPEL.COM that I have patched to NOT "interpret"
- control characters (display them as "^[G4" or whatever) but
- to actually enable the particular video attribute that it
- represents.
-
- You can either use the enclosed M.LBR along with T.COM or just
- have the four files as standalones on your disk. TIMOFDAY.CMD is
- set up for using T.COM and M.LBR; you'll have to modify it
- slightly otherwise. Be sure to put M.LBR in your root directory
- or else log onto its directory at the start of the alias; T.COM
- will not accept user number or named directory references.
-
- M-QUME.LBR is my own version of the files that use the Qume
- graphic characters to draw a beautiful box around the message, so
- if you have a Qume they're yours. The files I have included in
- M.LBR are for everyone else; I've replaced the Qume graphics box
- characters with the standard non-graphics text line drawing
- characters '|' '-' '\' and '/'. It's not as pretty but since
- CP/M has no standard for graphics lines that's the best we can
- do. Extract the files from the library and make them pretty
- using your terminal's video codes and graphics boxes, if you like.
-
- I hope this use of ARUNZ's datestamper parameters and the IF GT
- command will give people more great ideas on how to use
- datestamping inside aliases. Stay tuned for my articles in The
- Computer Journal which really go into some fancy tricks.
-
- Practically everything I'm writing these days uses the ARUNZ date
- parameters. I urge all Z-System users to add some sort of
- datestamping to their systems -- it really makes a difference.
- I've been beta-testing ZSDOS for months now (will be shipping
- very shortly) and it is superb! Available through Plu*Perfect
- Systems, 410 23rd St., Santa Monica, CA 90402 or Sage
- Microsystems East at 1435 Centre St., Newton, MA 02159.
-
- I'd also urge all CP/M users to subscribe to The Computer
- Journal, that rare and important commodity these days -- a
- magazine with numerous in-depth articles dealing with CP/M and
- Z-System. Jay Sage and Bridger Mitchell are both regular
- columnists; Bruce Morgen did a nice thing last issue and
- hopefully will be a regular, and I'll be starting a regular
- series of articles beginning in the January/Febrary 1989 issue
- which will be in the mail at the end of November.
-
- Have fun with TIM-OF-DAY...
-
- Rick Charnes
-
- * * *
-
- I'll never stop including the latest version of Steve
- Greenberg's/Bruce Morgen's/Michal Carson's LDIRB.COM in the LBR's
- I release. I figure for every person who sees the beautiful
- dates and comment fields displayed by this program, there just
- might be one more person converted to DateStamper/ZSDOS.
-