[HECnet] Writing a VT220 terminal emulator