delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/10/17:02:40

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
Message-Id: <5.1.0.14.2.20020110134511.01a8c528@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 10 Jan 2002 14:00:26 -0800
To: <cygwin AT cygwin DOT com>
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: RE: Copy and Paste into Console
In-Reply-To: <NCBBIHCHBLCMLBLOBONKAEKGCIAA.g.r.vansickle@worldnet.att.ne
t>
References: <PKEEKEEIHKANEHFMEKENKEMOCMAA DOT relaxedrob AT optushome DOT com DOT au>
Mime-Version: 1.0

Gary,

I was happy to learn about this:

># Make insert actually useful
>"\e[2~": paste-from-clipboard

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

However, I now have two questions:

1) Where does one find complete and definitive information on readline as 
implemented / used by BASH.
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?

Thanks.

Randall Schulz
Mountain View, CA USA


At 21:35 2002-01-09, Gary R. Van Sickle wrote:
>...
>
>Here's what I have for my .inputrc, and it rarely steers me wrong:
>
>
># This file is read by the 'readline' library ...
>
># Make Home work
>"\e[7~": beginning-of-line
>
># Make End work
>"\e[8~": end-of-line
>
># Make Delete work
>"\e[3~": delete-char
>
># Make insert actually useful
>"\e[2~": paste-from-clipboard
>
># Ignore case for the command-line-completion
># functionality.
>set completion-ignore-case On
>
>...
>
>--
>Gary R. Van Sickle


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