[MPlayer-dev-eng] [PATCH] Try restore terminal on crash, harder.
Roberto Togni
r_togni at tiscali.it
Thu Sep 9 21:33:30 CEST 2004
On 2004.08.16 22:26, Jan Knutar wrote:
> Now and then, people bring up how mplayer leaves their terminal
> unusable after crash. RTFS reveals that mplayer tries pretty damn
> hard to abort cleanly, however, since people are still experiencing
> their terminal going fubar, I had following idea. Due to the nature
> of
> this, I haven't been able to test it more than as far as that it
> compiles ;-)
>
>
>
> _Roughly_ speaking:
>
> OLD:
> crash: try uninit + exit
> crash: try uninit + exit
> crash: try uninit + exit
> crash: try uninit + exit
> crash: try exit(1)
> crash: send self kill -9
>
> PATCH:
> crash: try uninit + exit
> crash: try uninit + exit
> crash: try uninit + exit
> crash: try uninit + exit
> crash: forget about the normal mplayer uninit codepaths and try
> restore terminal by force + exit
> crash: try exit
> crash: send self kill -9
Applied.
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list