[MPlayer-dev-eng] [PATCH] video.html simplification
Diego Biurrun
diego at biurrun.de
Thu Feb 14 13:14:29 CET 2002
Gabucino writes:
> Nick Kurshev didn't RTFM :
> > > Will you apply the patch?
> Probably. I'll see (busy now).
OK, cool.
> > > I am guessing "echo -e '\033[?25l'" is your kind of humor, isn't it?
> You could say that :) I tell you how I found it :) straced aafire (aalib demo),
> then kill -9 it on various points to get these ANSI sequences :)
> setterm? Fuck unix ;)
You are crazy ;-)
No, really, it's because you didn't RTFM ;-) This is described in
/usr/src/linux/Documentation/VGA-softcursor.txt.
This is probably a little bit offtopic, but you can do some really
cool stuff with ANSI escape sequences and colored console prompts,
like
YELLOW="\[[33;1m\]"
NORMAL="\[[0m\]"
PS1="${YELLOW}\h:\w$ ${NORMAL}"
which is what I use for my prompt. Works great on black consoles,
makes it so much easier to spot your prompt when scrolling.
And as root I use
RED="\[[31;1m\]"
NORMAL="\[[0m\]"
export PS1="${RED}\h:\w$ ${NORMAL}"
which automatically warns me of lurking danger :-)
Diego
More information about the MPlayer-dev-eng
mailing list