Console escape sequences
Hi all :)
Where should I look if I want to know which ANSI escape codes (or
any other escape codes) the console accepts? I know that I can send ESC[1m; to the console for getting bold text, for example, and I know more codes, extracted from the terminfo entries and places like that, but I would like to know if somewhere in the sources is something like a list of supported codes.
Thanks a lot in advance.
Raúl Núñez de Arenas Coronado
Signature · 2 lines
Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/
On Sat, 18 Oct 2003 02:05:31 +0200 DervishD <[email protected]> wrote:
| Hi all :) | | Where should I look if I want to know which ANSI escape codes (or | any other escape codes) the console accepts? I know that I can send | ESC[1m; to the console for getting bold text, for example, and I know | more codes, extracted from the terminfo entries and places like that, | but I would like to know if somewhere in the sources is something | like a list of supported codes.
Maybe 'man 4 console_chars' ?
CONSOLE_CODES(4) Linux Programmer's Manual CONSOLE_CODES(4)
NAME
console_codes - Linux console escape and control sequences
DESCRIPTION
The Linux console implements a large subset of the VT102 and
ECMA-48/ISO 6429/ANSI X3.64 terminal controls, plus certain private- mode sequences for changing the color palette, character-set mapping, etc.
--
~Randy
Quoted 11 lines · Randy.Dunlap
On Sat, 18 Oct 2003 02:05:31 +0200 DervishD <[email protected]> wrote:
| Hi all :) | | Where should I look if I want to know which ANSI escape codes (or | any other escape codes) the console accepts? I know that I can send | ESC[1m; to the console for getting bold text, for example, and I know | more codes, extracted from the terminfo entries and places like that, | but I would like to know if somewhere in the sources is something | like a list of supported codes.
Quoted 1 line
Maybe 'man 4
console_chars' ?
s/console_chars/console_codes/
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
Hi all :))
My excuses, I've had problems with my mail and lost the two
responses to my original mail. The fact is that I've already read the manpage you say (console_codes(4)), but that page seems to be from 1996, so I was asking myself if a more recent referend existed.
Is there any more up to date reference or any place in the source
code? Thanks for the answer anyway :))) and thanks in advance for all your help, together with my excuses to the two persons who answered for having lost their emails.
Raúl Núñez de Arenas Coronado
Signature · 2 lines
Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/
Quoted 11 lines · DervishD
Hi all :))
My excuses, I've had problems with my mail and lost the two
responses to my original mail. The fact is that I've already read the manpage you say (console_codes(4)), but that page seems to be from 1996, so I was asking myself if a more recent referend existed.Is there any more up to date reference or any place in the source
code? Thanks for the answer anyway :))) and thanks in advance for all your help, together with my excuses to the two persons who answered for having lost their emails.
The code that seems to handle it in 2.6.0-test7-mm1 is in drivers/char/vt.c, starting in do_con_write and actually dealt with in do_con_trol.
Good luck.
Signature · 10 lines
1024D/E65A7801 Zephaniah E. Hull <[email protected]> 92ED 94E4 B1E6 3624 226D 5727 4453 008B E65A 7801 CCs of replies from mailing lists are requested. "First they came for the Jews, and I didn't speak out - because I was not a jew. Then they came for the Communists, and I did not speak out - because I was not a Communist. Then they came for the trade unionists, and I did not speak out - because I was not a trade unionist. Then they came for me and there was no one left to speak for me!" - Pastor Niemoeller - victim of Hitler's Nazis
Hi Zephaniah :)
* Zephaniah E. Hull <[email protected]> dixit:
Quoted 7 lines
Quoted 4 lines
Is there any more up to date reference or any place in the source
code? Thanks for the answer anyway :))) and thanks in advance for all your help, together with my excuses to the two persons who answered for having lost their emails.The code that seems to handle it in 2.6.0-test7-mm1 is in
drivers/char/vt.c, starting indo_con_writeand actually dealt with indo_con_trol.
Thanks a lot, I'll take a look :)))
Raúl Núñez de Arenas Coronado
Signature · 2 lines
Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/