🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.6809
Article #741

Re: CHX, CHD in OS9 startup?

#741
From: Peter C. Dibble
Date: Tue, 22 Jul 1986 17:45
25 lines
1783 bytes
In article <991@ihwpt.UUCP>, knudsen@ihwpt.UUCP (mike knudsen) writes:
> Is there a simple way to put chd and chx commands in
> the startup file 
> such that the effect of these commands will still
> be felt after the startup file has bben executed?
> -- 
> Mike J Knudsen  __   ...ihnp4!ihwpt!knudsen

Starting a shell from inside the startup file will work.  You can
change directories and start a shell but be sure to redirect standard 
input for it.  The only problem I remember having with this approach is
that if you pop out of the shell (with an EOF) you get back to the startup
file and wind up in a shell that hasn't been chd'd.

Using tsmon is another trick.  The password file lets you specify directories
and an initial program to execute (typically shell).

If you want to go back to the beginning you can fuss with init and
(perhaps) sysgo.  The default directories and program for the system
are given in init.  Sysgo looks at init and gets things going.  On my 6809
system I use sysgo to change the execution directory and system disk from
/d0 to /h0 after the system is mostly booted.  OS9boot is on /d0, but
everything else (CMDS and startup) is on /h0.

Peter Dibble
Technical Details
Message-ID: <19586@rochester.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!andromeda!topaz!husc6!seismo!rochester!dibble
References: <991@ihwpt.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!andromeda!topaz!husc6!seismo!rochester!dibble
From: dibble@rochester.ARPA (Peter C. Dibble)
Newsgroups: net.micro.6809
Subject: Re: CHX, CHD in OS9 startup?
Message-ID: <19586@rochester.ARPA>
Date: Tue, 22-Jul-86 13:45:07 EDT
Article-I.D.: rocheste.19586
Posted: Tue Jul 22 13:45:07 1986
Date-Received: Wed, 23-Jul-86 07:24:26 EDT
References: <991@ihwpt.UUCP>
Distribution: net
Organization: U of Rochester, CS Dept., Rochester, NY
Lines: 25
Summary: Ch[xd] at startup