comp.lang.ada
 help / color / mirror / Atom feed
From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: Escape Codes
Date: Tue, 06 Mar 2007 14:16:54 +1100
Date: 2007-03-06T14:16:54+11:00	[thread overview]
Message-ID: <sa4y7mbhxi1.fsf@margay.local> (raw)
In-Reply-To: _EZGh.20313$u93.17533@attbi_s21

>>>>> "Jeffrey" == Jeffrey R Carter <jrcarter@acm.org> 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 <bam@snoopy.apana.org.au>



  reply	other threads:[~2007-03-06  3:16 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
2007-03-05 18:51 ` Jeffrey R. Carter
2007-03-06  3:16   ` Brian May [this message]
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