[Bug 839132] New: bash: checkwinsize always off resulting unusable terminals
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.
https://bugzilla.novell.com/show_bug.cgi?id=839132 https://bugzilla.novell.com/show_bug.cgi?id=839132#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=839132 https://bugzilla.novell.com/show_bug.cgi?id=839132#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-09-18 07:45:25 UTC --- Compare with bug #828877 *** This bug has been marked as a duplicate of bug 828877 *** http://bugzilla.novell.com/show_bug.cgi?id=828877 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=839132 https://bugzilla.novell.com/show_bug.cgi?id=839132#c2 --- Comment #2 from flo gleixner <gleixner@bib-bvb.de> 2013-09-26 23:41:08 UTC --- Hmm. duplicate bug fixed something in 12.2, but bash from 12.3 has been build at Sun Jan 27 00:27:24 2013 so i guess these bugs are not fixed in 12.3? As in comment https://bugzilla.novell.com/show_bug.cgi?id=828877#c9 it wont be fixed, which i cannot understand, and if so, this bug should be set to "wontfix" Why does only opensuse not set this option by default. This makes OS look really broken. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=839132 https://bugzilla.novell.com/show_bug.cgi?id=839132#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2013-09-27 06:51:17 UTC --- (In reply to comment #2) it is fixed in factory ... I'll try to submit a new bash to 12.3 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=839132 https://bugzilla.novell.com/show_bug.cgi?id=839132#c4 --- Comment #4 from Axel Köllhofer <AxelKoellhofer@web.de> 2014-01-15 09:49:41 UTC --- First of all, thanks for posting the workaround in #828877, this was really an annnoying behavior. Adding shopt -s checkwinsize to /etc/bash.bashrc.local does the job. But there has no update been released for 12.3 yet, so .... *PING* Greetings, AK -- 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.
participants (1)
-
bugzilla_noreply@novell.com