Elektrine lite

← Feed

@stevel@hachyderm.io

2026-09-05 17:27 UTC

EE2 taught C on BSD unix 4.2 on pdp+ vax, targeting 6809s and electronics. C lang looks a bit "younger" then. - int is default return type...no need to state it. - vars need to be declared at top of each function - 'register' keyword? I really don't remember that. https://github.com/steveloughran/edinburgh_cs/blob/main/1985-cs1/1985-ee2-c-programming-language.pdf

Replies (1)

  • @stevel@hachyderm.io 2026-09-05 17:38

    And alongside that, guide to the Queen Mary University "em" text editor, like "ed" only more usable, features of which went back into vi. This is a line editor where to see what the file contents are you have to issue a p command to print the lines. It's a relic of the real teletype era. And if you launch vi as "ex" this document is still valid Anyone who wants to try ex should print the doc, grab a vt220 font, make a terminal 80x24 full screen and try and do the homework of 150 word essay. I don't want to repeat that. Tried for 5 lines of the README and gave up https://github.com/steveloughran/edinburgh_cs/blob/main/1985-cs1/1985-ee2-an-introduction-to-the-text-editor.pdf

    Open ##4642644