How to enter unicode in F9

Colin Paul Adams colin at colina.demon.co.uk
Sun Nov 9 13:57:20 UTC 2008


>>>>> "Matthew" == Matthew Flaschen <matthew.flaschen at gatech.edu> writes:

    Matthew> Dave Feustel wrote:
    >> In vim, entering ctl-V u xxxx works. This does not work for me
    >> on the xterm command line (ksh is shell).
    >> 
    >> Is there a way to enter unicode characters in xterm?

    Matthew> One way that will work in any shell is:

    Matthew> uc() { /usr/bin/printf \\u$1; };

    Matthew> Then, use e.g.

    Matthew> echo $(uc 2639)

    Matthew> You can export uc from your initialization file.

I just tried this, and I get presented with a

>

prompt.
-- 
Colin Adams
Preston Lancashire




More information about the fedora-list mailing list