Tech Insider					     Technology and Trends


			      USENET Archives

Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!killer!rpp386!jfh
From: j...@rpp386.Dallas.TX.US (John F. Haugh II)
Newsgroups: alt.sources
Subject: Init - SCO Xenix System V replacement
Summary: beta test release of UNIX(tm) System V clone for SCO Xenix
Message-ID: <13858@rpp386.Dallas.TX.US>
Date: 22 Mar 89 14:28:06 GMT
Reply-To: j...@rpp386.Dallas.TX.US (John F. Haugh II)
Distribution: usa
Organization: River Parishes Programming, Dallas TX
Lines: 1147

This is the beta test release of the init I've been munging on.
It is currently being used on this site with some results.  It
is not complete and does not contain a telinit.  You have to
send it various signals to get things to happen ...

So far it seems to work.

Caveats -
	- no telinit yet
	- still flaky as a pie crust
	- only tested on Xenix/386 2.2.1
	- syscon and systty aren't implemented yet

Debugging an init is EXTREMELY troublesome.  If you are unable
to reboot frequently and from a floppy, I would not suggest
getting involved just yet.  This init is easier to debug in a
production setting than the real McCoy as this version can be
restarted without rebooting the system.  Nice trick.

How to use this beasty -

Create your /etc/inittab just like normal.  You need to have
some experience with inittabs.  Here is mine as a starter:
--
id:S:initdefault:
rc:Ss2:wait:/etc/rc < /dev/console > /dev/console 2>&1
co:Ss:wait:/bin/su - root < /dev/console > /dev/console 2>&1
01:2:respawn:/etc/getty tty01 m	# Screen 1
02:2:respawn:/etc/getty tty02 m	# Screen 2
03:2:respawn:/etc/getty tty03 m	# Screen 3
d1:2:respawn:/etc/getty tty1A v	# Anchor Automation Modem
d2:2:respawn:/etc/getty tty2A v	# Everex Modem
--

Create a new /etc/rc file.  The old one is probably kinda
useless if you are running SCO Xenix.  It doesn't know about
being called in single user mode.

Save your old init someplace handy and make and install
this version.

Reboot.  You will now be in single user mode.

To change run levels, signal init with SIGUSR1 [ signal
16 ] and you will be prompted on the console for a new
run level.  Enter the new runlevel at the prompt.

To restart init, signal init with SIGUSR2 [ signal 17 ]
and init will kill all active processes and re-exec
itself.  This is very useful for replacing init without
rebooting.

To re-read the inittab, send init a signal 1, 2, or 3.

You might want to read the config.h file.  There are only
a few options at this stage of the game.

If you aren't completely frightened, or REALLY DESPARATELY
need a real init, complete with source code, unwrap this
sucker and get on with the show ...

WARNING - SCREWING WITH INIT CAN GET YOUR MACHINE REAL
UNUSABLE REAL FAST.  ALWAYS ALWAYS ALWAYS make plenty of
backups and sacrifice virgins to the computer gods before
screwing with this.  Don't say I didn't warn you.

THIS POSTING COPYRIGHT, 1989, JOHN F. HAUGH II
ALL RIGHTS RESERVED.

Use and redistribution in a USENET-like manner permitted,
all other uses prohibited.
--
Code
-- 
John F. Haugh II                        +-Quote of the Week:-------------------
VoiceNet: (214) 250-3311   Data: -6272  | "Do not drink and bake"
InterNet: j...@rpp386.Dallas.TX.US       |         -- Arnold Swartzenegger
UucpNet : <backbone>!killer!rpp386!jfh  +--------------------------------------

Path: utzoo!hoptoad!amdcad!apple!rutgers!texbell!killer!rpp386!jfh
From: j...@rpp386.Dallas.TX.US (John F. Haugh II)
Newsgroups: alt.sources
Subject: Re: Init - SCO Xenix System V replacement
Summary: NOT AT&T derived
Message-ID: <13910@rpp386.Dallas.TX.US>
Date: 23 Mar 89 14:02:31 GMT
References: <13858@rpp386.Dallas.TX.US>
Reply-To: j...@rpp386.Dallas.TX.US (John F. Haugh II)
Distribution: usa
Organization: River Parishes Programming, Dallas TX
Lines: 27

In article <13...@rpp386.Dallas.TX.US> j...@rpp386.Dallas.TX.US 
(John F. Haugh II) writes:
>This is the beta test release of the init I've been munging on.
>It is currently being used on this site with some results.  It
>is not complete and does not contain a telinit.  You have to
>send it various signals to get things to happen ...

That paragraph should have been a clue.  Judging from the
mail I've received, some people don't associate `not done
yet' with `isn't from AT&T'.

This code IS NOT derived from AT&T source code.  I DO NOT
have a source code license and have not used AT&T code to
write this.  It is 100 PERCENT free of licensing hassles.

On the other hand, the init being distributed by Sandy
Zelkovitz IS derived from AT&T source code and is being
distributed in binary form ONLY.  If you need more info,
you may contact him at sa...@alphacm.UUCP.

DO NOT confuse my init with the init Sandy is handing
out.  PLEASE.  I don't need any more AT&T hate mail.  I
had my share of that last year with that damned yacc ...
-- 
John F. Haugh II                        +-Quote of the Week:-------------------
VoiceNet: (214) 250-3311   Data: -6272  | "Do not drink and bake"
InterNet: j...@rpp386.Dallas.TX.US       |         -- Arnold Swartzenegger
UucpNet : <backbone>!killer!rpp386!jfh  +--------------------------------------

			        About USENET

USENET (Users’ Network) was a bulletin board shared among many computer
systems around the world. USENET was a logical network, sitting on top
of several physical networks, among them UUCP, BLICN, BERKNET, X.25, and
the ARPANET. Sites on USENET included many universities, private companies
and research organizations. See USENET Archives.

		       SCO Files Lawsuit Against IBM

March 7, 2003 - The SCO Group filed legal action against IBM in the State 
Court of Utah for trade secrets misappropriation, tortious interference, 
unfair competition and breach of contract. The complaint alleges that IBM 
made concentrated efforts to improperly destroy the economic value of 
UNIX, particularly UNIX on Intel, to benefit IBM's Linux services 
business. See SCO vs IBM.

The materials and information included in this website may only be used
for purposes such as criticism, review, private study, scholarship, or
research.

Electronic mail:			       WorldWideWeb:
   tech-insider@outlook.com			  http://tech-insider.org/