|
|
|
|
|
by shoo_pl
267 days ago
|
|
Not to mention that every time you ssh to another server your keyboard stops working correctly. The solution is on their website: > infocmp -x xterm-ghostty | ssh YOUR-SERVER -- tic -x - I mean... I could learn what it does, but no way on earth I am going to be typing something like that every time I want to ssh somewhere. (This is somehow fixed in 1.2 but it requires additional entry in the config for whatever reason. Can't it just work?) |
|
"For whatever reason": because it requires modifying `ssh` and doing that by default is a really sketchy thing to do because it is a very security sensitive tool. No program (Ghostty included) should be mucking with that by default. We want users to be aware.
"Can't it just work?": No, because the entire mechanism is flawed, and I didn't invent the mechanism. It's like asking, "why must I drive to my destination, can't I just teleport?" The entire premise of the question is silly, and it's not the car's fault (Ghostty is the car in this example). For those who want to learn more about "the mechanism": read Ghostty's terminfo page, but also just do some light web searching on how terminfo works. Its a total nightmare.
I really wish that weren't the case, I really do. I promise its just as annoying to me as a user and more annoying to me as a maintainer to have to hear people complain about this repeatedly when I'm not doing anything wrong, personally. I'm playing by the rules. The rules are just bullshit.
We'll continue to make enhancements to improve this while we wait for Ghostty's terminfo to propagate to every machine in the world. It will, it'll just take... a long time. Next up we plan on introducing a `ghostty +ssh` command that you can drop-in replace most `ssh` usage with and it'll automagically just work.