Skip to content

urxvt and Putty Home/End don't work in Mosh #178

Open
@kmcallister

Description

@kmcallister

urxvt (aka rxvt-unicode) sends CSI7~ and CSI8~ for Home, End respectively.

With TERM=rxvt-unicode, bash will interpret these correctly and jump to the beginning/end of the line.

Screen sets TERM=screen and translates them to CSI1~ and CSI4~, which bash also understands.

But Mosh sets TERM=xterm and does no translation, so bash gets confused.

If I tell urxvt (by X resource) to send CSI1~ then my local bash is confused. If I tell it to use CSIH and CSIF, the Xterm codes, then most things work, but Barnowl doesn't recognize these codes (which could be a Barnowl bug).

I don't know if this is related to #161.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions