Bug#872362: mpg123 disables cursor unconditionally on ttys

2017-08-23 Thread Thomas Orgis
Am Thu, 17 Aug 2017 09:17:01 +0200
schrieb Thomas Orgis : 

> I am not able to work on this for about two weeks ... but will,

I made a change to mpg123 trunk now that 

a) adds --no-visual option to diasable the behaviour and
b) disables it anyway when TERM=dumb.

The second variant will appear in the bugfix release 1.25.7, as I
indeed consider it a behaviour fix, while the added option will appear
in the next feature release. I suggest that we at least backport the
TERM=dumb change to debian.


Alrighty then,

Thomas


pgpG_bPXcWf2R.pgp
Description: Firma digital OpenPGP
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#872362: mpg123 disables cursor unconditionally on ttys

2017-08-17 Thread Thomas Orgis
(mpg123 upstream here)

Yes, the terminal support in mpg123 is rather basic. It does not consult any 
caps database, just hopes that the simple controls it issued are universally 
understood, which obviously works against your desire regarding the cursor.

The reason for switching cursor display off is the display of the progress bar 
in reverse video. I could possibly improve the behaviour around that.

I am not able to work on this for about two weeks ... but will, eventually. I 
still would very much avoid linking to ncurses or the like for these simple 
functions, though.


Alrighty then,

Thomas___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#872362: mpg123 disables cursor unconditionally on ttys

2017-08-16 Thread Ivan Shmakov
Package:  mpg123
Version:  1.23.8-1+b1
Severity: wishlist

After upgrading to the version in Stretch, mpg123(1) appears to
make the terminal cursor invisible by issuing a ‘civis’ (as in:
$ tput civis) control sequence to a tty, which goes against my
preferences.

Moreover, mpg123(1) does not seem to consult Terminfo for the
terminal-specific sequence, probably using a hardcoded one
instead – which prevents an obvious workaround from working:

$ TERM=dumb mpg123 -- audio.mp3 
(Cursor becomes invisible even though Terminfo lists no civis
sequence for TERM=dumb, per $ infocmp -- dumb.)

The --no-control option has no effect on this behavior, either.

A workaround that does work is to pipe mpg123(1) standard output
and error devices via cat(1), like:

$ mpg123 -- audio.mp3 2>&1 | cat 

-- 
FSF associate member #7257  58F8 0F47 53F5 2EB2 F6A5  8916 3013 B6A0 230E 334A

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers