Re: Escape sequences & console

H. Peter Anvin (hpa@zytor.com)
1 Mar 2001 11:48:39 -0800


Followup to: <Pine.LNX.4.31.0103011919490.23240-100000@phobos.fachschaften.tu-muenchen.de>
By author: Simon Richter <Simon.Richter@phobos.fachschaften.tu-muenchen.de>
In newsgroup: linux.dev.kernel
>
> On Thu, 1 Mar 2001, Sébastien HINDERER wrote:
>
> > Could someone tell me where I can find a document listing all the
> > escape-sequences that could be sent to the console (/dev/console) and what
> > they do.
>
> Please don't use those sequences directly, as not everyone has
> /dev/console on a vt. You can find the information you want in your local
> terminfo database under "linux".
>

Well, don't use them directly without checking that $TERM is "linux".
Also, normally they should be sent to the current terminal (/dev/tty,
or just stdout) rather than /dev/console.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/