Bug#989664: xterm: .Xresources VT100 override for copy/paste ignored

2021-06-10 Thread Thomas Dickey
On Thu, Jun 10, 2021 at 04:37:04PM -0400, Casey M. Bessette wrote:
> Here's the output of xrdb:
> 
> $ xrdb -q
...colors shouldn't matter...

> Xcursor.size:   0
> Xcursor.theme:
> Xcursor.theme_core: 1
> Xft.hintstyle:  hintnone
> Xft.rgba:   none
> xterm*VT100.Translations:   #override Ctrl Shift V:
   ^ missing "\n"
> insert-selection(CLIPBOARD) \n Ctrl Shift C: copy-selection(CLIPBOARD)

I have this:

*customization: -color
XScreenSaver.newLoginCommand:   gdm-control --switch-user
Xcursor.size:   0
Xcursor.theme:  
Xcursor.theme_core: 1
Xft.hintstyle:  hintnone
Xft.rgba:   none
xterm*VT100.Translations:   #override \n Ctrl Shift C: 
copy-selection(CLIPBOARD) \n Ctrl Shift V: insert-selection(CLIPBOARD)

If the "\n" is missing, then the code for control/shift/V is all part of
a comment.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#989664: xterm: .Xresources VT100 override for copy/paste ignored

2021-06-10 Thread Thomas Dickey
On Wed, Jun 09, 2021 at 01:53:09PM -0400, Casey M. Bessette wrote:
> Package: xterm
> Version: 366-1
> Severity: normal
> X-Debbugs-Cc: casey.besse...@gmail.com
> 
> Dear Maintainer,
> 
> My .Xresources file has this in it:
> 
> !enable copy/paste:
> !http://unix.stackexchange.com/questions/225062/how-can-i-copy-text-from-xterm-awesome-debian-virtualbox
> xterm*VT100.Translations: #override \
>  Ctrl Shift V:insert-selection(CLIPBOARD) \n\
>  Ctrl Shift C:copy-selection(CLIPBOARD)
> 
> I run xrdb -merge ~/.Xresources after editing the file.  This has enabled me 
> to use ctrl-shift-c to copy and ctrl-shift-v to paste in and out of xterm.
> 
> In bullseye, this no longer works.  Now if I hit ctrl-shift-c, it acts
> no different than if I hit ctrl-c.  This worked for me on jessie and stretch. 
>  I haven't used buster.

It's working for me :-(

(testing with bullseye, and xterm #366 as packaged by Debian)
 
> If I modify other lines in my .Xresources file, such as the size of the
> font, colors, or xterm geometry, those changes are still honored and
> work as expected.
> 
> I'm using Xfce 4.16 and X.Org 1.20.11.

...same here

If it hadn't worked, I'd be checking on the order of translation-resources
and looking at the debug trace.  But since it works for me, I suggest
adding the output of "xrdb -q", which might be helpful.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: PGP signature


Bug#989664: xterm: .Xresources VT100 override for copy/paste ignored

2021-06-09 Thread Casey M. Bessette
Package: xterm
Version: 366-1
Severity: normal
X-Debbugs-Cc: casey.besse...@gmail.com

Dear Maintainer,

My .Xresources file has this in it:

!enable copy/paste:
!http://unix.stackexchange.com/questions/225062/how-can-i-copy-text-from-xterm-awesome-debian-virtualbox
xterm*VT100.Translations: #override \
 Ctrl Shift V:insert-selection(CLIPBOARD) \n\
 Ctrl Shift C:copy-selection(CLIPBOARD)

I run xrdb -merge ~/.Xresources after editing the file.  This has enabled me to 
use ctrl-shift-c to copy and ctrl-shift-v to paste in and out of xterm.

In bullseye, this no longer works.  Now if I hit ctrl-shift-c, it acts
no different than if I hit ctrl-c.  This worked for me on jessie and stretch.  
I haven't used buster.

If I modify other lines in my .Xresources file, such as the size of the
font, colors, or xterm geometry, those changes are still honored and
work as expected.

I'm using Xfce 4.16 and X.Org 1.20.11.


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xterm depends on:
ii  libc6   2.31-12
ii  libfontconfig1  2.13.1-4.2
ii  libfreetype62.10.4+dfsg-1
ii  libice6 2:1.0.10-1
ii  libtinfo6   6.2+20201114-2
ii  libutempter01.2.1-2
ii  libx11-62:1.7.1-1
ii  libxaw7 2:1.0.13-1.1
ii  libxext62:1.3.3-1.1
ii  libxft2 2.3.2-2
ii  libxinerama12:1.1.4-2
ii  libxmu6 2:1.1.2-2+b3
ii  libxpm4 1:3.5.12-1
ii  libxt6  1:1.2.0-1
ii  xbitmaps1.1.1-2.1

Versions of packages xterm recommends:
ii  x11-utils  7.7+5

Versions of packages xterm suggests:
pn  xfonts-cyrillic  

-- no debconf information