JavaScript PDP11 emulator running Unix V6
pdp11.aiju.de
pdp11.aiju.de
Is it possible to benchmark this on a modern PC/browser, against a real PDP-11?
* Remember that cd was spelled chdir in v6
* "stty -lcase" will make it stop putting everything in caps
chdir games
wump
edit: fixed.
I've been trying to get this to crash with a 64-bit build on Mac, but mostly falling into holes in cave floors...
(That's a 14" removable platter drive that stored 5 million bytes! Amazing. A couple decades and the media is essentially unreadable. I suppose someone with a STM could work it out.)
Fri Oct 10 12:33:34 EDT 1975
/usr/ken
# vi
vi: not found
Wow, it's like I was traveling in a time machine back to 70's and saw Ken Thompson hacking. One thing that has always taken for granted is that vi is the ubiquitous editor in Unix world, it's NOT true, :)
Also, I just realized its been a long time since I had to use ed, but this is fun. Its like a more civilized age of unix, ls -l doesn't print groups. So much fun to be had here.
Out of curiosity I also tried ed on my Ubuntu and it works here too. Shouldn't obsolete tools like these be removed from the newer linux kernels? Or is there a significant population that still uses it directly or indirectly (using some tools that use ed)?
It isn't in the kernel. That's the point: It's just one small file on the hard drive, which barely takes up anyone's resources. It's trivial.
> Or is there a significant population that still uses it directly or indirectly (using some tools that use ed)?
We don't know. What we do know is that if an established distro suddenly released a version without any tools older than a certain date, it would result a political mess that would be a lot worse than any benefits the distro maintainers could get from removing a few files from their distro.
As for "should obsolete tools be removed" no! Everything in UNIX is built upon something else. You could and still can build the most useful shell scripts to support whatever task. Treat UNIX commands like any computer programming langaue commands and you have tools.
Just a week ago I'm using dd to convert old IBM mainframe from "EBCDIC" to "ASCII" data. Followed that up by writing some C language code to process packed decimal data.
All in All *NIX is the most useful command line platform there is!
Website scraping anyone, start with "wget".
Bye now.
I own a Unix book in which the authors dismiss vi as too bloated to be usable ("you need a large PDP-11 for it to fit into memory and still have room for an actual text to edit") and having too many features for anyone to need.