Hi, for some reason, bash's developers decided to not enabled "checkwinsize" by default. Take a look at E11 to see what problem there is, if it is disabled. Since checkwinsize is an options which solves some problems, it should perhaps be enabled by default, for example by /etc/profile or /etc/bashrc. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Good idea. Fixed in portage, but didn't bother to rev-bump bash to push it out. This can go out gradually, or with the next necessary bash bump.
i just tested the new bashrc, but i think that /etc/bash/bashrc is the wrong place. bash doesn't seem to execute /etc/bach/bashrc if bash is started as a login-shell. For example screen does start a login-shell, so the option will be disabled for any screen-session. How about putting it in /etc/profile? But when it is in /etc/profile and not in /etc/bash/bashrc, it won't be enabled for interactive shells, right?
It's not appropriate for /etc/profile because that file only runs for login shells. See bug 26952 However I think there is still a hole in our skel files. ~/.bash_profile should be sourcing /etc/bash/bashrc prior to sourcing ~/.bashrc I'll have to look more closely to make sure I've got this right.
I don't like it when things would be handles by user-specific files /skel files. On the other hand, ~/.bash_profile is also sourced for any login-shell, so putting it into ~/.bash_profile would be simular to putting it to /etc/profile. Wouldn't it be better, if /etc/profile would source /etc/bash/bashrc? just to get that straight: login-shell -> /etc/profile is sourced, but not /etc/bash/bashrc inetractive-shell -> /etc/bash/bashrc is sources, but not /etc/profile So any login-shell (for example the shell on the text-console) will not have the settings made in /etc/bash/bashrc, although it is interactive (according to $-).
done already
I guess this went away in Bash 5.
(In reply to Leho Kraav (:macmaN @lkraav) from comment #6) > I guess this went away in Bash 5. Please file a new bug if you have an issue.