[Bug 1087982] New: XFCE Terminal does not update the tittle correctly because of error in /etc/bash.bashrc
http://bugzilla.suse.com/show_bug.cgi?id=1087982 Bug ID: 1087982 Summary: XFCE Terminal does not update the tittle correctly because of error in /etc/bash.bashrc Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: carlos.e.r@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This is a repeat of Bug 1076927, but for Leap 15.0, so that it can be solved before release. Photo of issue. See attachment 756971 The XFCE Terminal application does not update the tittle correctly. For instance, I "su -" but the tittle shows "terminal - user@hostname", where it should show "terminal - root@hostname" (see attached photo). This is affecting all releases since some update, from 42.2 and up to Tumbleweed. The problem is probably this. Compare "set | less" Settings on the XFCE term SHLVL=2 TERM=xterm-256color UID=1000 USER=cer ... ppwd () { true } but on (working) xterm: SHLVL=2 TERM=xterm TS1=$'\E7\E]2;%s@%s:%s\a\E]1;%s\a\E8' UID=1000 USER=cer ... ppwd () { local dir; local -i width; test -n "$TS1" || return; dir="$(dirs +0)"; let width=${#dir}-18; test ${#dir} -le 18 || dir="...${dir#$(printf "%.*s" $width "$dir")}"; if test ${#TS1} -gt 17; then printf "$TS1" "$USER" "$HOST" "$dir" "$HOST"; else printf "$TS1" "$USER" "$HOST" "$dir"; fi } It appears to be set or not in /etc/bash.bashrc # Set xterm prompt with short path (last 18 characters) # if path tput hs 2>/dev/null || path tput -T $TERM+sl hs 2>/dev/null ; then ... unset _isl _tsl _fsl _sc _rc ppwd () { local dir local -i width test -n "$TS1" || return; dir="$(dirs +0)" let width=${#dir}-18 test ${#dir} -le 18 || dir="...${dir#$(printf "%.*s" $width "$dir")}" if test ${#TS1} -gt 17 ; then printf "$TS1" "$USER" "$HOST" "$dir" "$HOST" else printf "$TS1" "$USER" "$HOST" "$dir" fi } else ppwd () { true; } fi Minas-Anor:~ # rpm -qf /etc/bash.bashrc aaa_base-84.87+git20180208.8eeab90-lp150.2.1.x86_64 Minas-Anor:~ # This was working correctly till some update. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1087982 http://bugzilla.suse.com/show_bug.cgi?id=1087982#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor --- Comment #1 from Dr. Werner Fink <werner@suse.com> --- Ammm ... indeed xterm-256color does not has an +sl extension that is tput -T $TERM+sl hs nor tput hs will not return success. Guess: with TERM=xterm it works -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1087982 http://bugzilla.suse.com/show_bug.cgi?id=1087982#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dr. Werner Fink <werner@suse.com> --- Updates are done -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1087982 http://bugzilla.suse.com/show_bug.cgi?id=1087982#c3 --- Comment #3 from Carlos Robinson <carlos.e.r@opensuse.org> --- I can confirm that the terminal is working correctly on 15.0 :-)) Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1087982 http://bugzilla.suse.com/show_bug.cgi?id=1087982#c12 --- Comment #12 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2020:1506-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1087982,1170527 CVE References: Sources used: SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): aaa_base-84.87+git20180409.04c9dae-3.39.1 SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): aaa_base-84.87+git20180409.04c9dae-3.39.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1087982 http://bugzilla.suse.com/show_bug.cgi?id=1087982#c13 --- Comment #13 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2020:0752-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1087982,1170527 CVE References: Sources used: openSUSE Leap 15.1 (src): aaa_base-84.87+git20180409.04c9dae-lp151.5.27.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com