richrd / suplemon

:lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
MIT License
788 stars 43 forks source link

pbcopy error message even though xclip is installed #252

Closed edrozenberg closed 5 years ago

edrozenberg commented 5 years ago

The file modules/system_clipboard.py runs a check for xsel, pbcopy, xclip in that order. As a result, even after installing xclip, suplemon still prints the following at each startup:

which: no pbcopy in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/qt/bin)
richrd commented 5 years ago

I can't seem to reproduce this right now. What OS are you on?

edrozenberg commented 5 years ago

This was on Slackware 14.2+ Raspberry Pi 3B+.

I was trying to replicate just now on a similar machine (I gave the other one away) but after pip3 install -U suplemon (afterpygments-2.4.2 suplemon-0.2.0 wcwidth-0.1.7) I can launch suplemon and type text but none of the other keys work (Enter, arrows, none of the ctrl- sequences etc). Can't even quit the app with any CTRL- combo (had to force quit terminal).

Closing for now, will report if I use the program and run into this again.

richrd commented 5 years ago

The input issues are most likely something to do with the terminal. Let me know if you need help with that.