Package: fortune-zh Version: 1.6 Severity: minor These fortune files contain hard-coded ANSI escape codes to change the foreground color of some lines. This means that anything that does not interpret ANSI escape codes will show garbage onscreen, for example the less(1) command:
fortune /usr/share/games/fortunes/tang300 | less ESC[32m《将赴吴兴登乐游原》ESC[m ESC[33m作者:杜牧ESC[m 清时有味是无能,闲爱孤云静爱僧。 欲把一麾江海去,乐游原上望昭陵。 The correct way to change foreground color in a shell script is to use the tput(1) program, e.g. #!/bin/sh printf 'this is ' tput setaf 4 printf blue tput sgr0 echo '!' Since this cannot be done in a fortune file, I suggest the escape codes simply be removed. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fortune-zh depends on: ii fortune-mod 1:1.99.1-3 provides fortune cookies on demand ii zh-autoconvert 0.3.16-2 Chinese HZ/GB/BIG5/UNI/UTF7/UTF8 e fortune-zh recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]