ASCII colors in MOTD
kalin at thinrope.net
Thu Jul 6 13:01:22 GMT 2006
For some time I noticed that my rsync server is not showing a colorfull MOTD...
Researching a bit, it turns out to be a problem since rsync-2.6.7 (rsync-2.6.6 is OK).
Looking at the NEWS:
- The way rsync escapes unreadable characters has changed. First, rsync
now has support for recognizing valid multibyte character sequences in
your current locale, allowing it to escape fewer...
So apparently this is to be blamed. Can anybody at least confirm this, or should I
directly file a bug?
For example you can see my MOTD by:
rsync -v rsync://rsync.tar.bz/gentoo-portage/NO_SUCH_FILE
It used to be a sleeping magenta cat on green grass...
Now the escape is escaped and becomes:
\#033[35m |\ _.,,---,._ \#033[33m/ \
\#033[35mZZzz. /,`.-'`' -. ;-;;,_ \#033[33m\ Kanagawa, Japan /
\#033[35m |,4- ) )-,_. ,\ ( `'-' \#033[33m \ /
\#033[35m '---''(u/--' `-'\_) \#033[33m \_____________/
\#033[32m ~~tar.bz~~~tar.bz~~~tar.bz~~ \#033[33m
AFAIR, this escaping was intended only for filenames, right?
And BTW, adding -8 does not change anything.
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
More information about the rsync