Foot: A fast and minimalistic Wayland terminal emulator
codeberg.org
codeberg.org
This isn't a big deal if you only need to interact with a few machines via ssh, but when you are working with 100+, including networking gear that has no hope of using a custom terminfo, it really gets to be a gnarly pain.
I must be getting old.
If you don't want this, you can just use xterm-256color instead.
That said, and to add onto the other reply, you're in luck: OpenSSH 8.8p1 includes support¹ for setting TERM in your SSH config with SetEnv². In my experience this works fine with just the client OpenSSH being up-to-date connecting to servers with older SSH versions and terminfo databases.
In your case, you might want to use a wildcard host at the end of your file to default to a more compatible TERM variable, and then override to foot's TERM variable value for the hosts you use that do have up-to-date terminfo:
Host my-up-to-date-terminfo-host
SetEnv TERM=foot
Host *
SetEnv TERM=xterm-256color
I've been using Foot for months now and just came across this issue, so it's nice there's now a path to get the full-fledged Foot experience only where it's supported. I usually stay comfortably inside GUI Doom Emacs for most shell workflows, but it's nice to have a modern, Wayland-native, no-nonsense terminal emulator when I do break my config :P.¹ https://github.com/openssh/openssh-portable/commit/f64f8c00d...
If you're using such a terminal, adding alias ssh="TERM=screen ssh" would probably fix most of your issues without sacrificing functionality in the rest of the system or relying on applications assuming your terminal is more capable than it says to be.
They need to support the common subset anyway because a lot of software looks at terminfo and assumes "mostly vt100" no matter what.
S=my_server ; ssh $S 'mkdir -p ~/.terminfo/f/' ; scp /usr/share/terminfo/f/foot $S:~/.terminfo/f/foot
PITA still.My current favorite is kitty. Anyone have a different cross platform TE they prefer?
foot is really nice. It supports bitmap fonts and wayland, both are musts for me. It also has a cool url hints mode like termite did. I always missed that while using alacritty (after termite, or rather pango, dropped bitmap support and I had to switch).
I love it, even if I prefer other terminals on faster / GPU-accelerated computers.
Been using it for about 6 months now as my default terminal. It’s easy to configure, has all the modern bells and whistles, and you can run even run it as a daemon.
edit: comment says there is a way to change font size. oops, good. is it possible to change the font without recompiling?
edit2: this post is wrong, yay! there's a .ini file! great. apologies, i'm not sure if i simply had out of date, or just wrong knowledge someone shared. or maybe i was thinking of 'st' terminal?
E: Even simpler method for more comedic effect?
https://codeberg.org/dnkl/foot#user-content-configuration
There's also a template in the repo:
https://codeberg.org/dnkl/foot/src/branch/master/foot.ini
So, looks like one has to just set the font in the config file ;)