1) kitty +kitten ssh myserver
That solves that.
That solves that.
infocmp -x xterm-kitty | ssh myserver tic -x -o \~/.terminfo /dev/stdinThe command on the left side of the pipe dumps the terminfo for "xterm-kitty" to stdout
The command on the right side launches ssh to "myserver" and executes tic to compile from stdin and output to the ~/.terminfo directory (which nurses/terminfo will search by default).
So basically it takes a local terminfo entry and copies it to the user-local terminfo path on the remote host.
The command will work for any other terminal too; just replace xterm-kitty with whichever entry you'd like copied.
alias ssh='TERM="xterm-256color" ssh'
Generally works just fine for me. I tried the kitten approach but I had some issues as well.