[MPlayer-users] Terminal settings not restored after playing DVB(-T) on Linux

Ilja Sekler ilja_sekler_ at gmx.de
Sat Sep 6 21:50:00 CEST 2008


Hello,

starting with r27401
<http://svn.mplayerhq.hu/mplayer?view=rev&revision=27401>, MPlayer
doesn't restore tty settings after playing DVB(-T) and quitting MPlayer,
making user input in this terminal invisible.

stty -a

reports before starting MPlayer

speed 38400 baud; rows 32; columns 100; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2
= M-^?; swtch = M-^?;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc ixany imaxbel
iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt echoctl echoke

and after quitting MPlayer

speed 38400 baud; rows 32; columns 100; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2
= M-^?; swtch = M-^?;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc ixany imaxbel
iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop
-echoprt echoctl echoke

The difference: -echo and -icanon.

Ubuntu 8.04, MPlayer dev-SVN-r27531-4.2.3 for x86.

########################################################################

Steps to reproduce:

1. Play a DVB channel (mplayer dvb://foo)

2. Quit MPlayer (press "Q" or simply kill the process)

3. Type anything into the terminal or try to browse the history.

Actual results: no echo, the input remains invisible.

Expected results: you see what you are typing.

########################################################################

Can anyone please reproduce this issue?

Regards,

Ilja



More information about the MPlayer-users mailing list