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 From: Brian May Newsgroups: comp.lang.ada Subject: Re: Escape Codes References: <45ec0b23$1@news.post.ch> <_EZGh.20313$u93.17533@attbi_s21> Date: Tue, 06 Mar 2007 14:16:54 +1100 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:sNFKZ3MdQBWgL9X4sXQXDHCh5Wc= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: snoopy.microcomaustralia.com.au X-Trace: quokka.wn.com.au 1173150992 202.173.153.89 (6 Mar 2007 12:16:32 +0800) X-Complaints-To: abuse@westnet.com.au Path: g2news2.google.com!news3.google.com!news4.google.com!news.glorb.com!quokka.wn.com.au!not-for-mail Xref: g2news2.google.com comp.lang.ada:9703 Date: 2007-03-06T14:16:54+11:00 List-Id: >>>>> "Jeffrey" == Jeffrey R Carter writes: Jeffrey> Why not write a little program and compile your own list? Just run cat, and push the function key. On my system F1 comes out at "^[OP". Replace ^[ with escape. Just be warned that there are different standards. xterm might be different to console, different xterms might be different, etc (at least they were in Linux last I tried). Also there is this mode (which unfortunately I suspect is obsolete because it breaks UTF-8 compatibility), copied from the xterm man page: eightBitInput (class EightBitInput) If "true", Meta characters (a single-byte character combined with the keys modifier key) input from the keyboard are pre- sented as a single character with the eighth bit turned on. The terminal is put into 8-bit mode. If "false", Meta char- acters are converted into a two-character sequence with the character itself preceded by ESC. On startup, xterm tries to put the terminal into 7-bit mode. The metaSendsEscape resource may override this. The default is "true." -- Brian May