Live data from Hacker News

1972 Unix V2 "Beta" Resurrected

tuhs.org

11–20 of 153 posts

Re: 1972 Unix V2 "Beta" Resurrected

#12
post #7

Earlier quoted context omitted.

https://opensimh.org/ Works great on Apple Silicon

What’s the difference between an emulator and a simulator in this context?

In theory, an emulator is oriented around producing a result (this may mean making acceptable compromises), whereas a simulator is oriented around inspection of state (this usually means being exact).

In practice the terms are often conflated.

Re: 1972 Unix V2 "Beta" Resurrected

#13
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!

Interestingly it's actually a sort of degenerate use of ed. All it does is append one line to an empty buffer and write it to "hello.c". It's literally the equivalent of

    echo 'int main(void) { printf("hello!\n"); }' > hello.c
...EXCEPT...

It's not, because the shell redirection operators didn't exist yet at this point in time. Maybe (or maybe not?) it would work to cat to the file from stdin and send a Ctrl-D down the line to close the descriptor. But even that might have been present yet. Unix didn't really "look like Unix" until v7, which introduced the Bourne shell and most of the shell environment we know today.

Re: 1972 Unix V2 "Beta" Resurrected

#14
post #9

Earlier quoted context omitted.

From the link: > It's somewhat picky about the environment. So far, aap's PDP-11/20 emulator ( https://github.com/aap/pdp11 ) is the only one capable of booting the kernel. SIMH and Ersatz-11 both hang before reaching the login prompt. This makes installation from the s1/s2 tapes difficult, as aap's emulator does not support the TC11. The intended installation process involves booting from s1 and restoring files from…

good luck though. my emulator is not particularly user friendly, as in, it has no user interface. i recommend simh (although perhaps not for this thing in particular).

So what mechanism do you have set up to reply 4 minutes after being mentioned? :)

Re: 1972 Unix V2 "Beta" Resurrected

#16
post #10
post #7

Earlier quoted context omitted.

What’s the difference between an emulator and a simulator in this context?

There is LOADS of gray area, overlap, and room for one's own philosophical interpretation... But typically simulators attempt to reproduce the details of how a particular machine worked for academic or engineering purposes, while emulators are concerned mainly with only getting the desired output. (Everything else being an implementation detail.) E.g. since the MAME project considers itself living documentation of ar…

[deleted]

Re: 1972 Unix V2 "Beta" Resurrected

#17
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.

Re: 1972 Unix V2 "Beta" Resurrected

#19
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!

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.

Post reply on HN