delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/10/20:53:47

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
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: Copy and Paste into Console
Date: Thu, 10 Jan 2002 19:53:20 -0600
Message-ID: <NCBBIHCHBLCMLBLOBONKKELNCIAA.g.r.vansickle@worldnet.att.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <5.1.0.14.2.20020110134511.01a8c528@pop3.cris.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Randall R Schulz

> Gary,
>
> I was happy to learn about this:
>
> ># Make insert actually useful
> >"\e[2~": paste-from-clipboard
>

Me too, since I didn't know about it myself until I went to answer the question.
Who'd have guessed that even *I* could learn a thing or two from the FAQ? ;-)

Now I just hope I don't start hitting the
otherwise-good-for-nothing-but-causing-grief insert key in TextPad etc.

> ...since it is not documented via "man readline," "man bash" nor in my
> rather dated hard-copy BASH manual.
>

I'd guess that "paste-from-clipboard" probably doesn't do much on non-Windows
readlines.  Might be specific to the Cygwin port, I really don't know.

> However, I now have two questions:
>
> 1) Where does one find complete and definitive information on readline as
> implemented / used by BASH.

AFAICT, man readline pretty much covers it, with the above exception, which all
I can tell you about that is I got it from the FAQ.

> 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 ;-).

> Thanks.
>
> Randall Schulz
> Mountain View, CA USA
>

--
Gary R. Van Sickle
Brewer.  Patriot.


--
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