Files
gentoo/app-shells
Kerin Millar 1d15b22037 app-shells/bash: fix title setting heuristic; set both icon name and title
In bug #934732, Sven Wegener requested for bash to refrain from setting
the "internal" window title. That is, the window title (%t) of GNU
screen and the window_name (#W) of tmux. A patch was attached to the
bug, which I acknowledged and which was subsequently applied by Sven.
Unfortunately - and perhaps owing to my eagerness to have the matter be
resolved - I did not notice that the patch introduces a regression. The
regression is that both screen and tmux are no longer exempted from the
sshd(8) check, resulting in neither the hardstatus (%h) being set for
the former, nor the pane_title (#T) for the latter. This commit restores
the intended behaviour.

In comment #10 of bug #550104, Heui-mun Park makes a compelling case
that the "\033]0;" variant of the Set Text Parameters sequence should be
preferred over other variants. The difference is that it sets the "icon
name" in addition to the "window title". Indeed, I have found that most
applications that employ the sequence make use of this more
comprehensive variant. For many users, such a distinction would amount
to being little more than an artifact of history. Nevertheless, it makes
perfect sense for 10-gentoo-title.bash to be aligned with the practices
of others in this regard. Make it so.

Improve the commentary in 10-gentoo-title.bash, along with the accuracy
and utility of the information conveyed by the ewarn comands in the
ebuilds.

Have the live ebuild (version 9999) install 15-gentoo-bashrc-check.bash,
just as the other recent ebuilds do. It's simpler from a maintenance
standpoint for there to be as few differences between them as is
possible.

Fixes: 9ff9f8199c
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
2024-06-30 18:25:03 +01:00
..
2024-04-30 20:21:05 +02:00
2024-04-30 20:21:05 +02:00
2024-04-30 20:21:05 +02:00
…
2024-06-08 15:02:24 +03:00
…
2024-06-11 15:09:27 -04:00
…
2024-04-03 11:43:43 +02:00
…
2024-06-23 21:46:32 +02:00
…
2024-06-04 09:27:04 -07:00
2024-04-03 11:43:43 +02:00
…
…
…
…
…
…
…
…
…
2024-05-22 23:17:22 +10:00
2024-06-25 17:25:57 +02:00
2024-05-12 15:32:18 +09:00
2024-04-30 20:21:05 +02:00