Hi,
i think that mpg321-0.2.11-2 version resolves this problem by
adding the -x option which enables xterm title setting. This is a better
approach. You can download and test it from mentors.d.n. 
A
mentor has to upload it to sid.

Thanks for your time and effort
giving away this patch.

Best regards,
Chris.


> Package: mpg321 
> Version: 0.2.11-1.1 
>
Severity: important 
> Tags: patch 
> 
> Hi, 
> 
> since version 0.2.11, mpg321 will no longer run without
a controlling 
> terminal. This is caused by the xterm title
setting code that needs a 
> controlling terminal and quits if it
can't find one. 
> 
> I've marked this bug as important,
since the most common usecase for 
> mpg321 is probably running
from music daemons like mpd or moosic. This 
> bug prevents mpg321
from working with moosic at least, I haven't tested 
> mpd. 
> 
> I've attached a patch that fixes this issue. It makes
mpg321 not fail 
> when no controlling terminal was found.
Instead, it will simply skip the 
> terminal title setting with an
error message. 
> 
> This patch adds some comments and
cleans up osc_print and renames it to 
> set_term_title, for extra
source code clarity. 
> 
> Gr. 
> 
>
Matthijs 
> 
> -- System Information: 
> Debian
Release: squeeze/sid 
> APT prefers unstable 
> APT
policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') 
>
Architecture: amd64 (x86_64) 
> 
> Kernel: Linux
2.6.32-rc8 (PREEMPT) 
> Locale: LANG=en_US.UTF-8,
LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) 
> Shell: /bin/sh linked to
/bin/bash 
> 
> Versions of packages mpg321 depends on:

> ii libao2 0.8.8-5 Cross Platform Audio Output 
> Librar

> ii libc6 2.10.2-5 Embedded GNU C Library: 
> Shared lib

> ii libid3tag0 0.15.1b-10 ID3 tag reading library from 
> the M 
> ii libmad0 0.15.1b-4 MPEG audio decoder library

> ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime 
> 
> mpg321 recommends no packages. 
> 
>
mpg321 suggests no packages. 
> 
> -- no debconf
information 
> 






--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to