Copy/paste in xterm/XEmacs

From: Phillip Farber (pfarber@umich.edu)
Date: Thu Apr 03 2003 - 17:15:56 EST

  • Next message: Martin Duerst: "[IRI] new mailing list: public-iri@w3.org"

    After searching far and wide and reading all the HOWTOs etc.
    I'm still at a loss as to how to make a simple copy/paste
    work within xterm and between xterm and XEmacs.

    If I cat a utf-8 encoded XML file containing Russian and it
    displays just fine. If I select a single word by left
    double clicking and paste with a middle click I see a
    mixture of '@', '^' and a few Cyrillic characters.
    If I paste into XEmacs 21.4 in a buffer with the buffer
    file coding system set to utf-8 I see a string of '?'.

    Interestingly I can paste the selection into Windows
    Notepad and Word and it displays just fine too.

    Am I missing something very basic in my configuration/setup
    or is this a known problem? I'm wondering whether my
    X server is not up to the task or perhaps are there
    some x resources I should be setting?

    I am running the xterm XFree86 4.2.0(165) that comes
    with Linux Redhat 8 with display support from Hummingbird
    eXceed X Server 7.1 on Windows NT 4.0 and XEmacs 21.4 (patch 8)
    "Honest Recruiter" [Lucid] (i386-redhat-linux, Mule)
    of Mon Aug 26 2002 on astest.

    I'm invoking xterm as:

    xterm -u8 -fn
    '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'

    % locale

    LANG=en_US.UTF-8
    LC_CTYPE=en_US
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=

    Phil.

    ---
    Phillip Farber, Information Retrieval Specialist
    Email: pfarber@umich.edu
    Digital Library Production Service (http://www.umdl.umich.edu/)
    Hatcher Graduate Library, University of Michigan
    308 Hatcher North, Ann Arbor, MI 48104-1205
    


    This archive was generated by hypermail 2.1.5 : Thu Apr 03 2003 - 18:09:31 EST