[Bug 1876513] Re: .bashrc color_prompt check only works for xterm-color, not xterm-256color

2026-10-05 Thread Simon Poirier
Honestly, relying on TERM=xterm-color in 2026 is a outdated and brittle.
Rarely do we see xterm anymore and that kind of check is legacy.
Terminfo should be the way handle that (thus supporting other terms),
but it has its own set of issues.

I'd err on the status quo, instead of carrying a patch which is
inappropriate for something which is better tuned by the user in their
own bashrc.

But those are my 2c

** Tags added: dcr-freezer

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1876513] Re: .bashrc color_prompt check only works for xterm-color, not xterm-256color

2026-10-03 Thread Sean Bright
Upstream doesn’t want to change it so I wouldn’t expect Ubuntu to change
it either.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275623

** Bug watch added: Debian Bug tracker #275623
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=275623

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1876513] Re: .bashrc color_prompt check only works for xterm-color, not xterm-256color

2026-10-03 Thread Vladimir Bely
Still seeing this on Ubuntu 26.04: root gets a plain prompt with
TERM=xterm-256color, while a normal user gets colours.

I checked base-files 14ubuntu6.2 — share/dot.bashrc still only matches
xterm-color.

Could someone please review and apply the patch in comment #2? It's been
here since 2020. Is there anything blocking this fix?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1876513] Re: .bashrc color_prompt check only works for xterm-color, not xterm-256color

2020-08-05 Thread Ubuntu Foundations Team Bug Bot
The attachment "0001-share-dot.bashrc-color-support-for-256-color-
terms.patch" seems to be a patch.  If it isn't, please remove the
"patch" flag from the attachment, remove the "patch" tag, and if you are
a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not xterm-
  256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1876513] Re: .bashrc color_prompt check only works for xterm-color, not xterm-256color

2020-08-05 Thread Sean Bright
It's a trivial patch, but included for completeness.

** Patch added: "0001-share-dot.bashrc-color-support-for-256-color-terms.patch"
   
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+attachment/5398969/+files/0001-share-dot.bashrc-color-support-for-256-color-terms.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not xterm-
  256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1876513] Re: .bashrc color_prompt check only works for xterm-color, not xterm-256color

2020-08-05 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: base-files (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876513

Title:
  .bashrc color_prompt check only works for xterm-color, not xterm-
  256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1876513/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs