Skip to contentSkip to conversation

Escape sequences & console

DISCUSSION Simon Richter 2 participants 2 messages Mar 1, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): "[email protected]

#1 lore raw
Quoted 3 lines · Sébastien HINDERER

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".

Simon

Signature · 4 lines
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: DC26 EB8D 1F35 4F44 2934  7583 DBB6 F98D 9198 3292
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
NP: Inside Treatement - Klaustraph
#2 lore raw
In reply to a message not in the archive
Followup to:  <Pine.LNX.4.31.0103011919490.23240-100000@phobos.fachschaften.tu-muenchen.de>
By author:    Simon Richter <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 11 lines · Sébastien HINDERER
Quoted 4 lines

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

Signature · 3 lines
<[email protected]> at work, <[email protected]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt