Latest News

Google Earth Rides Tour De France
The Google Earth application allows bicycling fans to follow the latest version of the legendary race from their computers, a much easier task than biking up the Pyrenees.

AOL CityGuide Seeks The Biggest Boom
Visitors to the CityGuide website can vote for their favorite fireworks display out of eleven cities in the United States (but not Boston.)

Corporate Blogging To Catch Fire?
According to the findings of JupiterResearch, corporate blogging is about to become big - really big. It seems these expectations may be impossibly optimistic, as a matter of fact. But JupiterResearch believes that "nearly 70 percent of all site operators will have implemented corporate blogs by the end of 2006."

World Cup In High Demand Online
The BBC has handled more than 1.7 million requests to view live World Cup matches on its site, while the official site hosted by Yahoo surpasses Major League Baseball in viewership for the week ending June 24th.

Google Flips The Checkout Switch
The Google Checkout process officially launched, offering its users a unified shopping process that emphasizes safety and user control of the online retail experience.

Microsoft Exec Sees The Google Light
Another Microsoft executive has succumbed to the allure of Google and will join the search advertising...



Recent Articles

Puppy Linux
It sounds like a toy, doesn't it? "Puppy Linux". So cute, and when it first boots you'll hear "Woof-Woof" as a help screen opens.

Selinux On FC5
Selinux can be confusing, but it's ordinary and default configuration is actually pretty simple...

Mount --bind
Most Linux and Unix file systems don't allow hard links to directories...

GNOME Released With New Search
Version 2.14 of GNOME's desktop for Linux or UNIX systems contains a new integration of a desktop...

Microsoft Open Port 25 To Hackers
For once, the correct definition of hackers applies here; the new Port 25 website from Microsoft offers communications from...

07.05.06


Ancient Unix

By A.P. Lawrence

I had noticed The Computer History Simulation Project some time ago, but I never got around to doing anything with it. This July Fourth, with nothing else pressing me, I decided to take a more in depth look.

The first thing was to download the sources for the SIMH emulator. Create a directory, unzip the sources, "mkdir BIN" and then just do a "make all". Don't neglect the "mkdir BIN"; you need that. This took a fair amount of time on my MacBook Pro - you could just make the actual emulators you want, but that can sometimes be hard to figure out.

Doing this compiles without networking support. If you must have that (I see no reason for the messing around I'm doing), you apparently need libpcap; I assume the one from DarwinPorts will do, but I didn't try it.

I started with Unix System 5 from the Software Kits page. Create a directory for that, unzip the Unix V5 kit, and copy BIN/pdp11 into it. Finally, create "pdp11.ini" to contain:

set cpu U18
attach rk0 unix_v5_rk.dsk
boot rk0


Now type "./pdp11". When you see "@" (almost immediately), type "unix". That will give you a login prompt; root has no password.

Low Rate eCommerce & Retail Plans
Click Here for all the details

Unix V5 is pretty raw stuff. The shell is primitive, no backspace handling, and certainly no command history. It annoyingly uses "chdir" rather than "cd". I fixed that by finding the source (/usr/source/s2/sh.c) and copying it to "mysh.c". I then did "ed mysh.c".

Amazingly enough, I remembered enough "ed" to do what I wanted:

# cp sh.c mysh.c
# ed mysh.c
11135
/chdir/p
if(equal(cp1, "chdir")) {
s/chdir/cd/p
if(equal(cp1, "cd")) {
w
11132
q


I then did "cc mysh.c;cp a.out /bin/mysh;/bin/mysh". I could now at least use "cd".

But there's not much else you can do. There are no man pages, so the only way to figure out how commands work is to paw through the source. As most of the source is charmingly simple, that's not a great hardship, but you probably won't spend a great deal of time here without frustration (unless you are old enough to have used this and have a better memory than I).

Exit the simulator with CTRL-E and "quit". I next downloaded the Unix V7 kit, which requires the "id32" emulator. My "id32.ini" file contains (as per iu7_readme.txt):

set ttp ena
set pas dev=12
att -e dp0 iu7_dp0.dsk
att -e dp1 iu7_dp1.dsk
boot dp0


Type "dsk(1,0)unix" at the Boot: prompt, do CTRL-D at the single-user prompt, and then login as "root" with password "root", and you have something a little more like a modern Unix system. No, I'm kidding. Yes, at least there are man pages (though they just spill out on the screen and there is no "more" to pipe them to). There is still not much else: it's still "ed" and this time the source for commands is not installed. If you are old enough to have used Tandy Model 16 Xenix, you'll see that this isn't all that far removed from that. The minimalist /etc/rc contains only 14 lines; it uses /etc/ttys and not inittab.

My, we have come a long way, haven't we?


About the Author:
A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com

About LinuxDeveloperNews
Get the lastest information on current changes in the Linux Development World.

LinuxDeveloperNews is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxDeveloperNews.com WirelessProNews.com
CProgrammingTrends.com DevWebPro.com


-- LinuxDeveloperNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
© 2006 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article



LinuxDeveloperNews News Archives About Us Feedback LinuxDeveloperNews Home Page About Article Archive News Downloads WebProWorld Forums Jayde iEntry Advertise Contact