Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

xterm copy/paste in vi not working

 
   Soft32 Home -> Linux -> X Window System RSS
Next:  Ubuntu installation questions  
Author Message
loc

External


Since: Aug 13, 2009
Posts: 12



(Msg. 1) Posted: Fri Aug 14, 2009 9:20 am
Post subject: xterm copy/paste in vi not working
Archived from groups: comp>os>linux>x (more info?)

I just upgraded to Slackware current which is using X.Org 6.8.99.903(243)
and I'm having a problem with copy and paste in an xterm when using vi.
The copy only works for text selected which is currently displayed on the
screen, if I select text and then either scroll so the highlighted text is
no longer visible on the screen or close the xterm, I can't paste.

To reproduce go into vi and enter insert mode by pressing 'i' type something
then highlight it by clicking the left mouse button. Now press and hold
enter until the highlighted text scrolls off the screen and then press the
middle mouse button to try and paste. The text that was just selected does
not paste.

My vi/elvis version is 2.2.0, but I don't think it's a vi problem because
I was using that same vi version with xterm -version X.Org 6.8.99.903(232)
without this problem. However I don't have this copy/paste problem in
KDE's Konsole or vim, it's just vi using this newer version of xterm.
Any ideas what the problem may be?
Back to top
Login to vote
loc

External


Since: Aug 13, 2009
Posts: 12



