Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100875

Summary: broken integrated cowsay in emerge (emerge moo), (fixed)
Product: Gentoo Linux Reporter: Aurel Wildfellner <aurel.w>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://img23.imageshack.us/img23/8955/brokencow0bs.png
Whiteboard:
Package list:
Runtime testing required: ---

Description Aurel Wildfellner 2005-07-31 03:17:46 UTC
The integrated cowsay in the python emerge script is broken (emerge moo). See
the screenshot. I get the same result in gnomes terminal, xterm, konsole and in
a tty. My current Portage version is 2.0.51.22-r2.
How to fix: The problem is in the emerge python script
(/usr/lib/portabe/bin/emerge) at line 301. The last character in this line is a
single '\'. This should be replaced with a "\\", because in a python """..."""
string a single '\' as last character in one line produces problems, like that
it is interpreted as an <tab> instead of a newline.

How it is:
< Have you mooed today? >
 -----------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

How it should be:

< Have you mooed today? >
 -----------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\\
                ||----w |
                ||     ||

Works perfect for me, and when typing "emerge moo" the tail looks like this: ")\/\"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 07:23:32 UTC

*** This bug has been marked as a duplicate of 100001 ***