Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #186781

Re: xterm: cannot paste some "utf-8" unicode chars into xterm - was Re: custom keyboard layout - select and middle-click paste in xterm -lc

From Zenaan Harkness <zenaan@freedbms.net>
Newsgroups linux.debian.user
Subject Re: xterm: cannot paste some "utf-8" unicode chars into xterm - was Re: custom keyboard layout - select and middle-click paste in xterm -lc
Date 2017-09-14 13:50 +0200
Message-ID <upAOB-4uy-1@gated-at.bofh.it> (permalink)
References <upxQK-2Ek-13@gated-at.bofh.it> <upy0p-2HK-5@gated-at.bofh.it> <upAbT-4fq-15@gated-at.bofh.it> <upAvf-4nM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 14, 2017 at 09:28:22PM +1000, Zenaan Harkness wrote:
> 2) My problem is pasting into xterm some unicode characters (see the
>    question in my other email) - this is the part NOT working for me
>    - everything else is working really well (i.e., so I don't need to
>    use xmodmap at this point).
> 
> So that's the real question - why are some unicode characters
> displaying when entered by the keyboard, but NOT displaying when
> pasted with the middle-click mouse button?

Exciting news - the problem has just been narrowed down:

Decided to try Geany editor in the mix ("xterm" means
"LC_ALL=en_us.UTF-8 xterm -lc"):

 - copy from Geany, paste to Geany - works fine
 - copy from Geany, paste to xterm - works fine

 - copy from xterm, paste to Geany - "function symbol" does not
   paste, "musical natural" does paste

 - copy from xterm, paste to xterm - "function symbol does not
   paste properly, "musical natural" does paste


So, it looks like whatever is doing the copying into the copy buffer,
from xterm, is not copying some unicode utf-8 characters properly!

Geany on the other hand, can copy those characters that xterm has
problems with, and subsequently, these characters can be pasted both
into Geany, AND into xterm.

So Geany is copying chars correctly!

And xterm (and Geany) is pasting chars correctly!

It's just xterm not copying some chars correctly.

Now, how to solve this mystery? - this looks like an xterm specific
problem when xterm tries to copy utf-8 text - should I post a bug, or
post this problem report to somewhere xterm-specific?


(Interestingly, Linux console (with mousing enabled) can copy and
paste the "function symbol" just fine, although it cannot (with my
config) properly display the musical natural symbol (and pasting the
diamond into a text file, then viewing that in xorg, just shows a
diamond, so Linux console is a bit limited unfortunately).)

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

custom keyboard layout - select and middle-click paste in xterm -lc Zenaan Harkness <zenaan@freedbms.net> - 2017-09-14 10:40 +0200
  Re: custom keyboard layout - select and middle-click paste in xterm  -lc Zenaan Harkness <zenaan@freedbms.net> - 2017-09-14 10:50 +0200
    Re: custom keyboard layout - select and middle-click paste in xterm  -lc Erik Christiansen <dvalin@internode.on.net> - 2017-09-14 13:10 +0200
      xterm: cannot paste some "utf-8" unicode chars into xterm - was Re:  custom keyboard layout - select and middle-click paste in xterm -lc Zenaan Harkness <zenaan@freedbms.net> - 2017-09-14 13:30 +0200
        Re: xterm: cannot paste some "utf-8" unicode chars into xterm - was  Re: custom keyboard layout - select and middle-click paste in xterm -lc Zenaan Harkness <zenaan@freedbms.net> - 2017-09-14 13:50 +0200

csiph-web