Use clipboard in xsel.
Use rlwrap for tinyrepl.