On 6/15/24 10:28 AM, Oğuz wrote:
Yes. All I'm saying is, a variable that affects how certain programs behave when exported should not be implicitly exported by the shell, the user should do it manually if he wants.
This is a non-sequitur -- the entire reason for using `set -a' is to have
every variable whose value changes placed in the environment. There are
dozens of environment variables that `affect how certain programs behave'.
Someone using `set -a' knows this. The issue is whether checkwinsize
should change LINES and COLUMNS, and yes, users expect it to. (In fact,
users expect the shell to set LINES and COLUMNS unconditionally, and have
opened bug reports to that effect.)
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
