News for hackers. Stuff that matters.
Re:JavaScript PDP11 emulator running Unix V6 by SingAlong on Wednesday April 20, 2011 @01:38AM (#2465397)
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)?

Re:JavaScript PDP11 emulator running Unix V6 by mnwcsult on Wednesday April 20, 2011 @08:51AM (#2466367)
I think I first started using UNIX around 1986. Always thought that DOS was a poor mans rip off of UNIX. Needless say this emulator is a major treat. I actually used to play "Hunt the Wumpus" with a buddy of mine way back when.

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.

Re:JavaScript PDP11 emulator running Unix V6 by beza1e1 on Wednesday April 20, 2011 @02:54AM (#2465577)
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 by lloeki on Wednesday April 20, 2011 @05:45AM (#2465936)
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 by derleth on Wednesday April 20, 2011 @03:13AM (#2465615)
> 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.