We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

zsh - Delete and Arrow keys do not work correctly [answered]

asked 2015-10-30 01:46:49 +0200

exel232 gravatar image

Hello,

in zsh the backspace key does not remove entered characters when using zsh over ssh. Instead it displays a strange forward delete behavior.

Any help would be appreciated.

Best regards

Exel232

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by JSEHV
close date 2016-02-01 18:08:30.125180

1 Answer

Sort by » oldest newest most voted
0

answered 2015-10-31 00:37:16 +0200

hlub gravatar image

This kind of problem is usually caused by a missing entry for your terminal in the host systems terminfo database.

For example: on my big machine $TERM = rxvt-unicode-256color. When I ssh into my telephone, the shell will inherit this value of $TERM, but there is no entry for rxvt-unicode-256color under my Jolla's /usr/share/terminfo/r, resulting in exactly the behaviour you describe.

Ther are several ways around this problem (assuming you have TERM=weird-terminal, and less-weird-terminal is known on the Jolla - xterm or vt100 will work)

edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2015-10-30 01:46:49 +0200

Seen: 770 times

Last updated: Oct 31 '15