m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-04-09 11:35:23 +0200
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-04-09 11:35:23 +0200
commitc444938ffdf4003ca778e418a5127f5e86ecedfe (patch)
treec83669e25da02ff08e979be2e3559ba0c039289e
parentff223cdc4fca203e7811c187c718e07fa2b0f19d (diff)
Add terminfo steps
-rw-r--r--ssh.md10
1 files changed, 10 insertions, 0 deletions
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 <client port>:<address:port from server's POV>
`-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