 |
|
 |
|
Next: Ubuntu installation questions
|
| Author |
Message |
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 |
|
 |  |
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 |
|
 |  |
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 |
|
 |  |
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 |
|
 |  |
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 |
|
 |  |
|
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
|
|
|
|
 |
|
|