Live data from Hacker News

Ssheven: A modern SSH client for Mac OS 7-9

github.com

101–110 of 137 posts

Re: Ssheven: A modern SSH client for Mac OS 7-9

#101

Earlier quoted context omitted.

There was some kind of command prompt you could bring up with some really obscure combination of keypresses. I remember encountering it on System 7 and MacOS 8. I never did figure out what could be done with it

You're thinking of the debugger - the default Microbug that was built-in was pretty much only useful for printing or writing memory (or typing G FINDER into it, causing the front app to crash and bringing you back to the Finder if the app was hung). Macsbug[0] which was an optional install was much more feature-rich, but it was still just a debugger and not actually a command line environment. [0] https://en.wikipedi…

Is that Microbug debugger the one that pops up in a upper-centered box with only a prompt character? What I remember definitely wasn't MacsBug.

Re: Ssheven: A modern SSH client for Mac OS 7-9

#102

Earlier quoted context omitted.

You're thinking of the debugger - the default Microbug that was built-in was pretty much only useful for printing or writing memory (or typing G FINDER into it, causing the front app to crash and bringing you back to the Finder if the app was hung). Macsbug[0] which was an optional install was much more feature-rich, but it was still just a debugger and not actually a command line environment. [0] https://en.wikipedi…

Is that Microbug debugger the one that pops up in a upper-centered box with only a prompt character? What I remember definitely wasn't MacsBug.

Yeah that's the one!

Re: Ssheven: A modern SSH client for Mac OS 7-9

#103
post #58

Earlier quoted context omitted.

Why is redrawing the screen slow? Old Macs had pretty good DMA for 2D sprites IIRC. As for encryption, can you use a preshared key instead of public key?

more specifically, I should say that re-rendering everything is kinda slow, the DrawText function which, uh, draws text, seems very heavy blitting from a buffer onto the screen is, indeed, pretty fast, I've been experimenting with it and have some ideas for speeding things up

For real. I’ve tried porting several modern UI libraries to classic Mac, such as Nuklear, uGUI, and a couple of others. And I’ve succeeded in getting them working, but as soon as you start doing something with text, they fall on their face. Just having a text input is nearly impossible on an 8MHz 68000!

Re: Ssheven: A modern SSH client for Mac OS 7-9

#104
post #61

Earlier quoted context omitted.

the GUI code for the earliest macs was absolutely a great feat of engineering by getting my hands dirty with the system, I'm impressed by the way things were designed for the wimpiest processors (and also getting a lot of insight into the flaws of the OS that were exposed as machines became more powerful)

I, and I’m sure a lot of others here, would love to read about that.

https://www.folklore.org

Re: Ssheven: A modern SSH client for Mac OS 7-9

#105
post #94
post #67

Earlier quoted context omitted.

even if it's 15000 times slower than my 2014 laptop (which it isn't): the ECDH operation still takes under a second and that's the expensive operation (done once per connection)

I am making the same mistake that the other poster did, in assuming too much background familiarity. Those are 90s chips. This software runs on machines from the late 1980s. The trend scales further back as it does forward. Five years is always a long time in computer performance. The 486, the slowest chip on my list blasts the early Macs (which this software runs on) out of the water by 100x. I went and researched i…

The first Macs were 8 MHz 68000 chips. The GUI was still very responsive. The menus popped down and Quickdraw (the graphics library) properly handled arbitrarily shaped overlapping windows. There was a demo with a round window and windows in the background updated perfectly. Bill Atkinson invented the Regions data structure (and the rest of Quickdraw) that allowed among other things, background windows graphics calls to be clipped to arbitrary combinations of foreground windows super efficiently. Atkinson is one of the greats.

https://www.folklore.org/StoryView.py?project=Macintosh&stor...

https://www.folklore.org/StoryView.py?project=Macintosh&stor...

Re: Ssheven: A modern SSH client for Mac OS 7-9

#107
post #32

Earlier quoted context omitted.

Whenever I see these I’m baffed we could ever run a full GUI on these things, when the machines of today often have issues running one.

The faster the hardware gets, the more software becomes inefficient. Unfortunately, hardware hasn't become much faster outside of niche cases (massively parallel vector computations etc.) for the past decade or so.

Efficiency isn't limited to execution speed. Memory protection is efficiency, even if it has cost in execution speed. Better abstractions make it possible to write more complex programs, at the cost of some execution speed.

I've programmed on very slow hardware in the past, and the only thing I miss from those days is my hairline.

Re: Ssheven: A modern SSH client for Mac OS 7-9

#108
post #90
post #49

oh hey everyone, author here, ssheven is still beta quality, so I wasn't really posting about it anywhere yet, but it's usable and has the core functionality working ok I plan to do a writeup about it, and the experience of developing for old macs, once I finish the 1.0 release edit: btw, this is my first project for the classic Mac OS, I hope to inspire others to also jump in, retro68 is a very usable toolchain (big…

So far it's working well on my LC III (68030 with 36mb ram)! I'm writing this comment from the LC III using w3m over ssh :)

36mb ram? that is a like a power house!

Re: Ssheven: A modern SSH client for Mac OS 7-9

#109

>input latency feels high because redrawing the screen is slow (along with all the encryption, which is also slow) Is modern encryption a challenge to those old machines? Is it because of specialized encryption hardware or sheer brute force? Or is it just this implementation that's slow? I used telnet back in the 68k days.

Yes, modern SSH is a challenge even on the fastest 486-class machines, which are very roughly comparable to this 68030. Takes several seconds to complete a connection.

Re: Ssheven: A modern SSH client for Mac OS 7-9

#110

i believe that before OSX, the OS itself had no terminal/shell/command prompt, and I suspect Macs were very rarely used for development back then; it was only with Unix-based OSX that it became hugely popular.

Classic MacOS had Macintosh Common Lisp. Even today, it’s the most pleasant, elegant and friendly programming environment I’ve ever used.
Post reply on HN