Live data from Hacker News

JavaScript PDP11 emulator running Unix V6

pdp11.aiju.de

21–30 of 34 posts

Re: JavaScript PDP11 emulator running Unix V6

#21
post #11

The question is, how do I mount my RL02 pack with the software I saved? (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.)

I haven't looked at the physical interface at all, but if you have any interest whatsoever in electronics, that might be something you can whip up yourself with e.g. an Arduino for instance. Of course, that probably requires quite a lot of time invested. And be careful when you write your driver so you don't overwrite the tracks with bogus data, that would be ironic (or something).

Re: JavaScript PDP11 emulator running Unix V6

#22
post #18

Earlier quoted context omitted.

I think this is when you learn that ed is truly the ubiquitous editor. None of these fancy visual editors like vi, also if the date is to be believed, this predates vi by a year (1976 is when Joy created it if I remember right). 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.

I tried vi and edit commands and they didn't work. Thanks for this hint about ed. Works in the this pdp emulator. 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)?

[deleted]

Re: JavaScript PDP11 emulator running Unix V6

#23
post #18

Earlier quoted context omitted.

I think this is when you learn that ed is truly the ubiquitous editor. None of these fancy visual editors like vi, also if the date is to be believed, this predates vi by a year (1976 is when Joy created it if I remember right). 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.

I tried vi and edit commands and they didn't work. Thanks for this hint about ed. Works in the this pdp emulator. 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)?

[deleted]

Re: JavaScript PDP11 emulator running Unix V6

#24
post #18

Earlier quoted context omitted.

I think this is when you learn that ed is truly the ubiquitous editor. None of these fancy visual editors like vi, also if the date is to be believed, this predates vi by a year (1976 is when Joy created it if I remember right). 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.

I tried vi and edit commands and they didn't work. Thanks for this hint about ed. Works in the this pdp emulator. 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)?

There are a lot of these ancient tools around. For example, you probably have "rcs", which is a precursor of cvs. Rumors are, there are tools (wikis), which use it.

Re: JavaScript PDP11 emulator running Unix V6

#25
post #18

Earlier quoted context omitted.

I think this is when you learn that ed is truly the ubiquitous editor. None of these fancy visual editors like vi, also if the date is to be believed, this predates vi by a year (1976 is when Joy created it if I remember right). 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.

I tried vi and edit commands and they didn't work. Thanks for this hint about ed. Works in the this pdp emulator. 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)?

> Shouldn't obsolete tools like these be removed from the newer linux kernels?

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.

Re: JavaScript PDP11 emulator running Unix V6

#26
post #18

Earlier quoted context omitted.

I think this is when you learn that ed is truly the ubiquitous editor. None of these fancy visual editors like vi, also if the date is to be believed, this predates vi by a year (1976 is when Joy created it if I remember right). 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.

I tried vi and edit commands and they didn't work. Thanks for this hint about ed. Works in the this pdp emulator. 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)?

ed can be useful at times when writing scripts, because you can do things with it that sed can't do (at least not easily).

Re: JavaScript PDP11 emulator running Unix V6

#30

# pwd /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, :)

ed is the standard text editor - used to say so in its manpage, too.

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.

Post reply on HN