[Bug 506262] Re: dircolors doesn't support screen-256color-bce
This bug has been fixed on coreutils 8.5, available on Maverick: cer...@xango2:/build/buildd/weechat$ /usr/bin/dircolors -p | grep screen TERM screen TERM screen-256color TERM screen-256color-bce TERM screen-bce TERM screen-w TERM screen.linux cer...@xango2:/build/buildd/weechat$ /usr/bin/dircolors --version dircolors (GNU coreutils) 8.5 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by H. Peter Anvin. cer...@xango2:/build/buildd/weechat$ Marking as Fix Released, then. ** Changed in: coreutils (Ubuntu) Status: Triaged = Fix Released -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
** Changed in: coreutils (Ubuntu) Assignee: Simon Olofsson (simono) = (unassigned) -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Hi Simon, sorry for the delay, got quite busy. You would probably want to read https://wiki.ubuntu.com/StableReleaseUpdates. There is a chance this SRU would be rejected (does not seem to match the requirements). On the other hand, this is the type of issue that really bothers when you are hit by it. Also, there is bug 577357, which also affects dircolors. Both of them together might have a better chance. -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Yes, we should SRU this, as soon as lucid is out. That's why I prepared a branch and package. Can you help me preparing the SRU request? -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
The package in this PPA works for me: https://edge.launchpad.net/~simono/+archive/ppa Can somebody please test it? ** Changed in: coreutils (Ubuntu) Status: In Progress = Incomplete -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Simon, thank you for your work here. Just a note, the Status should remain as triaged. You might also want to consider proposinng it as a SRU, perhaps. Also: I provide up-to-date coreutils (GIT image, plus Debian/Ubuntu patches) at https://edge.launchpad.net/~hggdh2/+archive/ppa, which also can be used to check on an already-existing upsteram fix. ** Changed in: coreutils (Ubuntu) Status: Incomplete = Triaged -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
** Changed in: coreutils (Ubuntu) Status: Triaged = In Progress ** Changed in: coreutils (Ubuntu) Assignee: (unassigned) = Simon Olofsson (simono) -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
** Branch linked: lp:~simono/ubuntu/lucid/coreutils/fixes-bug-506262 -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Thank you for opening this bug and helping make Ubuntu better. Can you please give me more data -- specifically, which programme sets this term name? And, also, what is your Ubuntu and coreutils versions? ** Changed in: coreutils (Ubuntu) Importance: Undecided = Low ** Changed in: coreutils (Ubuntu) Status: New = Incomplete -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Sure... karmic 9.10... coreutils 7.4.2ubuntu1 screen is what sets the TERM env variable. I am using it via byobu and I have actually submitted a patch there as well. The result of my patch exposes this issue. https://bugs.launchpad.net/bugs/409353 Not all the screen terminfos the database are in dircolors. jco...@freewill:~$ ls -1 /lib/terminfo/s/screen* /lib/terminfo/s/screen /lib/terminfo/s/screen-256color /lib/terminfo/s/screen-256color-bce /lib/terminfo/s/screen-bce /lib/terminfo/s/screen-s /lib/terminfo/s/screen-w jco...@freewill:~$ dircolors -p | grep screen TERM screen TERM screen-256color TERM screen-bce TERM screen-w TERM screen.linux In order to get 256 colors in ncurses apps (specifically vim in my case) termifo obviously needs to report max_colors=256. Since screen doesn't automatically choose a 256color TERM based on the host TERM either you have to specify on on the command line to screen with -T. (I'll submit a bug to screen too btw) So, my solution for byobu was to test tput and if max_colors=256 specify -T screen- 256color to the screen binary. Now, if you also specify defbce on in your screenrc (as byobu) does, screen will add that to the TERM specified. Now you wind up with TERM=screen-256color-bce for your screen hosted environment. The problem is now dircolors will not return color info. I suppose a better fix would be to have dircolors check the max_colors of the terminfo instead of relying on terminfo names that change frequently, but... Simple fix would be to just add the missing TERM name. -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Thank you. I just checked coreutils GIT, and this is what I see: cer...@xango:~$ dircolors --version dircolors (GNU coreutils) 8.3.2-d0f18 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by H. Peter Anvin. cer...@xango:~$ dircolors -p | grep screen TERM screen TERM screen-256color TERM screen-256color-bce TERM screen-bce TERM screen-w TERM screen.linux cer...@xango:~$ (and yes, I like to live dangerously ;-), I am indeed running coreutils GIT.) So your specific case was addressed somewhere between 7.4 and 8.3 GIT. I will check which patch made it, -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Here it is: commit 5424a74725030c7ddb89e3104e3c730c310379d1 Author: Mike Frysinger vap...@gentoo.org Date: Thu May 7 15:29:23 2009 -0400 dircolors: add screen-256color-bce to TERM list * src/dircolors.hin: Add screen-256color-bce. This patch was part of the updates making coreutils 7.5. And I agree -- simplest fix is maintain the current process, and add it to the table. -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 506262] Re: dircolors doesn't support screen-256color-bce
Marking as Triaged, fixed on upstream coreutils 7.5. Eventually should be available for Lucid and later. ** Changed in: coreutils (Ubuntu) Status: Incomplete = Triaged -- dircolors doesn't support screen-256color-bce https://bugs.launchpad.net/bugs/506262 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs