Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 94:18:06 |
Calls: | 290 |
Calls today: | 1 |
Files: | 904 |
Messages: | 76,378 |
I have a situation where I am ssh'ing from a Linux machine running a >relatively new (Debian flavored) distro to another machine running an older >version of the same distro. The TERM on the ssh'ing machine is >tmux-256color, so when it ssh's to the other machine, it picks up this
value for TERM. The problem is that that file doesn't exist on the older >machine. So, the result is that whenever I run a ncurses based program
(the main two of interest here are "less" and "vi" (vim)), I get a warning >message saying something like "WARNING: terminal is not fully capable" (or >something like that...). And, the screen display (particularly in less) is >not quite right.
So, I figure "No problem"; I'll just copy over the terminfo file from the
new machine to the old machine. So, I copy /usr/share/terminfo/t/tmux-256color
to the same place on the old machine. But then, the error message doesn't
go away and the basic problem does not go away. So, for some reason, it >doesn't like the new file. I know I've done this sort of thing in the past >and it has worked, but for some reason, it isn't working here.
On the source machine, use 'infocmp' to print out the terminal
description. On the destination machine feed that description
to the 'tic' command.
I have a situation where I am ssh'ing from a Linux machine running a relatively new (Debian flavored) distro to another machine running an older version of the same distro. The TERM on the ssh'ing machine is tmux-256color, so when it ssh's to the other machine, it picks up this
value for TERM. The problem is that that file doesn't exist on the older machine. So, the result is that whenever I run a ncurses based program
(the main two of interest here are "less" and "vi" (vim)), I get a warning message saying something like "WARNING: terminal is not fully capable" (or something like that...). And, the screen display (particularly in less) is not quite right.
So, I figure "No problem"; I'll just copy over the terminfo file from the
new machine to the old machine. So, I copy /usr/share/terminfo/t/tmux-256color
to the same place on the old machine. But then, the error message doesn't
go away and the basic problem does not go away. So, for some reason, it doesn't like the new file. I know I've done this sort of thing in the past and it has worked, but for some reason, it isn't working here.
"terminfo" consists of binary data which is not standardized. There
are different implementations of it. See Terminfo page in Wikipedia etc.
In article <20241203093857.631@kylheku.com>,
Kaz Kylheku <643-408-1753@kylheku.com> wrote:
...
"terminfo" consists of binary data which is not standardized. There
are different implementations of it. See Terminfo page in Wikipedia etc.
Like I said, it is only compatible at the source code level.
But I like what you said about there being different implementations of it.