Version 0.1.0.1697 · Free · Mac · Windows · Linux · FreeBSD · Plan 9
The MS-DOS Editor, small. On every computer you have. Free.
TinyEdit is EDIT.COM of MS-DOS 5 and 6 in one small program: the blue screen, the menu bar, the dialogs and the keys, in a Mac terminal, the Windows console, a Linux server over ssh, Plan 9 and a web page. It has the mouse, Undo and Replace.
No account, no advertising.

F1 · Editing
Two sets of keys. Take your pick.
The modern keys (Ctrl+S saves, Ctrl+Z undoes, Ctrl+X, Ctrl+C and Ctrl+V cut, copy and paste) are the default. edit /WORDSTAR gives the keys of the MS-DOS Editor itself: Ctrl+Q,F finds, Ctrl+Y deletes a line. Options, Keys changes it for good.
Selecting
Shift and a cursor key selects as the cursor moves. Shift+Ctrl+Left and Right select a word. The mouse selects too: drag, double-click a word.
Undo and Redo
Every change can be taken back, and put back. A run of typing is one step.
Search
Find, Find Next and Previous, Replace, and Go To Line.
Every key
The list of keys has each one in both sets. The key codes say what each key sends on a terminal, in the Windows console and in a browser.
F2 · Safe
It looks after your file.
A save is written beside the file and put in its place, so a failed save loses nothing. A link is written through, and a file with other links is written in place.
Changed on disk
If another program changed the file since you opened it, Save asks first.
Recovery
When the terminal closes or the connection drops, your changes are kept. edit /RECOVER file gets them back.
Read-only
edit /R file looks at a file without a way to change it.
F4 · Terminal
It works in the terminal you have.
Colour appears where the terminal has it, and NO_COLOR turns it off. Without colour, you get EDIT's monochrome screen.
Alt
The Windows console sends Alt alone and Alt+key, as the PC did. A terminal sends Esc and the key, so Esc alone and F10 open the menu bar.
On a Mac
Option and a letter gives a character. Where that letter is a hot key on the screen, TinyEdit reads it as Alt and the letter.
Tested in real terminals
On Linux, the tests run edit inside script(1) and tmux. On Windows, they run it in a pseudo console.
F5 · Everywhere
Mac, Windows, Linux, FreeBSD, Plan 9 and the web.
One program, no libraries to install. On Plan 9 it runs in a plain rio window, drawing its own screen, or in vt(1). Try it in your browser: no download, no account. The files in it are in memory, and go when you leave the page.
TinyEdit is a Go library too: the editor does no input or output of its own, so a program gives it a screen, files and a printer.
F6 · Download
Download TinyEdit 0.1.0.1697
Free, on every system: the licence. Choose the file for your computer. Each holds the program, with the licence, the third-party notices, the list of keys and the key codes.
| System | You need | Download |
|---|---|---|
| macOS | macOS 13 Ventura or later, on Apple Silicon or Intel |
|
| Windows | Windows 10 or later, or Windows Server 2016 or later |
|
| Linux | Linux kernel 3.2 or later. No libraries needed. ARM64 for a Raspberry Pi 3, 4 or 5 with a 64-bit OS |
|
| FreeBSD | FreeBSD 14 or later |
|
| Plan 9 | 9front or Plan 9 from Bell Labs |
|
How to install it
Mac, Linux and FreeBSD: unpack it, then put the program where your shell finds it:
tar -xzf tinyedit-*.tar.gz # on a Mac: unzip tinyedit-*.zip
sudo install -m 755 tinyedit-*/tinyedit /usr/local/bin/
tinyedit
Windows: unzip it, and put tinyedit.exe in a folder on your PATH. Run it in Windows Terminal or a console window.
Plan 9: unpack it with tar xzf, and copy tinyedit to $home/bin/$cputype/.
The program is tinyedit. To use it as edit, link or copy it: sudo ln -s /usr/local/bin/tinyedit /usr/local/bin/edit.
The Mac program is not notarised by Apple yet. If macOS refuses to run it, open System Settings, go to Privacy & Security, and click Open Anyway, or run xattr -d com.apple.quarantine tinyedit.
