First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 70592
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthew Lane <veneroso_dc@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mpg123-pre0.59sbalrog.patch.gz Patch to avoid terminal line settings be set more than once patch Andrzej Zaborowski 2005-06-10 07:11 0000 508 bytes Details | Diff
mpg123-pre0.59sbalrog.patch Plain-text of the above patch patch Andrzej Zaborowski 2005-08-07 19:02 0000 767 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 70592 depends on: Show dependency tree
Bug 70592 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-09 09:52 0000
When starting mpg123 like this:

mpg123 --list playlist.m3u --shuffle --random --control

Upon exiting mpg123, the terminal does not echo back typed text or command history.  The only remedy that I know of is to type 'reset'.  

This behaviour only seems to become apparent when run with the --control option.  If q is pressed while playing the first song, then it exits to the terminal normailly, but if you first press f (or even ctrl-c) to skip to the next song, then press q the terminal malfunctions.  It also malfunctions if its allowed to progress to the next song normally and then exit by pressing q.

------- Comment #1 From Matthew Lane 2005-01-29 15:34:56 0000 -------
Well, after no replys, this bug either cannot be fixed, or cannot be verified.

I only discovered it because my monitor failed and my only recorse was to access my box via a remote terminal.  It was an older machine, but I still wanted to be able to hear my music while I was forced to use the other one.  I have since purchased a new monitor, and this is of little priority to me.  I did notice that there is a new version of this package, and I have decided to test it.  Below are my results:

media-sound/mpg123-0.59s-r9

Same problems, reset must be executed to return to normal operation.

I can remove most of the headaches if i add && reset at the end of the command line.

------- Comment #2 From Kero 2005-05-30 11:58:41 0000 -------
*** Bug 94494 has been marked as a duplicate of this bug. ***

------- Comment #3 From Andrzej Zaborowski 2005-06-10 07:11:41 0000 -------
Created an attachment (id=60986) [details]
Patch to avoid terminal line settings be set more than once

(In reply to comment #0)

This is because in -C mode term_init() is called everytime a new songs starts
playing, so the first run of term_init() saves the original terminal line
properties in a variable but when playing a second song the value gets
overwritten. It also results in registering term_restore() with atexit() as
many times as songs were played, but term_restore() has a check that avoids
executing it more than once.
I attached a patch that fixes it by adding the same check to term_init().

------- Comment #4 From Andrzej Zaborowski 2005-08-07 19:02:44 0000 -------
Created an attachment (id=65376) [details]
Plain-text of the above patch

I realized it shouldn't be gzipped so i'm posting the plain-text version of the
patch.
It would be good if someone added it to the ebuild cause the bug can be really
annoying and it's easy to verify, although not many people use the -C option.

------- Comment #5 From Tony Vroon 2005-08-13 05:42:26 0000 -------
This is in portage; Andrzej, thanks for your work.

First Last Prev Next    No search results available      Search page      Enter new bug