From 2cc8402458a7aeaa77054f2d74dbc618c1e544e1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 Feb 2018 10:19:12 +0530 Subject: [PATCH] A FAQ entry about terminfo over SSH --- README.asciidoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.asciidoc b/README.asciidoc index 83ff26689..3e9cd56ae 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -460,6 +460,20 @@ let &t_ut='' See link:https://github.com/kovidgoyal/kitty/blob/master/protocol-extensions.asciidoc#setting-text-styles-colors-in-arbitrary-regions-of-the-screen[here] for why kitty does not support background color erase. +== I get errors about the terminal being unknown or opening the terminal failing when SSHing into a different computer? + +This happens because the kitty terminfo files are not available on the server. Either install kitty on the server, +or simply copy over the terminfo files, using: + +.... +ssh myserver mkdir -p \~/.terminfo +infocmp xterm-kitty | ssh myserver "cat > /tmp/kitty.terminfo" +ssh myserver tic -x -o \~/.terminfo /tmp/kitty.terminfo +.... + +Really, the correct solution for this is to convince the OpenSSH maintainers to have ssh do this +automatically when connecting to a server. + == A tribute While over the decades I am sure many people have contributed to the