**Kitty terminal configuration** These files go in `~/.config/kitty`. If sudo doesn't want to handle control chars: Put `{ Defaults env_keep += "TERM TERMINFO" }` in visudo `export TERMINFO=/home/mark/.terminfo` If SSH doesn't want to handle control chars: `kitty +kitten ssh `