copy paste problem

Joerg Fischer jf505 at gmx.de
Tue Aug 31 09:19:47 CEST 2004


>>If you stay inside nedit, lesstif is surely not the source
>>of the problem. I would call a lesstif version where you
>>couldn't copy and paste inside nedit unusable.
>
>That's not true. When tex is copied to the clipboard, we
>don't know beforehand what application it will be pasted
>into. Thus, Motif's system routines to populate the X
>clipboard are used. If they're broken, the clipboard is
>broken, both inside and outside NEdit.

Look, I have here
NEdit Version 5.2
October 2001

     Built on: Linux, x86, GNU C
     Built at: Nov  8 2001, 03:53:23
   With Motif: 1002 [@(#)GNU/LessTif Version 1.2 Release 0.93.12]
Running Motif: 1002
       Server: The XFree86 Project, Inc 335

which is the so called Debian stable build.

Now as long as I'm using only this nedit w/o interactions with
other X clients copy&paste is working like it should. To make
it simple: Open a new window, give in "string", select it,
Ctrl-c, and then Ctrl-v pastes "string" in the nedit window as
often as you like.

Now I switch to the xterm and give in "xclipboard &". Then the
xclipboard comes up empty! 

(It should contain "string" as it does when I would have used
  NEdit 5.5RC1
  Jul 23, 2004

       Built on: Linux, 486, GNU C
       Built at: Jul 24 2004, 19:54:34
     With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
  Running Motif: 2.1 [unknown]
         Server: The XFree86 Project, Inc 335
         Visual: 16-bit TrueColor (ID 0x20, Default)
         Locale: C

that I'm normally using for work there.)

A couple of seconds later the xclipboard displays
"CLIPBOARD selection conversion failed". 

After that message, Ctrl-v doesn't paste "string" in the
nedit window any more. I can repeat the procedure, ie,
copying "string" again and then pasting, which works until
a couple of seconds later the xclipboard issues the same
message.

Now there is a second problem. Close nedit and the
xclipboard. Open nedit again. Copying and pasting work
fine again. Now open Mozilla's Composer, copy something in
the nedit window and try to paste it into the Composer
window. What happens is that the Composer gets locked for
around 2 or 3 seconds, where you can do nothing. There is
nothing pasted, either. After that you can work on. With
the nedit using Motif the string is pasted correctly, no
locking.

If you don't believe, simply try it yourself. My guess
is that also the latest lesstif, although there has some
work been done concerning CLIPBOARD, still doesn't work
completely. But using only nedit (no interactions) there
is no problem.

Cheers,
Jörg

-- 
NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail



-- 
Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl




More information about the Discuss mailing list