> | That'd also solve the cases where a terminal changes right beneath a > | running application. That > | happens during attaching a screen session. > > No it doesn't. Screen provides a virtual terminal with lots and lots of > capabilities. It then reduces them itself internally to what it thinks > the underlying term supports -- again, this is done via terminfo, so if > you're running screen on xterm you're running a crippled screen.
So, screen advertises the same capabilities to the starting apps regardless the terminal the screen is being run on? Or it advertises reduced capabilities according the terminal it's currently attached to? As for the former, I don't think that would work. If an app chooses a multi color style cuz screen is able to handle it, but then screen tries to reduce it to mono. And for the later, it'd work much better if terminal could pump its capabilities to the app at runtime, that is during reattachment. Would it be that hard to extend window resize or something? Ivan -- gentoo-dev@gentoo.org mailing list