The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Console escape sequences
@ 2003-10-18  0:05 DervishD
  2003-10-18  3:10 ` Randy.Dunlap
  2003-10-18 11:23 ` DervishD
  0 siblings, 2 replies; 6+ messages in thread
From: DervishD @ 2003-10-18  0:05 UTC (permalink / raw)
  To: Linux-kernel

    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

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Console escape sequences
  2003-10-18  0:05 Console escape sequences DervishD
@ 2003-10-18  3:10 ` Randy.Dunlap
  2003-10-18  3:21   ` Erik Andersen
  2003-10-18 11:23 ` DervishD
  1 sibling, 1 reply; 6+ messages in thread
From: Randy.Dunlap @ 2003-10-18  3:10 UTC (permalink / raw)
  To: DervishD; +Cc: linux-kernel

On Sat, 18 Oct 2003 02:05:31 +0200 DervishD <raul@pleyades.net> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Console escape sequences
  2003-10-18  3:10 ` Randy.Dunlap
@ 2003-10-18  3:21   ` Erik Andersen
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Andersen @ 2003-10-18  3:21 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: DervishD, linux-kernel

On Fri Oct 17, 2003 at 08:10:52PM -0700, Randy.Dunlap wrote:
> On Sat, 18 Oct 2003 02:05:31 +0200 DervishD <raul@pleyades.net> 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' ?

s/console_chars/console_codes/

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Console escape sequences
  2003-10-18  0:05 Console escape sequences DervishD
  2003-10-18  3:10 ` Randy.Dunlap
@ 2003-10-18 11:23 ` DervishD
  2003-10-19 11:26   ` Zephaniah E. Hull
  1 sibling, 1 reply; 6+ messages in thread
From: DervishD @ 2003-10-18 11:23 UTC (permalink / raw)
  To: Linux-kernel

    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

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Console escape sequences
  2003-10-18 11:23 ` DervishD
@ 2003-10-19 11:26   ` Zephaniah E. Hull
  2003-10-19 15:36     ` DervishD
  0 siblings, 1 reply; 6+ messages in thread
From: Zephaniah E. Hull @ 2003-10-19 11:26 UTC (permalink / raw)
  To: DervishD; +Cc: Linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]

On Sat, Oct 18, 2003 at 01:23:30PM +0200, DervishD wrote:
>     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.

-- 
	1024D/E65A7801 Zephaniah E. Hull <warp@babylon.d2dc.net>
	   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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Console escape sequences
  2003-10-19 11:26   ` Zephaniah E. Hull
@ 2003-10-19 15:36     ` DervishD
  0 siblings, 0 replies; 6+ messages in thread
From: DervishD @ 2003-10-19 15:36 UTC (permalink / raw)
  To: Linux-kernel

    Hi Zephaniah :)

 * Zephaniah E. Hull <warp@babylon.d2dc.net> dixit:
> >     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.

    Thanks a lot, I'll take a look :)))

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://raul.pleyades.net/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-19 15:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-18  0:05 Console escape sequences DervishD
2003-10-18  3:10 ` Randy.Dunlap
2003-10-18  3:21   ` Erik Andersen
2003-10-18 11:23 ` DervishD
2003-10-19 11:26   ` Zephaniah E. Hull
2003-10-19 15:36     ` DervishD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox