From c444938ffdf4003ca778e418a5127f5e86ecedfe Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Fri, 9 Apr 2021 11:35:23 +0200 Subject: Add terminfo steps --- ssh.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ssh.md b/ssh.md index fd62496..5ea1c7c 100644 --- a/ssh.md +++ b/ssh.md @@ -21,3 +21,13 @@ Change password for key: ssh -N host -L : `-N` is to not start an SSH session. + +## Configuring remote machine to handle local terminal + +Sometimes the remote doesn't know how to handle your local terminal. This can +lead to backspace, `clear`, and other things not working. + + infocmp $TERM > $TERM.terminfo + scp $TERM.terminfo remote:~/ + # on remote + tic -x $TERM.terminfo -- cgit v1.2.3