Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy: supported only in the Desktop version #361

Open
hacker-DOM opened this issue Sep 27, 2022 · 5 comments
Open

copy: supported only in the Desktop version #361

hacker-DOM opened this issue Sep 27, 2022 · 5 comments

Comments

@hacker-DOM
Copy link

hacker-DOM commented Sep 27, 2022

I installed rlwrap with homebrew. In the shell I get

✦ ❯ cht.sh --shell       
type 'help' for the cht.sh shell help
cht.sh> xargs
cht.sh> c
copy: supported only in the Desktop version
@hacker-DOM
Copy link
Author

The above comment doesn't show the output of xargs, but it is correctly opened in less

@gennaro-tedesco
Copy link

I am seeing the same problem.

@howarddo2208
Copy link

I got the same problem on MacOS. Installed cht.sh with nix

@tjex
Copy link

tjex commented Dec 11, 2023

this is also happening for me on a fresh install as of today.

@tjex
Copy link

tjex commented Dec 11, 2023

The problem is that the script is checking if $DISPLAY env variable has a value, and if it doesn't it returns with the error.
But on modern mac systems we don't have $DISPLAY anymore. It comes from X11 days.

So I just removed the check entirely and it works. See here, this is the resulting script that runs when cht.sh is installed locally (via the curl download).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants