View previous topic :: View next topic |
Author |
Message |
nickk n00b
Joined: 04 Jun 2009 Posts: 36
|
Posted: Mon Jan 28, 2019 12:24 am Post subject: Latest xterm update does paste tabs as spaces |
|
|
After latest update of xterm (337) it started to convert tabs to spaces on paste. It copies tabs to clipboard normally, but it's converted to spaces when pasted back. I extracted from backup earlier version on xterm (327) and it works ok with the same configs (only binary replaced). Is there any way to fix tab paste issue with 337 xterm? |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
|
Back to top |
|
|
nickk n00b
Joined: 04 Jun 2009 Posts: 36
|
Posted: Mon Jan 28, 2019 7:54 pm Post subject: |
|
|
Strange. That faq seems to be quite old, but xterm #327 from 2016/10/07 works fine with tabs, while the #337 from 2018/09/21 is broken again... BTW, #337 selects tab correctly - i can paste selected text containing tabs from xterm elsewhere with tabs preserved, but cant paste tabs back to xterm. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Tue Jan 29, 2019 2:39 am Post subject: |
|
|
Just to be sure we are all discussing the same thing, which of the following did you do?- Run a program that prints a tab to screen, such as printf '\t-\n', then mouse-select the resulting output and:
- paste it into another xterm
- paste it into a graphical text editor, such as GVim or XEmacs
- Copy to the clipboard a tab, from a graphical text editor that definitely started with a tab and: (same subpoints as above)
In whichever case you did, the result of the paste was spaces when you copied from new xterm and a tab when you copied from old xterm, correct? Or are you reporting that pasting into xterm changed, despite that the sender is reliably copying real tabs?
How did you verify the change? Did you paste into a program that unambiguously identifies its input, such as xxd for the CLI? |
|
Back to top |
|
|
|