🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2199

Patch - Re: Cutting text out of epoch

#2199
From: Todd.Kaufmann
Date: Mon, 18 Feb 1991 16:26
25 lines
1416 bytes
Colas Nahaboo <colas@avahi.inria.fr> already posted this twice to the list,
but it looks like it could use it again.

I've applied this and haven't had any problems with cut-n-paste since.

 -todd
-----------------------

Here is the patch to src/x11fns.c:
avahi$ diff -c x11fns.c.orig x11fns.c
*** x11fns.c.orig       Wed Jul 18 11:06:01 1990
- --- x11fns.c    Wed Jul 18 11:09:35 1990
***************
*** 93,98 ****
- --- 93,99 ----
        check_xterm ();

        BLOCK_INPUT ();
+       XSetSelectionOwner(XD_display, XA_PRIMARY, None, CurrentTime);
        XStoreBytes (XD_display, XSTRING (string)->data,
                     XSTRING (string)->size);
        UNBLOCK_INPUT ();

(hack found by Arnaud Le Hors, lehors@mirsa.inria.fr, Koala Project)
Technical Details
Message-ID: <11843.666894365@NL.CS.CMU.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!NL.CS.CMU.EDU!Todd.Kaufmann
References: <ANTHONY.91Feb17151722@innisfre.cs.UAlberta.CA>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,9a29fb6e0a68ed05
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-02-18 13:15:34 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!NL.CS.CMU.EDU!Todd.Kaufmann
From: Todd.Kaufmann@NL.CS.CMU.EDU
Newsgroups: gnu.epoch.misc
Subject: Patch - Re: Cutting text out of epoch
Message-ID: <11843.666894365@NL.CS.CMU.EDU>
Date: 18 Feb 91 16:26:05 GMT
References: <ANTHONY.91Feb17151722@innisfre.cs.UAlberta.CA>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: todd.kaufmann@NL.CS.CMU.EDU
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25