(Msg. 2) Posted: Fri Aug 14, 2009 5:20 pm
Post subject: Re: xterm copy/paste in vi not working [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

loc <c320sky RemoveThis @gmail.com> wrote:
> I just upgraded to Slackware current which is using X.Org 6.8.99.903(243)
> and I'm having a problem with copy and paste in an xterm when using vi.
> The copy only works for text selected which is currently displayed on the
> screen, if I select text and then either scroll so the highlighted text is
> no longer visible on the screen or close the xterm, I can't paste.
>
> To reproduce go into vi and enter insert mode by pressing 'i' type something
> then highlight it by clicking the left mouse button. Now press and hold
> enter until the highlighted text scrolls off the screen and then press the
> middle mouse button to try and paste. The text that was just selected does
> not paste.
>
> My vi/elvis version is 2.2.0, but I don't think it's a vi problem because
> I was using that same vi version with xterm -version X.Org 6.8.99.903(232)
> without this problem. However I don't have this copy/paste problem in
> KDE's Konsole or vim, it's just vi using this newer version of xterm.
> Any ideas what the problem may be?


Doing some more testing, vim has the same problem as elvis, but copy/paste
works good in Konsole so I think it is a bug with xterm version 243.
Back to top
Login to vote
Thomas Dickey

External


Since: Jul 16, 2007
Posts: 12



(Msg. 3) Posted: Thu Aug 20, 2009 1:16 am
Post subject: Re: xterm copy/paste in vi not working [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 14, 4:27 pm, loc <c320....DeleteThis@gmail.com> wrote:
> loc <c320....DeleteThis@gmail.com> wrote:
> > I just upgraded to Slackware current which is using X.Org 6.8.99.903(243)
> > and I'm having a problem with copy and paste in anxtermwhen using vi.
> > The copy only works for text selected which is currently displayed on the
> > screen, if I select text and then either scroll so the highlighted text is
> > no longer visible on the screen or close thexterm, I can't paste.
>
> > To reproduce go into vi and enter insert mode by pressing 'i' type something
> > then highlight it by clicking the left mouse button.  Now press and hold
> > enter until the highlighted text scrolls off the screen and then press the
> > middle mouse button to try and paste.  The text that was just selected does
> > not paste.
>
> > My vi/elvis version is 2.2.0, but I don't think it's a vi problem because
> > I was using that same vi version withxterm-version X.Org 6.8.99.903(232)
> > without this problem.  However I don't have this copy/paste problem in
> > KDE's Konsole or vim, it's just vi using this newer version ofxterm.
> > Any ideas what the problem may be?
>
> Doing some more testing, vim has the same problem as elvis, but copy/paste
> works good in Konsole so I think it is a bug withxtermversion 243.

Unless I saw the difference in similarly-configured xterms
running side-by-side on the same host (to get the same locale,
etc), I'd assume it was some configuration difference.

Source for 232 is here:
ftp://invisible-island.net/xterm/
Changes are summarized here:
http://invisible-island.net/xterm/xterm.log.html

hth

--
Thomas E. Dickey <dickey.DeleteThis@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Back to top
Login to vote
loc

External


Since: Aug 13, 2009
Posts: 12



(Msg. 4) Posted: Thu Aug 20, 2009 9:20 am
Post subject: Re: xterm copy/paste in vi not working [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thomas Dickey <dickey.RemoveThis@his.com> wrote:
> On Aug 14, 4:27?pm, loc <c320....RemoveThis@gmail.com> wrote:
>> loc <c320....RemoveThis@gmail.com> wrote:
>> > I just upgraded to Slackware current which is using X.Org 6.8.99.903(243)
>> > and I'm having a problem with copy and paste in anxtermwhen using vi.
>> > The copy only works for text selected which is currently displayed on the
>> > screen, if I select text and then either scroll so the highlighted text is
>> > no longer visible on the screen or close thexterm, I can't paste.
>>
>> > To reproduce go into vi and enter insert mode by pressing 'i' type something
>> > then highlight it by clicking the left mouse button. ?Now press and hold
>> > enter until the highlighted text scrolls off the screen and then press the
>> > middle mouse button to try and paste. ?The text that was just selected does
>> > not paste.
>>
>> > My vi/elvis version is 2.2.0, but I don't think it's a vi problem because
>> > I was using that same vi version withxterm-version X.Org 6.8.99.903(232)
>> > without this problem. ?However I don't have this copy/paste problem in
>> > KDE's Konsole or vim, it's just vi using this newer version ofxterm.
>> > Any ideas what the problem may be?
>>
>> Doing some more testing, vim has the same problem as elvis, but copy/paste
>> works good in Konsole so I think it is a bug withxtermversion 243.
>
> Unless I saw the difference in similarly-configured xterms
> running side-by-side on the same host (to get the same locale,
> etc), I'd assume it was some configuration difference.
>
> Source for 232 is here:
> ftp://invisible-island.net/xterm/
> Changes are summarized here:
> http://invisible-island.net/xterm/xterm.log.html
>

I found the problem, the fix is to right click on the KDE clipboard on the panel
and select configure Klipper and check the box by "Ignore selection" also
make sure "Separate clipboard and selection" is selected, then after
applying that, right click again on the clipboard and select
"Clear Clipboard History". Now the selection buffer works as expected.
Back to top
Login to vote
Thomas Dickey

External


Since: Jul 16, 2007
Posts: 12



(Msg. 5) Posted: Thu Aug 20, 2009 5:16 pm
Post subject: Re: xterm copy/paste in vi not working [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Aug 20, 10:00 am, loc <c320... DeleteThis @gmail.com> wrote:
> Thomas Dickey <dic... DeleteThis @his.com> wrote:
> > On Aug 14, 4:27?pm, loc <c320... DeleteThis @gmail.com> wrote:
> >> loc <c320... DeleteThis @gmail.com> wrote:
> >> > I just upgraded to Slackware current which is using X.Org 6.8.99.903(243)
> >> > and I'm having a problem with copy and paste in anxtermwhen using vi..
> >> > The copy only works for text selected which is currently displayed on the
> >> > screen, if I select text and then either scroll so the highlighted text is
> >> > no longer visible on the screen or close thexterm, I can't paste.
>
> >> > To reproduce go into vi and enter insert mode by pressing 'i' type something
> >> > then highlight it by clicking the left mouse button. ?Now press and hold
> >> > enter until the highlighted text scrolls off the screen and then press the
> >> > middle mouse button to try and paste. ?The text that was just selected does
> >> > not paste.
>
> >> > My vi/elvis version is 2.2.0, but I don't think it's a vi problem because
> >> > I was using that same vi version withxterm-version X.Org 6.8.99.903(232)
> >> > without this problem. ?However I don't have this copy/paste problem in
> >> > KDE's Konsole or vim, it's just vi using this newer version ofxterm.
> >> > Any ideas what the problem may be?
>
> >> Doing some more testing, vim has the same problem as elvis, but copy/paste
> >> works good in Konsole so I think it is a bug withxtermversion 243.
>
> > Unless I saw the difference in similarly-configured xterms
> > running side-by-side on the same host (to get the same locale,
> > etc), I'd assume it was some configuration difference.
>
> > Source for 232 is here:
> >    ftp://invisible-island.net/xterm/
> > Changes are summarized here:
> >    http://invisible-island.net/xterm/xterm.log.html
>
> I found the problem, the fix is to right click on the KDE clipboard on the panel
> and select configure Klipper and check the box by "Ignore selection" also
> make sure "Separate clipboard and selection" is selected, then after
> applying that, right click again on the clipboard and select
> "Clear Clipboard History".  Now the selection buffer works as expected.

sounds good (thanks for the feedback).

--
Thomas E. Dickey <dickey DeleteThis @invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Copy Paste Character Problems - I'm having a very annoying problem when trying to copy text and paste to another application under RH9. Here's the..

Can not copy and paste between windows and vncviewer - I dont seem to be able to copy and paste between windows applications and linux via vncviewer from windowws. VNC serve...

[gentoo-user] Linux copy and paste - To copy from one app and paste to another, simply left click and swipe the text (some apps such as MC you need to use..

backspace not working in xterm - running fedora core 1. The backspace key does not erase to the left. it erases everything to the right. how can i fix...

[gentoo-user] KDE Copy _bug_ (smb:// copy resume - does no.. - Hello, Gentoo users! The situation is: I open network shares via smb:// and start copying a file (usually a *.avi..

[gentoo-user] "paste64" / "bracketed paste mode" - What's .. - Hi! xterm now supports a "paste64" USE flag. euse shows: [- ] paste64 (x11-terms/xterm): Enable support ...
       Soft32 Home -> Linux -> X Window System All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]