This is the mail archive of the
mailing list for the Cygwin project.
RE: Copy and Paste into Console
- From: "Stephan Mueller" <smueller at microsoft dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 10 Jan 2002 18:04:09 -0800
- Subject: RE: Copy and Paste into Console
" From: Gary R. Van Sickle [mailto:firstname.lastname@example.org]
" > From: email@example.com [mailto:firstname.lastname@example.org]On
" > 2) Why does "paste-from-clipboard" stop just before the first
" > 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
" > behavior?
" I have absolutely no idea. Wasn't there when it happened ;-).
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
Geek. Nerd. :-)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html