CamHenlin / FocusedEdit

Classic Macintosh (System 2.0 through 9.2.2) text editor with shared live editing on a modern computer, via serial port

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FocusedEdit

FocusedEdit is a software package for classic Macintosh (System 2.0 through MacOS 9.2.2) systems to provide a bidirectional text editor from the Mac to modern web browsers via the serial port, utilizing CoprocessorJS

focusededit boxart

How to use FocusedEdit

I wrote an article on my blog outlining how to get up and running.

Technologies

FocusedEdit is built on a lot of technologies. The READMEs of each of these is each worth familiarizing yourself with if you would like to contribute to FocusedEdit:

  • Retro68 - a GCC-based cross compilation env for classic Macintosh systems
  • CoprocessorJS - a library that allows us to handle nodejs workloads sent over a serial port
  • serialperformanceanalyzer - used to analyze the performance of many different parts of the application during its development lifecycle
  • TESample - this is a basic Macintosh Toolbox demo application that the text editing portion of FocusedEdit is essentially riffing off of

Limitations / areas for improvement

FocusedEdit is 100% usable and I've been using it daily to write out long slack messages, confluence docs, emails since mid 2022, but it could be even better with your help:

  • More work could be done to support editing functionality like holding shift+arrow keys to highlight blocks of text. As is, you must use the mouse to highlight blocks of text
  • Additional fonts could be included
  • Polling from the classic Mac to the web browser is kind of clunky and only done when the user has not interacted with the app for several seconds. This works fine for now assuming you want to do most of the editing on the Macintosh side. That's what we're here for, right?
  • Special character support is lacking. For example, modern Macs like to replace quotation marks with stylized ones. We convert them back to standard quotation marks on the classic Macintosh side.
  • It would be cool to support additional fonts
  • Document width is fixed

Animated Demo

Here's a short demo of FocusedEdit in action:

focusededit demo

About

Classic Macintosh (System 2.0 through 9.2.2) text editor with shared live editing on a modern computer, via serial port


Languages

Language:C 69.5%Language:CMake 8.6%Language:C++ 8.1%Language:Makefile 8.1%Language:JavaScript 3.0%Language:R 2.5%Language:Shell 0.2%