Live data from Hacker News

1972 Unix V2 "Beta" Resurrected

tuhs.org

51–60 of 153 posts

Re: 1972 Unix V2 "Beta" Resurrected

#51
post #6

I love this! first time I see people use 'ed' for work!!! I wonder who else has to deal with ed also... recently I had to connect to an ancient system where vi was not available, I had to write my own editor, so whoever needs an editor for an ancient system, ping me (it is not too fancy). amazing work by the creators of this software and by the researchers, you have my full respect guys. those are the real engineers!

I remember using an ed-like editor on a Honeywell timeshare system in the 1960s, over a Teltype ASR-33. I don't remember much except you invoked it using "make " to create a new file. And if you typed "make love" the editor would print "not war" before entering the editor.

The “MAKE LOVE”/“NOT WAR” easter egg was in TECO for DEC PDP-6/10 machines. But DEC TECO was also ported to Multics, so maybe that was the Honeywell machine you used it on.

But, for a whole bunch of reasons, I’m left with the suspicion you may be misremembering something from the early 1970s as happening in the 1960s. While it isn’t totally impossible you had this experience in 1968 or 1969, a 1970s date would be much more historically probable

Re: 1972 Unix V2 "Beta" Resurrected

#52
post #47

I once saw a talk from Brian Kernighan who made a joke about how in three weeks Ken Thompson wrote a text editor, the B compiler, and the skeleton for managing input/output files, which turned out to be UNIX. The joke was that nowadays we're a bit less efficient :-D

Otoh: I got react to run my tests without any warnings today.

If I write a bunch of tests for new code, and all of them pass on the first attempt, I'm immediately suspicious of a far more egregious bug hiding somewhere…

Re: 1972 Unix V2 "Beta" Resurrected

#53
post #47

I once saw a talk from Brian Kernighan who made a joke about how in three weeks Ken Thompson wrote a text editor, the B compiler, and the skeleton for managing input/output files, which turned out to be UNIX. The joke was that nowadays we're a bit less efficient :-D

A newer joke is that Ken Thompson (along with Rob Pike and Robert Griesemer) designed Go while waiting for C / C++ to compile.

Re: 1972 Unix V2 "Beta" Resurrected

#54

Earlier quoted context omitted.

When gasoline was leaded, cigarette smoke was normal everywhere, and asbestos was used for everything you can think of? It is a fascinating decade but also quality of life likely has skyrocketed since.

> quality of life likely has skyrocketed since it hasn't

Is that an objective truth or rose-tinted nostalgia speaking? (I wouldn't know, I wasn't alive then.)

Re: 1972 Unix V2 "Beta" Resurrected

#55

1328 bytes for a hello world? BLOAT!

That reminded me of the compiler that used to include a large poem in every binary, just for shits and giggles. You've heard of a magic number, it had a magic sonnet.

I thought it was early versions of the Rust compiler, but I can't seem to find any references to it. Maybe it was Go?

EDIT: Found it: 'rust-lang/rust#13871: "hello world" contains Lovecraft quotes' https://github.com/rust-lang/rust/issues/13871

Re: 1972 Unix V2 "Beta" Resurrected

#59

Earlier quoted context omitted.

The keystokes are pretty much what you'd press in vim to perform the same actions. Except that append mode ends when they finished the line (apparently) rather than having to press Esc. The feedback from the editor, however, is… challenging.

In ed, append mode ends by entering a single '.' on an empty line, and then pressing enter. You can see that happening in the article.

Now we know where SMTP got it, I guess.

Re: 1972 Unix V2 "Beta" Resurrected

#60

Earlier quoted context omitted.

I mean... Sure? Go buy an actual VT* unit ( maybe https://www.ebay.com/itm/176698465415?_skw=vt+terminal&itmme... ?), get the necessary adaptors to plug into a computer, and run simh on it running your choice of *nix. I recommend https://jstn.tumblr.com/post/8692501831 as a reference. Once you have it working, shove the host machine behind a desk or otherwise out of sight, and you can live like it's 1980.

Ha, I just bought a VT420 a couple of weeks ago. I just finished a hacked together converter for USB keyboards working well enough (in the last hour actually). Next job is to connect it up as a login terminal for my freebsd machine.

I love those old terminals! I remember using them during late nights in college...
Post reply on HN