delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/27/18:22:14

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 28 Sep 2002 00:28:52 +0200
From: thomas AT mellman DOT net
To: "Harig, Mark A." <maharig AT idirect DOT net>
Cc: Thomas Mellman <tmellman AT web DOT de>, cygwin AT cygwin DOT com
Subject: Re: xrvt clipboard access
Message-ID: <20020928002852.A415@txm5.compuserve.de>
Reply-To: thomas AT mellman DOT net
References: <BADF3C947A1BD54FBA75C70C241B0B9E10AAE6 AT ex02 DOT idirect DOT net>
Mime-Version: 1.0
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E10AAE6@ex02.idirect.net>; from maharig@idirect.net on Fri, Sep 27, 2002 at 02:54:17PM -0400

On Fri, Sep 27, 2002 at 02:54:17PM -0400, Harig, Mark A. wrote:
> You might need to create the text file ~/.inputrc,
> and add the line:
> 
> "\e[2~": paste-from-clipboard


Am I right in guessing that you're an emacs user?
Unless I'm configuring it wrong, I think the mapping
functionality of readline is only useful for emacs
users.

I'm a vi user, and the \e in escape sequences seems to
switch readline into command mode - rendering it useless
for mapping escape sequences (I tried creating commands
called "[2" but that doesn't seem to work either - maybe
because there's no implicit newline).

Everybody talks about using .inputrc but nobody mentions
the escape problem - yet I know very few emacs users
professionally - I must really ge misunderstanding something.


> >From the manual page for 'rxvt':
> 
> TEXT SELECTION AND INSERTION
>        The behaviour of text selection and insertion mechanism is
>        similar to xterm(1).
> 
> 
>        Selection:
>               Left  click at the beginning of the region, drag to
>               the end of the region and release; Right  click  to
>               extend  the  marked  region;  Left  double-click to
>               select a word;  Left  triple-click  to  select  the
>               entire line.
> 
> 
>        Insertion:
>               Pressing  and releasing the Middle mouse button (or
>               Shift-Insert) in an rxvt window causes the  current
>               text  selection  to  be  inserted as if it had been
>               typed on the keyboard.


The rxvt manual page has overlooked a very important feature
of xterm if it can suggest that the "text ... insertion mechanism
is similar to xterm(1).  To quote xterm(1):

       insert-selection(sourcename [, ...])
               This action inserts the string found in the selec­
               tion  or  cutbuffer   indicated   by   sourcename.
               Sources  are  checked  in the order given (case is
               significant) until one  is  found.   Commonly-used
               selections  include: PRIMARY, SECONDARY, and CLIP­
               BOARD.    Cut   buffers   are   typically    named
               CUT_BUFFER0 through CUT_BUFFER7.



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