Package: bash
Version: 5.0-4ubuntu1
Severity: minor
Tags: a11y

Dear Maintainer,

It is now 2020 and colors on a terminal are generally very well supported.
That colors are not enabled by default does not make sense to me. When a
terminal does not support colors, I've rarely, if ever, had that
incorrectly detected.

The Debian Wiki for [BashColors](https://wiki.debian.org/BashColors)
says "Its output can be colorized to increase human readability." However,
that seems to go against the text in `/etc/skel/.bashrc` that states
colors are "turned off by default to not distract the user".

Frankly, imho, the reasoning in the `.bashrc` file does not make sense,
nor does it to all of the people that have commented on the Stack
Exchange post referenced on the Wiki (the title, and thus URL, has been
changed and thus the link in the wiki is broken):
https://unix.stackexchange.com/questions/329581/why-is-debians-default-bash-shell-colorless

It looks to me like the Debian package is where the offending `.bashrc`
is defined and thus copied to many other systems.

It is my opinion that the color handling section of `.bashrc` should be
rewritten. There is already some confusion about `force_color_prompt`
because it does not *force* colors in all cases. I think a more
appropriate variable/setting would be something like `colorless_prompt`
or `force_colorless_prompt` for those that prefer bash to be colorless.

Thank you for considering this request.

-- System Information:
Debian Release: buster/sid
  APT prefers eoan-updates
  APT policy: (500, 'eoan-updates'), (500, 'eoan-security'), (500, 'eoan'), 
(100, 'eoan-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 5.3.0-40-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bash depends on:
ii  base-files   10.2ubuntu7
ii  debianutils  4.8.6.3
ii  libc6        2.30-0ubuntu2
ii  libtinfo6    6.1+20190803-1ubuntu1

Versions of packages bash recommends:
ii  bash-completion  1:2.9-1ubuntu1

Versions of packages bash suggests:
pn  bash-doc  <none>

-- Configuration Files:
/etc/skel/.bashrc changed [not included]

-- no debconf information

Reply via email to