[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
5.1-alpha: X primary selection being pasted in reverse video
From: |
balducci |
Subject: |
5.1-alpha: X primary selection being pasted in reverse video |
Date: |
Sun, 21 Jun 2020 10:35:49 +0200 |
hello
I actually don't know if this is a real problem with 5.1-alpha or if
it's something related to my environment and/or build procedure
The problem is the following
If I paste in a terminal running 5.1-alpha a string stored in the primary X
selection, the string is inserted in reverse video
(actually, not a big problem, since I'm not experiencing any other
additional malfunction...)
I'm not in the position to debug this. I can just add some empirical
observations I have done about it:
=> no problem whatsoever if I run bash-5.0 (pl17) (everything else unchanged)
=> the problem doesn't seem to depend on the particular terminal
program: xterm (my usual terminal), mlterm, vte (terminals I have at hand)
=> the problem goes away if I set the value of the TERM variable to
something different from "xterm"; even unsetting TERM altogether
fixes things
=> the problem goes away if I run screen in the terminal (this is
probably related to the point above, as screen changes the TERM
variable from "xterm" to "screen")
=> no problem if I'm not running X, eg if I make a selection and paste
it with gpm in a console (again: TERM=linux in this case)
On the whole, it looks to me that the problem might be related (in some
way) to the interaction of 5.1-alpha with the terminal program when
TERM=xterm
Possibly related to this thread?
https://lists.gnu.org/archive/html/bug-bash/2020-06/msg00066.html
Apologies: as I said, my knowledge is insufficient to let me go deeper
than this
I enclose "stty -a" and bash build information below, if that can be
of any help
thanks a lot
ciao
-gabriele
----8<----
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc -m64
Compilation CFLAGS: -I/usr/Xorg/include
uname output: Linux dschgrazlin2 5.7.3 #1 SMP Thu Jun 18 09:18:36 CEST 2020
x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.1
Patch Level: 0
Release Status: alpha
---->8----
----8<----
dschgrazlin2:17> stty -a
speed 38400 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt =
^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
-echoctl echoke -flusho -extproc
---->8----
- 5.1-alpha: X primary selection being pasted in reverse video,
balducci <=