Add copy/paste support for XTerm.