[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Question on input of UTF8 char's in programs.
From: |
Paul Fox |
Subject: |
Re: [vile] Question on input of UTF8 char's in programs. |
Date: |
Tue, 09 Sep 2014 08:39:36 -0400 |
thanks for this question/answer. since moving to utf8 everywhere for
output, i've started wondering how to do input as well.
brendan wrote:
> something like "setxkbmap -option compose:ralt" (see
> xkeyboard-config(7) for options). Once the compose key is configured,
> hit and release that key, followed by two ">" characters and you
> should get the symbol you are after. The actual sequences are defined
> in the Compose file for your locale (grep for $LANG in
> /usr/share/X11/locale/compose.dir). Your character appears as:
>
> <Multi_key> <greater> <greater> : "»" guillemotright #
> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
how does one access the characters defined using the "dead_..."
strokes, like the greek letter pi (π)? i entered it there using
^Vu03C0, but i should be able to do something more mnemonic, according
to this:
<dead_greek> <p> : "π" U03C0 # GREEK SMALL LETTER PI
paul
>
> Where Multi_key is the compose key you selected.
>
> Using the second option, you can use ^Vxbb in insert mode.
>
> --bod
>
=----------------------
paul fox, address@hidden (arlington, ma, where it's 57.2 degrees)