-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At first thank you for your fast reply! :-P
In bash you need to turn the switch -e on to enable escape sequences. BUT in dash the escape sequences are enabled by default. when you run /bin/echo you are not using the builtin shell command, but the echo binary command. in this package rules file you use just echo "something", that will call the shell builtin command, and not the /bin/echo binary command. There is two solutions to this bug, be compatible with dash as in lenny it will be the default shell, or use /bin/echo instead of just echo. Adopted the first one, but if you believe it is better, 's/echo - -e/\/bin\/echo -e/g' . And the patch works if you are using DASH as shell interpreter. [EMAIL PROTECTED]:/trab/lmello/debian/dash-goal$ dash $ echo 'x11\tX11 not accelerated' | cat -vT x11^IX11 not accelerated Best Regards -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://getfiregpg.org iD8DBQFIFy2kLsy/JSmhVFURAj2/AJ9HM5yFuXkluJXwUKEyEZJIH6VwpACfS3fd +953AJa+3v1kxNRz+jvVk5I= =R+YZ -----END PGP SIGNATURE----- 2008/4/29 A Mennucc <[EMAIL PROTECTED]>: > On Tue, Apr 29, 2008 at 08:56:35AM -0300, Leonardo Rodrigues de Mello wrote: > > Here is one patch to solve this bug. > > > > > > - --- debian/mplayer.config.orig 2008-04-29 09:08:13.000000000 -0300 > > +++ debian/mplayer.config 2008-04-29 09:08:25.000000000 -0300 > > @@ -127,8 +127,8 @@ > > env -i mplayer -vo help 2> /dev/null | vo_filter | vo_grep > > else > > #emergency fall back > > - - echo -e 'xv\tX11/Xv accelerated' > > - - echo -e 'x11\tX11 not accelerated' > > + echo 'xv\tX11/Xv accelerated' > > + echo 'x11\tX11 not accelerated' > > fi > > } > > look at the difference > > $ /bin/echo -e 'x11\tX11 not accelerated' | cat -vT > x11^IX11 not accelerated > > $ /bin/echo 'x11\tX11 not accelerated' | cat -vT > x11\tX11 not accelerated > > a. > -- Leonardo Rodrigues de Mello jabber: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

