| Yes, you redirect the command output with something like ">nil".
I forget the precise details, but it's written up somewhere in the
documentation. Take a look at the existing s/Startup-Sequence,
where it finally invokes the workbench, for an example. My own
Startup-Sequence does exactly what you describe, but I set it up
many months ago and haven't looked at it since.
len.
|
| As promised (although late - sorry!) is the startup-sequence
that I use. The Echo commands, and the text contained in them,
are "fluff" that you need not include. I find it handy in
ensuring that I booted the proper disk! {I'll be glad to get a
hard disk}
With respect to the "S:now" file, you will have to create this
in the s: directory. It will contain the date that you last
entered, and upon each startup, displays it for you as the
default, so to speak. A <cr> will accept it as is, or you can
enter the date and/or time as you see fit. I find this great
particularly if you have used the system in the recent past. As
an example, if you used the system last night, and are turning
it on tonite, the "date < s:now" command will print out "Monday
22-Sept-1986 20:20:20", you can accept this with a <cr>, or
enter in the date and time in the proper format, or simply enter
Tuesday 20:10 as your response. This date/time then gets copied
into s:now (the `date > s:now' command) for pulling in the next
time you startup. Saves a bit of typing and eliminates
wondering if you adhered to the proper format. Obviously, this
drops you into CLI, so if you want to go to the Workbench
screen, you will need to add a couple of lines.
Echo ""
Echo " AMIGA BASIC DISK"
Echo ""
Echo " Releases 1.0"
Echo ""
Echo ""
Date < S:now
Echo ""
Echo " Please enter current time and date."
Echo ""
Date > Nil: ?
Date > S:now
Echo ""
Art
|
| I was over at a friend's house, and he was showing off his
roomate's amiga. The roomate had some sort of little date
program in his startup which put up a requestor for the date
which had little 'sliders' (pots) to adjust all the fields in
the date/time.
The roommate was not home, and I didn't have a disk with me to
copy it. I'll try to find out the name of the program, and where
he got it from (I'm sure that it is public domain.)
|