🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2102

Re: Pasting speed uneven

#2102
From: J.Russell
Date: Wed, 13 Mar 1991 21:38
43 lines
2129 bytes
ebersman%uunet@bywater.UUCP  (Paul Ebersman) writes:

>I notice that a fair portion of the time, when I use the middle
>button on the mouse to paste, it doesn't show up until I hit some
>keystroke. It hasn't been happening consistently enough to establish a
>real pattern, but it is very annoying.
>--
>                   Paul A. Ebersman @ UUNET Communications
>                   uunet!ebersman or ebersman@uunet.uu.net
>       The difference between theory and practice in practice is greater
>           than the difference between theory and practice in theory.

I've seen this bug too.  It seems to be a problem in keyboard.c.
The fix I've applied is as follows:

diff -c ../epoch-dist/src/keyboard.c keyboard.c
*** ../epoch-dist/src/keyboard.c        Fri Feb 22 16:51:45 1991
--- keyboard.c  Fri Feb 22 12:09:12 1991
***************
*** 886,892 ****
        /* if only events and no keys, start over
         * the end of 8 years of clean coding...
         */
!       if (kbd_count < 1) goto get_char_start_over;
      }
  #else
    c = kbd_buffer_get_char ();
--- 889,898 ----
        /* if only events and no keys, start over
         * the end of 8 years of clean coding...
         */
!       if (kbd_count < 1) {
!         DoDsp (0);
!         goto get_char_start_over;
!       }
      }
  #else
    c = kbd_buffer_get_char ();

Perhaps one of the official maintainers could either suggest a better fix,
or incorporate this into patch-3.

- Jim
Technical Details
Message-ID: <jrussell.668900304@pequod.watson.ibm.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bywater!arnor!watson!pequod.watson.ibm.com!jrussell
References: <EBERSMAN.91Mar12195818@cfmartin.uu.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,7fb5cc7cb1f6b36b
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-03-14 22:41:13 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!bywater!arnor!watson!pequod.watson.ibm.com!jrussell
From: jrussell@pequod.watson.ibm.com (J.Russell)
Newsgroups: gnu.epoch.misc
Subject: Re: Pasting speed uneven
Message-ID: <jrussell.668900304@pequod.watson.ibm.com>
Date: 13 Mar 91 21:38:24 GMT
References: <EBERSMAN.91Mar12195818@cfmartin.uu.net>
Sender: @watson.ibm.com
Reply-To: jrussell@ibm.com
Distribution: gnu
Organization: IBM T. J. Watson Research
Lines: 43