comp.lang.ada
 help / color / mirror / Atom feed
From: Thomas Dickey <dickey@saltmine.radix.net>
Subject: Re: Escape Codes
Date: Mon, 05 Mar 2007 21:32:10 -0000
Date: 2007-03-05T21:32:10+00:00	[thread overview]
Message-ID: <12up32q49s5na15@corp.supernews.com> (raw)
In-Reply-To: 1173113228.380388.89770@c51g2000cwc.googlegroups.com

Adam Beneschan <adam@irvine.com> wrote:
> On Mar 5, 4:20 am, Martin Krischik <krisc...@users.sourceforge.net>
> wrote:
>> Hello,
>>
>> I know it's not an Ada question but you guys are my last hope as I
>> googled until my fingers bleed.
>>
>> Now I know that xterm will send <esc>[A on the up key and <esc>[B in the
>> down key but could not find any informations on all the other keys -
>> like page up page down. There must be a list somewhere. I mean an easy
>> to understand human readable list - which termcap isn't.
>>
>> Can anybody give me a pointer?

> I haven't tried this, but would looking for a VT100 or VT220 manual
> help?  The escape sequences are, I believe, some sort of ANSI standard

no - there's apparently no standard for the strings that function-keys
send (aside from terminal-specific stuff).

> which those terminals followed (at least for most keys; there may be
> some unusual keys that DEC developed its own nonstandard sequences
> for).  I'm just going from memory here.

DEC was reasonably consistent - function keys are formed as control
strings that could be echoed to the terminal and either ignored, or
(as with cursor keys) do something useful.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



  reply	other threads:[~2007-03-05 21:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05 12:20 Escape Codes Martin Krischik
2007-03-05 12:53 ` Georg Bauhaus
2007-03-05 13:16   ` Thomas Dickey
2007-03-05 13:12 ` brian.b.mcguinness
2007-03-05 13:22   ` Thomas Dickey
2007-03-05 14:03   ` Martin Krischik
2007-03-05 14:50     ` Markus E Leypold
2007-03-06  7:47       ` Martin Krischik
2007-03-05 14:58     ` Thomas Dickey
2007-03-05 13:24 ` Markus E Leypold
2007-03-05 15:47 ` Ali Bendriss
2007-03-05 16:47 ` Adam Beneschan
2007-03-05 21:32   ` Thomas Dickey [this message]
2007-03-05 18:51 ` Jeffrey R. Carter
2007-03-06  3:16   ` Brian May
2007-03-06 12:00     ` Thomas Dickey
  -- strict thread matches above, loose matches on Subject: below --
2003-03-14 21:56 Escape codes J.Matthews
2003-03-14 23:01 ` tmoran
2003-03-15  2:15 ` Jeffrey Carter
replies disabled

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