From owner-freebsd-questions Tue Apr 28 09:17:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA26123 for freebsd-questions-outgoing; Tue, 28 Apr 1998 09:17:17 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA25994; Tue, 28 Apr 1998 09:16:57 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0yUD3U-0000oU-00; Tue, 28 Apr 1998 18:16:28 +0200 Subject: Re: Eureka! Pasting into netscape In-Reply-To: <353D8EFD.CE0DAD3E@san.rr.com> from Studded at "Apr 21, 98 11:32:29 pm" To: Studded@san.rr.com (Studded) Date: Tue, 28 Apr 1998 18:16:28 +0200 (SAT) Cc: freebsd-questions@FreeBSD.ORG, FreeBSD-newbies@FreeBSD.ORG X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc X-URL: http://www.cityip.co.za/~wjv/ X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Johann Visagie Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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