Skip to contentSkip to conversation

Escape sequences & console

DISCUSSION S�bastien HINDERER 2 participants 2 messages Mar 1, 2001

lore
Share & tools
lore
#0 lore raw

OKAY, but something strange appears:
According to linux/drivers/console.c, function setterm_commands, case 12, one can change the virtual console by sending an escape sequence to /dev/cnsole (what I want to do), hower, this is not documented in man pages.
Which escape-sequence should I send to /dev/console to switch tty? Thank you: Sébastien.

----------

Quoted 10 lines

De : Simon Richter <[email protected]> A : Sébastien HINDERER <[email protected]>
Cc : [email protected]
Objet : Re: Escape sequences & console
Date : jeudi 1 mars 2001 18:21

Quoted 2 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

Quoted 10 lines
Quoted 1 line

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 · 1 line
GPG public key available from

http://phobos.fs.tum.de/pgp/Simon.Richter.asc

Quoted 2 lines

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!

Quoted 4 lines

NP: Inside Treatement - Klaustraph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"

in

Quoted 3 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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

According to linux/drivers/console.c, function setterm_commands, case 12, one can change the virtual console by sending an escape sequence to /dev/cnsole (what I want to do), hower, this is not documented in man pages.

Hmm. How come I read

ESC [ 12 ; n ] Bring specified console to the front.

?