https://bugzilla.novell.com/show_bug.cgi?id=839132 https://bugzilla.novell.com/show_bug.cgi?id=839132#c0 Summary: bash: checkwinsize always off resulting unusable terminals Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: All OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gleixner@bib-bvb.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 In /etc/bash.bashrc the shell option checkwinsize gets never switched on: # If COLUMNS are within the environment the shell should update # the winsize after each job otherwise the values are wrong case "$(declare -p COLUMNS 2> /dev/null)" in *-x*COLUMNS=*) shopt -s checkwinsize esac The COLUMNS var is not exported, and therefore declare -p COLUMNS outputs: declare -- COLUMNS="80" and not declare -x COLUMNS="80" On SLES, Debian and Redhat the checkwinsize option is always switched on - so why not on opensuse? Reproducible: Always Steps to Reproduce: 1. open terminal with bash as shell, start vi 2. resize window 3. exit vi and then type something long in the terminal - looks totally broken! Actual Results: broken Expected Results: pretty -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.