At least in Linux, on RedHat, the provided xterm terminfo entry is buggy: for whatever reason, they use an initialization sequence via is2 capability that forces an 80-column screen (See CSI ? n l). This is a very silly thing to do. So I want to change this. I want to change it as eloquently as possible.
The terminfo database is found in /etc/terminfo (undocumented) and /usr/lib/terminfo and $HOME/.terminfo and possibly $TERMINFO and $TERMINFO_DIRS.
My choices seem to be:
Use
infocmp xterm | perl <regexp> | ticto provide a new database and lay it in either the original file (bad idea) or in/etc/termcap/x/xtermCreate a new xterm entry called (e.g.)
xterm-minethat uses thesourcecapability and lay it in one of the above directories.
Do I have a third choice? Something that overrides just that one capability? A "tweak"?