Add ssh script with terminfo copy to README
This commit is contained in:
parent
e4ed170748
commit
06cb2cafe6
@ -550,6 +550,17 @@ Really, the correct solution for this is to convince the OpenSSH maintainers to
|
|||||||
have ssh do this automatically when connecting to a server, so that all
|
have ssh do this automatically when connecting to a server, so that all
|
||||||
terminals work transparently.
|
terminals work transparently.
|
||||||
|
|
||||||
|
In the meantime, you can automate it by using a simple script called, for example,
|
||||||
|
`~/bin/myssh`
|
||||||
|
|
||||||
|
....
|
||||||
|
#!/bin/sh
|
||||||
|
infocmp xterm-kitty | ssh $1 tic -x -o \~/.terminfo /dev/stdin && ssh $1
|
||||||
|
....
|
||||||
|
|
||||||
|
Then you can use `myssh server` to log in to `server` with the terminfo file
|
||||||
|
being automatically available.
|
||||||
|
|
||||||
|
|
||||||
=== How do I change the colors in a running kitty instance?
|
=== How do I change the colors in a running kitty instance?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user