You are not logged in.
Hi guys,
I've got a quick question. Seeing as some boot colour is white (i.e. [DONE]), will it be the same with pacman? I mean, I just love black-on-white terminals, and this makes "a bit" difficult to read white text. I'd love if this could be configured (similar to bright/dark background in vim). Oh! and thanks for the efforts from an Arch noobie!
PS: I just don't feel serious when I type "pacman" on a terminal.
color in init scripts can be set in /etc/rc.d/function
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
When this feature actually gets merged in (probably 3.1), the colors will probably be configurable (this = red, that = magenta)
Offline
color in init scripts can be set in /etc/rc.d/function
Thanks!
When this feature actually gets merged in (probably 3.1), the colors will probably be configurable (this = red, that = magenta)
That's really nice, and seems logical to me.
Offline
Patch is now up to pacman-3.0.0-rc2, PKGBUILD and patch download here
--enjoy
(10:45 ECT) ops fix problem with option UseColor in /etc/pacman.conf (it was malfunction)
fix bug whit padding spaces if output si colored, fix is available in cvs snapshot http://www.fi.muni.cz/~xgondz/pacman3-c … _snapshot/
Last edited by vogo (2007-03-15 15:30:44)
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
Well i think _I_ would personally love it if it makes it into
the first "stable" release of pacman 3.0 :-)
At least I love colours!
Offline
Is this going to use termcap or something to be more portable? From what I understand not all terminals use these escape sequences.
Offline
Is this going to use termcap or something to be more portable? From what I understand not all terminals use these escape sequences.
ANSI escape sequences are supported in most of terminals, it is standart, and it was simpler use this to make coloured pacman. I don't know what shall pacman 3.1 use for colored output, but I think that shall ANSI sequences too.
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
changes:
cleanup of the code (in patch of course )
error, warning and debug messages are now white (or bold on white background)
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
Hi all,
I rewrote most parts of the patch, in strings are "color marks" (code is much cleaner), this marks are replaced by ansi sequences (only, when output is tty), if you like see patch. I make some changes in output too. This is a final form .
I hope you like it (it's much better like first version )
PKGBUILD, source code and patch
very usefull function
# ~/.bashrc
# pacman
pacman() {
if echo $* |grep -E "\-S[cdefuwyvrbn]*\b|-[RUAF].*|\-S\b" &> /dev/null ; then
sudo /usr/bin/pacman $*
# su -c "/usr/bin/pacman $*"
else
/usr/bin/pacman $*
fi
}
Last edited by vogo (2007-04-12 06:36:14)
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
It's realy great stuff. Thanks! I think it should be in official pacman 3.0.0.
The output would be more readable if some less important lines were gray instead of white, I think (like in makepkg). How about that idea?
Good job.
Offline
Thanks for this patch, it works nice here.
Mortuus in anima, curam gero cutis
Offline
update: patch for pacman 3.0.1 http://www.fi.muni.cz/~xgondz/pacman3-color/
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
during makepkg, i got :
==> Validating source files with md5sums
pacman-3.0.1.tar.gz ... Passed
patch-pacman-3.0.1.color.diff ... FAILED
==> ERROR: One or more files did not pass the validity check!
Offline
==> Validating source files with md5sums
pacman-3.0.1.tar.gz ... Passed
patch-pacman-3.0.1.color.diff ... Passed
==> Validating source files with sha1sums
pacman-3.0.1.tar.gz ... Passed
patch-pacman-3.0.1.color.diff ... Passed
please download last version of PKGBUILD
all is ok, I make some changes, its a little step backward. I was at a party with my friends, and we spoke about pacman. I have finally any feedback, output are this changes.
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
got it, thanks!
I had to download it from that PKGBUILD folder, because the tar.gz one still don't pass on md5
BTW looks very nice the coloured pacman from your patch ohoho
Offline
can someone upload a pkg for this package, on my system it refuses to build.. so if someone could upload it please?
it would be appreciated..
Offline
One little bug fix: bad text alignment in "Description" in package info (pacman -Si package)
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
i get the error cannot find -lacl under compilation. i assumed that i was missing the library but that was not the case, any ideas?
Last edited by glad (2007-04-11 20:42:25)
Offline
i get the error cannot find -lacl under compilation.
I updated arch, and I've the same problem, wtf? it's a problem in someone package?! Yes that is acl-2.2.39-2.pkg.tar.gz, if use acl-2.2.39-1.pkg.tar.gz is all ok.
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
better format in Backup files
enjoy
edit: one more lost "\n" ops
edit: some little changes
Last edited by vogo (2007-04-13 10:34:05)
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
update: patch for pacman-3.0.2, download here, enjoy
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
is it gonna be ON pacman ???
Its a sick world we live in....
Offline
is it gonna be ON pacman ???
Please read the whole thread before you ask questions.
P.S. No.
Offline
Hi all, here is patch for pacman-3.0.3 enjoy
edit: some fixes in PKGBUILD
add option --nocolor and UseColor in pacman's manpages
Last edited by vogo (2007-05-02 19:46:38)
Just because I'm paranoid doesn't mean they're not out to get me.
Offline
Your patch doesn't support locales. Could you work on it? It would be awesome!!!
Offline