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

Screen command examples utilizing arrow-keys work from command-line but not via KDEconnect #258

Open
framethrower opened this issue Jan 6, 2021 · 0 comments

Comments

@framethrower
Copy link

I'm remotely controlling my castnow session via KDEConnect.
The examples that utilize arrow-keys won't work there out of the box, because of some weird eval/escape issue.
But if you use '^[[D' instead of $'\e[D' than it works both from CLI and via KDEConnect.
I used showkey -a to figure this out.

Examples:

Seek backward.

Instead of
screen -S cast_session -X stuff $'\e[D'
use
screen -S cast_session -X stuff '^[[D'

Seek forward.

Instead of
screen -S cast_session -X stuff $'\e[C'
use
screen -S cast_session -X stuff '^[[C'

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

No branches or pull requests

1 participant