[MPlayer-dev-eng] [PATCH] hide cursor on terminal

D Richard Felker III dalias at aerifal.cx
Mon Oct 14 02:36:43 CEST 2002


On Mon, Oct 14, 2002 at 02:11:13AM +0200, Arpi wrote:
> Hi,
> 
> > On Fri, Oct 11, 2002 at 10:26:15PM -0400, D Richard Felker III wrote:
> > > Hey. I would just commit this directly, but I'm not too familiar with
> > > getch2.c so I'd like to run it by everyone first. This patch hides the
> > > cursor when getch2 is enabled, which is needed when using the bes on
> > > some cards, since the annoying flashing cursor appears over top of the
> > > overlay. The old TOOLS/mpconsole script I wrote works around this, but
> > > since it's mostly obsolete already I'd like to go ahead and make it
> > > entirely obsolete. If no one objects I'll commit this patch soon.
> > 
> > Could you explain shortly how this is suppoesed to work?  I applied your
> > patch and rebuilt, but I can still the cursor with commands like
> > 
> >   clear && mplayer -vo mga /var/tmp/FinalFantasy.avi > /dev/null
> 
> hehe :)
> as you sent the disable cursor ANSi codes to /dev/null :)

Haha, 10l to me. I should be using fd 0, not 1. :)

Rich




More information about the MPlayer-dev-eng mailing list