Updated tclreadline to work on systems without Tcl