Hey, that works.  Thanks.

    Maybe this info should be added to the xxe FAQ.

Gregory Popovitch wrote:

>> > Cut/paste between other X apps, like xterm, to "import" text
>>
>> Implemented in M1 (try between XXE and Netscape using Alt+C in Netscape,
>> not the mouse selection).
>> Unlike Windows, X-Window has several ``clipboards''. The xterm uses
>> CUTBUFFER0 (I think) and Java only supports the clipboard named
>> CLIPBOARD, so it very difficult to implement.
>>
> 
> Hi guys,
> 
> I am unable to test this now, but I believe that it is possible to configure
> xterm so that it exports the selected text to the 'CLIPBOARD' selection in
> addition to the default CUT_BUFFER0. Then it sould be possible to paste
> into a swing widget.
> 
> This can be done by providing the following resource to xterm:
> 
> xterm*VT100.Translations:     #override \
>         <BtnUp>: select-end(PRIMARY, CUT_BUFFER0, CLIPBOARD)
> 
> This can be added to a ~/.Xdefaults file, and this updated resource file can
> be
> loaded onto the X server with the command:
> 
> xrdb ~/.Xdefault
> 
> All xterms started afterwards will export their selected text to the
> CLIPBOARD
> selection also.
> 
> Another way (with an additional step) to implement cut/paste is to go
> through
> xemacs, which supports both the CUT_BUFFER0 and the CLIPBOARD.
> 
> Gregory Popovitch
> 
> 
> --
> XXE Support List
> xmleditor-support at xmlmind.com
> http://www.xmlmind.com/mailman/listinfo/xmleditor-support
> 


-- 
Ron Hitchens {mailto:ron at ronsoft.com}   RonSoft Technologies
      (949) 830-8233 (Home Office)       http://www.ronsoft.com
      (707) 924-3878 (fax)               Bit Twiddling At Its Finest
"Take my Worf, please." -Data


Reply via email to