[Bug 30735] Re: colormake should replace default make
It may be a very bad idea to make colormake replace make by default. colormake generates color codes even if the output is not a terminal. If you do: $ colormake foo then foo will contain the color change codes. It would break a lot of scripts that try to parse the output of make and would be perturbed by the color codes added by colormake. -- colormake should replace default make https://bugs.launchpad.net/bugs/30735 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
** Changed in: colormake (Ubuntu) Status: New = Confirmed -- colormake should replace default make https://bugs.launchpad.net/bugs/30735 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
The goal of colormake is to add side effects to the make command (add colors to the output). Some scripts use make and may be very broken if the output of make contains colors added to the normal output. Replacing make by colormake will have desastrous (and hard to debug) side effects. If you want you can just configure your bash to use colormake by default: $ alias make=colormake I (Debian maintainer of colormake) propose to close/reject this bug. -- colormake should replace default make https://bugs.launchpad.net/bugs/30735 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
By replacing, I meant taking the steps necessary so the output of make shown to the user is colorised. That is exactly what your suggestion does. It seems to me a pointless step to force users to figure out how to do this additional step (properly!), when there is a package management system that is able to install everything that is needed to make it work out-of-the-box. On the other hand, in this particular case, I guess that if you know what 'make' is you should know what 'alias' is. In any case, my .bashrc contains, which works with or without colormake installed. # enable color support of ls and also add handy aliases if [ $TERM != dumb ] [ -x /usr/bin/dircolors ]; then eval `dircolors -b` alias ls='ls --color=auto' alias dir='ls --color=auto --format=vertical' alias vdir='ls --color=auto --format=long' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' if [ -x /usr/bin/colormake ]; then alias make='colormake' fi if [ -x /usr/bin/colordiff ]; then alias diff='colordiff' fi fi So, this bug does not affect me anymore, and I personally do not care much if you close/reject it (and bug 30734). -- colormake should replace default make https://bugs.launchpad.net/bugs/30735 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
I reopen this bug as I don't see the point to discuss about a RFE on forums instead of on our bug tracker. ** Changed in: colormake (Ubuntu) Status: Invalid = New -- colormake should replace default make https://bugs.launchpad.net/bugs/30735 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
Perhaps it should use the same system used for awk/gawk/mawk. -- colormake should replace default make https://launchpad.net/bugs/30735 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
I definitely agree with you Manu. colormake should be automatically used after its installation (same for colorgcc and colordiff). I'm wondering what's the good way to do that. Using alternatives or something? -- colormake should replace default make https://launchpad.net/bugs/30735 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
Thanks for your suggestion. The changes you are requesting require more discussion, which should be done on an appropriate mailing list or forum. http://www.ubuntu.com/community/forums/ might be a good start. ** Changed in: colormake (Ubuntu) Status: Unconfirmed = Rejected -- colormake should replace default make https://launchpad.net/bugs/30735 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
What needs to be discussed? If you install colorgcc is because you want coloured gcc. The same for colormake. I don't know who is going to want to discuss this. On the other hand, I don't have the time right now to provide a patch for this, I was hoping that being an open wish, someone may decide to fix it. -- colormake should replace default make https://launchpad.net/bugs/30735 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 30735] Re: colormake should replace default make
** Changed in: colormake (Ubuntu) Importance: Low = Wishlist -- colormake should replace default make https://launchpad.net/bugs/30735 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs