jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[dparsons@xxxxxxxxxx: Bug#174370: jed: copy/paste does not work on the console (gpm)]


Dear John and list,

I received this bug report (please excuse the bottom-quote in this case) via
the Debian BTS.  I can obviously reproduce this behaviour.  What it comes
down to, is that JED does not allow pastes from the SYSTEM selection buffer
and also doesn't seem to copy selections to the system cut buffer.
mouse.txt has the following to say:

     Middle 

       If a region is already marked, copy it to the mouse
       paste-buffer. Otherwise, paste text from the system cut buffer
       to current editing point. This MAY NOT BE the position of the
       mouse.

The documentation seems to imply that there should still be some interaction
with the system cut buffer even although JED determines its own set of mouse
symantics as well.  However, on the console with GPM, no text can be pasted
to JED from the "outside" or from JED to the "outside".

I've had a quick look at the source code and this does seem to be the case.
I would suggest that all mouse selections copy to both the JED cut buffer
and the system cut buffer and that pastes without shift (e.g.) paste from
the JED cut buffer whilst pastes with shifts paste from the system cut
buffer.

John, what are your thoughts on this?  Have I missed something?

Thanks,
Charl


----- Forwarded message from Drew Parsons <dparsons@xxxxxxxxxx> -----

Subject: Bug#174370: jed: copy/paste does not work on the console (gpm)

Package: jed
Version: 0.99.16-1
Severity: normal

Copy and paste does not work to and from jed running on the console (using
gpm).  It's supposed to have gpm support, and copy/paste does work on the
console outside of jed.  It works fine from X.

Clicking with the left mouse button seems to highlight words OK, but pasting
never works.  It looks almost as though the selection is "cancelled" the
moment the mouse is moved away, since the highlighted word becomes
unhighlighted.

A word copied in the console before jed is invoked cannot be pasted inside
jed, and a word highlighed inside jed cannot be pasted after exiting jed
(nor can it be pasted inside it).  After exiting from jed, the word that was
in the GPM copy buffer before entering jed is still in there.  jed ignores
the mouse's copy/paste buffer completely.

Drew

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux strider 2.4.20 #1 Fri Dec 20 00:02:12 EST 2002 i686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8

Versions of packages jed depends on:
ii  jed-common                    0.99.16-1  Byte compiled S-Lang runtime files
ii  libc6                         2.3.1-5    GNU C Library: Shared libraries an
ii  libgpmg1                      1.19.6-12  General Purpose Mouse Library [lib
ii  slang1                        1.4.5-1    The S-Lang programming library - r

----- End forwarded message -----

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]