delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/10/21:04:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
MIME-Version: 1.0
Subject: RE: Copy and Paste into Console
Date: Thu, 10 Jan 2002 18:04:09 -0800
Message-ID: <F8268126BF427A409936A83B6B86338704AD12B7@red-msg-01.redmond.corp.microsoft.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Copy and Paste into Console
Thread-Index: AcGaQtoUNFlzkXPNQmqdbwuz/7QnbAAAE2pQ
From: "Stephan Mueller" <smueller AT microsoft DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 11 Jan 2002 02:04:09.0492 (UTC) FILETIME=[41C44540:01C19A44]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g0B24Td10083

" From: Gary R. Van Sickle [mailto:g DOT r DOT vansickle AT worldnet DOT att DOT net] 
" > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On 
" > 2) Why does "paste-from-clipboard" stop just before the first
newline 
" > in the clipboard contents while middle-mouse pastes the entire 
" > contents? Is there another undocumented clipboard pasting readline 
" > primitive that pastes the entire clipboard? (Running strings on 
" > /lib/libreadline.a suggests there is not.) Is this a bug, or
intended 
" > behavior?
"
" I have absolutely no idea.  Wasn't there when it happened ;-).

Random speculation.

Paste-from-clipboard is a read-line function.  Being line-oriented, it's
perhaps even by design that it opens the clipboard, gets only one line
from it, and inserts that into the editing buffer.

Middle-mouse, on the other hand, is producing a stream of input events
for the window being pasted to.  The app being pasted to doesn't know
the difference between middle-mouse and a user typing really fast.

> Randall Schulz
> Mountain View, CA USA

Gary R. Van Sickle
Brewer.  Patriot.

stephan();
Geek.  Nerd. :-)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019