This gets readline working within Plan 9's vt(1), which can emulate a VT–220, ANSI, or XTerm terminal.