Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 1998 18:16:28 +0200 (SAT)
From:      Johann Visagie <wjv@cityip.co.za>
To:        Studded@san.rr.com (Studded)
Cc:        freebsd-questions@FreeBSD.ORG, FreeBSD-newbies@FreeBSD.ORG
Subject:   Re: Eureka! Pasting into netscape
Message-ID:  <E0yUD3U-0000oU-00@ns.cityip.co.za>
In-Reply-To: <353D8EFD.CE0DAD3E@san.rr.com> from Studded at "Apr 21, 98 11:32:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Studded wrote:
> 
> 	I love netscape and use it in X for mail, news and of course, web
> browsing. The only thing I didn't like about it was that I couldn't
> paste into netscape from other parts of X. It was making me batty. What
> I was doing was what I learned somewhere, swiping with mouse button one
> to highlight what I wanted, clicking once with mouse button one to copy
> the text to the clipboard and then clicking once with the middle button
> to paste. This worked fine for EVERY app except netscape. 

[ snip ] 

> remember why I wanted to try this idea, but anyway what I did was
> highlight the text in the xterm and *leave* it highlighted. Then I
> clicked in netscape with the middle button and Voila! It pasted. You
> can't imagine my joy. :) 

When you select something (whether using click&drag, double-click[&drag],
triple-click[&drag] or click&shift-rightclick), the selected text is
automatically and immediately copied to the global cut buffer and the
selection named PRIMARY.  This is (AFAIK) default behaviour for X apps.

If you select text and then click again, the selected text remains in the cut
buffer, but the PRIMARY selection is once again empty.

If you paste using the (usually) middle button, then xterm (and many other X
apps) will first try to paste from the PRIMARY selection, then from the cut
buffer.  However, it seems that Netscape _only_ tries to paste from the
PRIMARY selection.

No, I didn't know any of this...  ;-)  But when I read your posting I thought
"Hello, I've never tried to click again after selecting...", and then I did a
little reading through man pages and the like...  See, for instance, the
section on POINTER USAGE in xterm(1).

-- V

Johann Visagie | Email: wjv@CityIP.co.za | Tel: +27 21 419-7878

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yUD3U-0000oU-00>