On Wed, Aug 24, 2005 at 01:07:42PM +0100, Ciaran McCreesh wrote: > On Wed, 24 Aug 2005 02:10:04 +0200 Sven Köhler <[EMAIL PROTECTED]> wrote: > | After the all, the whole mess can IMHO only be cleared up, if there's > | something like a universal terminal-type, and the application could > | ask the terminal for it's feature-set. So i'm not aware if this is > | possible, but this seems to be the only _really_ reliable extensible > | way to do this. I don't see the point in define lots of all new > | terminal-types. > > There is none. Even if such a thing existed, it wouldn't solve the > "does this terminal have any weird bugs" issue.
I think the key thing here is that the application should be able to ask the terminal for its feature set. That'd also solve the cases where a terminal changes right beneath a running application. That happens during attaching a screen session. Would it be possible/hard for a terminal to have a 'gimme_your_terminfo' capability? Or, alternatively, the capability could be 'gimme_your_TERM' and this would solve problems with buggy terminals as well. For me the biggest obstacle with terminals is that TERM environment variable can't change during an application runtime, while the terminal can change and, when using screen, often does. Well, I don't know much about this and you seem to be very knowledgeable, so I ask :). Ivan -- gentoo-dev@gentoo.org mailing list