Bug#573304: vlc -H assumes a terminal
Reinhard Tartler
siretart at tauware.de
Wed Mar 10 21:29:37 UTC 2010
severity 573304 wishlist
tag 573304 upstream
stop
On Wed, Mar 10, 2010 at 20:33:16 (CET), Christophe Mutricy wrote:
> Le Wed 10 Mar 10 à 21:34 +0800, jidanni at jidanni.org a écrit :
>> vlc -H assumes a certain kind of terminal.
>> E.g., in emacs, one must do
>> (compile "vlc -H|col -b")
>> to see it clearly. Same in an M-x shell window.
>
> What's the actual problem ?
>
> Non printable characters ? (--nocolor would help) Bad wrapping ?
>
> Is emacs really providing a terminal ?
well, yes and no. The emacs shellbuffer (M-x shell) is not a real
terminal emulator and does not by default decode colors. However, with
'M-x term' Emacs does provide a proper terminal emulator and there, I
don't notice any issues.
AFAIU this report, vlc does not sufficiently check if the terminal is
able to decode ansi sequences. This could for instance be implemented by
checking the TERM variable. The shellbuffer puts 'TERM=dump' there,
'M-x term' puts 'TERM=eshell-color'.
--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
More information about the pkg-multimedia-maintainers
mailing list