X has two clipboard type thingies.
JWZ wrote something about it all.
Found it...
http://www.jwz.org/doc/x-cut-and-paste.html

The first buffer is the highlight and middle button one.
The second buffer is the ctrl-c ctrl-v one.

Fran
:):):)

On Wed, 20 Nov 2002 13:12, Ciprian Popovici wrote:
> Wednesday, November 20, 2002, 12:23:34 AM, Andreas Wagner 
<[EMAIL PROTECTED]> wrote:
> > But what i actually wanted to ask is: can i assign keys somewhere in bb
> > to simulate that "middle-mouse-button-click", e.g. some setting in
> > bbkeys?
> > I have only recently switched from Win to Linux and am quite used to
> > Ctrl-C / Ctrl-V...
>
> Many applications know about Ctrl+C and Ctrl+V too. As for emulating
> what the mouse copy&paste with the keys: first of all, you don't need
> Ctrl+C anymore. Once you select something (which you'd have to do
> anyway before Ctrl+C) it's already copied. I've seen mIRC do this on
> Windows, for example, and it saves a little time. But the pasting
> needs two things: pressing the middle mouse button AND positioning the
> mouse pointer at the right spot. Try this with a bigger text area and
> you'll notice that text doesn't get pasted at the text cursor
> position, it goes at the mouse pointer position. So this would be
> dificult to reproduce with the keys.
>
> bbkeys does not handle mouse events. There are programs that do. I use
> xbut, which you must load into .xinitrc just like you do with bbkeys,
> and use ~/.xbutrc to specify which keys to bind to what mouse events
> (this includes buttons press AND pointer movement). If you use
> separate keys for xbut and bbkeys they can both do their jobs. Haven't
> tested common bindings myself, to see what happens.
>
> Oh, and xbut's home page seems to have gone down. Google's cache
> remembers a page telling about xbut 0.4.3, I have 0.4 and have only
> found 0.3 with a quick search. A longer search with several FTP search
> engines might get you a better version, or maybe someone can send it
> to you. If you want 0.4 I'll deliver.
>
> Ciprian Popovici



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to