I had the crazy idea to write a simple editor for plan9 rio, crazy because there are already two brilliant and full fledged editors, sam and acme. So why? Basically just to test an idea and as an exercise. The premise is to open a file and read it into a biobuffer, then write the content into the console text file /dev/text while being in "rawmode", i.e. keystrokes wont be echoed. once the file content has been "printed" into the console the editor is in a kind of "command mode", where the keystrokes are not echoed but will execute commands: w for writing the file back to disk and q for exit. While in "command mode" you can modify the displayed text, Snarf paste add lines etc. like in a text editor, funny enough the rawmode is only active on the very last line of the console window. When you are happy with the edit, go to the very last line (left-click on the lowest possible line), which will put you back in "command mode". When you press 'w' the content of the console as is will be read in a buffer and written to the same file name.
It is a very crappy editor experiment indeed, thus use at your own risk. Nevertheless it is super small by leveraging the "all is a file" plan9 principle!