Make them work in tty frames. (interprogram-cut-function, interprogram-paste-function): Set them globally.
Attach a file by drag & drop or click to upload