spudlyo / clipetty

Manipulate the system (clip)board with (e)macs from a (tty)
GNU General Public License v3.0
167 stars 13 forks source link

Fix: NOT append to tty #22

Open shka opened 4 years ago

shka commented 4 years ago

Issue: spudlyo/clipetty#20

I noticed that append to tty causes the "Permission denied" as below - It occurred in Termux (not tmux), and the same issue occurred in emacs 26.3 on Termux. Therefore, I changed a parameter in write-region function at the clipetty--emit. I hope that this PR solves your issues also!

$ echo test > `tty`
test
$ echo test >> `tty`
Permission denied

This PR will close spudlyo/clipetty#20 .