www.delorie.com/archives/browse.cgi | search |
> > You're talking about setting e.g. TERM=3Dxterm-256color in the environm= ent by > > default, but I was asking whether it would cause any harm to put 'term > > screen-256color' into the default /etc/screenrc. =A0Know any reason tha= t I > > shouldn't? >=20 > Well, yes. 'term screen-256color' sets TERM=3Dscreen-256color in the > environment of programs running inside screen, hence any program or > script that recognises "screen" but not "screen-256color" will no > longer work as expected. >=20 > Furthermore, 'term screen-256color' (or '-T screen-256color') does not > activate 256-color mode in screen. It it screen querying terminfo and > finding that it is itself running in a 256-color terminal that does > that. >=20 > Hence, when screen is started with the usual TERM setting of "xterm" > or "rxvt", you'd end up telling programs running inside screen that > 256 colors are available when that isn't actually the case. Got it. Thanks. Andrew. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |