Skip to content

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

@framethrower

Description

@framethrower

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions