[Coco] OS-9 startup file question
Bill Pierce
ooogalapasooo at aol.com
Sun Jan 11 20:04:41 EST 2015
Stephen P., first, pay no attention to the "shellplus" person behind the curtain... What he is talking about has nothing to do with your problem.
2nd, if you are booting from drivewire... "setting" the time is useless. It will be reset in a few seconds by drivewire as dw4 updates the time automatically and the time (as far as I know) can not be "set" except from the server's PC time function. DW4 gets its tme from the server and updates every so often to keep the time correct. The method on the dw distro disks is best.
If you are using the (old) standard "software" clock, then setting the time is important. To set the clock on an OS9 level 2 system use:
setime </1
This will prompt you to enter the time. What everyone is forgetting with their other solutions is that this is being run from the startup and not the cmd line. At this point, the shell itself is just being loaded, no terminal has actually been established, and shell has not taken over as the shell that startup is running under is temporary and disappears when startup ends leaving the real shell to start. Most "redirects" and pipes are going off into the bit bucket as anything changed in the startup usually (such as default dirs) does not keep after the startup ends (and the new shell takes over).
The method above requests the time input from the current user input.
Bill Pierce
"Today is a good day... I woke up" - Ritchie Havens
My Music from the Tandy/Radio Shack Color Computer 2 & 3
https://sites.google.com/site/dabarnstudio/
Co-Contributor, Co-Editor for CocoPedia
http://www.cocopedia.com/wiki/index.php/Main_Page
E-Mail: ooogalapasooo at aol.com
-----Original Message-----
From: Stephen Pereira <spereira1952 at comcast.net>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Sun, Jan 11, 2015 7:15 pm
Subject: Re: [Coco] OS-9 startup file question
Well, thanks very much to you all who have attempted to help me out.
As it turns out, I have now edited in the command:
setime </term >/term >>/term
I see this is the I/O Path for the few system processes that show up when I
issue the procs command.
However, even though this seems to be the right form for the command and the
pipes, my startup file still does not prompt me for the input to the setime
command when I reset or cold boot.
Very mysterious, but I guess that it must be associated with the warnings you
have given me that “not everything will work.”
Oh, well, I guess I’m just lucky that I stumbled onto this as the very first
thing that I attempted to try on my own. I’m really glad that I have this list
of fine folks to turn to!
smp
--
Stephen M. Pereira
Bedford, NH 03110
KB1SXE
> On Jan 11, 2015, at 6:27 PM, Stephen H. Fischer <SFischer1 at Mindspring.com>
wrote:
>
> Hi,
>
> The ShellPlus documentation is attached here:
>
> http://www.tandycoco.com/forum/viewtopic.php?p=462#p462
>
> Posted: May 18th, 2011, 11:10 pm if the link does not take you to the corect
post.
>
> I do not see post numbers on that forum.
>
> Be aware that not everything will work.
>
> SHF
>
> ----- Original Message -----
> From: "Stephen Pereira" <spereira1952 at comcast.net>
> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
> Sent: Sunday, January 11, 2015 2:52 PM
> Subject: Re: [Coco] OS-9 startup file question
>
>
>> Thanks very much for your response!
>>
>> Of course, I don’t understand this at all… I thought I understood the pipe
command that I typed, but this form is completely foreign to me. Where do I go
to learn how to do pipes in NitrOS-9?
>>
>> Thanks again!
>>
>> smp
>> --
>> Stephen M. Pereira
>> Bedford, NH 03110
>> KB1SXE
>>
>>
>>> On Jan 11, 2015, at 5:48 PM, K. Pruitt <pruittk at roadrunner.com> wrote:
>>>
>>> setime <>>>/term
>>>
>>> is the format you want.
>>>
>>> ----- Original Message ----- From: "Stephen Pereira" <spereira1952 at comcast.net>
>>> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
>>> Sent: Sunday, January 11, 2015 2:39 PM
>>> Subject: [Coco] OS-9 startup file question
>>>
>>>
>>>> So, here I am, making my way through The Rainbow Guide to OS-9, and I
decided to play a bit with my startup file.
>>>>
>>>> On the NitrOS-9 boot disk that I am using, the startup file ends with the
command: date -t
>>>>
>>>> I decided to change the command to: setime < /term
>>>>
>>>> so I can automatically remind myself to put in the date and time when the
system boots up.
>>>>
>>>> My “problem” is that this does not seem to work. When I do a cold boot, or
when I do a reset, the startup file goes through everything it used to, but then
it does not prompt me to make the date and time entry.
>>>>
>>>> This is my very first foray into NitrOS-9, so, please be gentle!
>>>>
>>>> Thanks in advance!
>>>>
>>>> smp
>>>> --
>>>> Stephen M. Pereira
>>>> Bedford, NH 03110
>>>> KB1SXE
>>>>
>>>>
>>>>
>>>> --
>>>> Coco mailing list
>>>> Coco at maltedmedia.com
>>>> https://pairlist5.pair.net/mailman/listinfo/coco
>>>
>>>
>>> --
>>> Coco mailing list
>>> Coco at maltedmedia.com
>>> https://pairlist5.pair.net/mailman/listinfo/coco
>>
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> https://pairlist5.pair.net/mailman/listinfo/coco
>>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list