Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16423
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | balducci@units.it |
| Newsgroups | gnu.bash.bug |
| Subject | 5.1-alpha: X primary selection being pasted in reverse video |
| Date | Sun, 21 Jun 2020 10:35:49 +0200 |
| Lines | 86 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.201.1592745524.2574.bug-bash@gnu.org> (permalink) |
| References | <9014.1592728573@dschgrazlin2.units.it> |
| Reply-To | balducci@units.it |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | usenet.stanford.edu 1592745525 8143 209.51.188.17 (21 Jun 2020 13:18:45 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| X-Mailer | MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.0.91 |
| Content-ID | <9013.1592728573.1@dschgrazlin2.units.it> |
| X-Greylist | inspected by milter-greylist-4.6.2 (dschgrazlin2.units.it [0.0.0.0]); Sun, 21 Jun 2020 10:35:50 +0200 (CEST) for IP:'127.0.0.1' DOMAIN:'loopback' HELO:'dschgrazlin2.units.it' FROM:'balducci@units.it' RCPT:'' |
| X-Greylist | Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (dschgrazlin2.units.it [0.0.0.0]); Sun, 21 Jun 2020 10:35:50 +0200 (CEST) |
| Received-SPF | pass client-ip=140.105.55.81; envelope-from=balducci@units.it; helo=dschgrazlin2.units.it |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/06/21 04:36:14 |
| X-ACL-Warn | Detected OS = Linux 2.2.x-3.x [generic] |
| X-Spam_score_int | -18 |
| X-Spam_score | -1.9 |
| X-Spam_bar | - |
| X-Spam_report | (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN |
| X-Spam_action | no action |
| X-Mailman-Approved-At | Sun, 21 Jun 2020 09:18:43 -0400 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <9014.1592728573@dschgrazlin2.units.it> |
| Xref | csiph.com gnu.bash.bug:16423 |
Show key headers only | View raw
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----
Back to gnu.bash.bug | Previous | Next | Find similar
5.1-alpha: X primary selection being pasted in reverse video balducci@units.it - 2020-06-21 10:35 +0200
csiph-web