Re: Copy/paste in xterm/XEmacs

From: Yung-Fong Tang (ftang@netscape.com)
Date: Thu Apr 03 2003 - 19:16:58 EST

  • Next message: Yung-Fong Tang: "Re: newbie 18030 font question"

    I think that is depending on the application support the newly defined
     UTF8_STRING for selection or not.
    The Linux verion of mozilla implement it so it can copy/paste with the
    recent version of xterm w/o problem

    Notice that UTF8_STRING is defined AFTER X11 R6 ICCCM.
    See the spec in http://www.pps.jussieu.fr/~jch/software/UTF8_STRING/ for
    details

    see
    http://lxr.mozilla.org/seamonkey/source/widget/src/gtk/nsClipboard.cpp
    about mozilla's implementation

    Phillip Farber wrote:

    >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 - 20:00:07 EST