From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6f4b2f1a3f091549 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!newshub.sdsu.edu!headwall.stanford.edu!newshub.stanford.edu!sn-xt-sjc-03!sn-xt-sjc-10!sn-xt-sjc-07!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: Thomas Dickey Newsgroups: comp.lang.ada Subject: Re: Escape Codes Date: Mon, 05 Mar 2007 21:32:10 -0000 Organization: RadixNet Internet Services Message-ID: <12up32q49s5na15@corp.supernews.com> References: <45ec0b23$1@news.post.ch> <1173113228.380388.89770@c51g2000cwc.googlegroups.com> User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) X-Complaints-To: abuse@supernews.com Xref: g2news2.google.com comp.lang.ada:9694 Date: 2007-03-05T21:32:10+00:00 List-Id: Adam Beneschan wrote: > On Mar 5, 4:20 am, Martin Krischik > 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 [A on the up key and [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