delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/16/11:06:22

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
X-Original-Recipient: <cygwin AT cygwin DOT com>
From: "Hannu E K Nevalainen (garbage mail)" <garbage_collector AT telia DOT com>
To: "ML CygWIN" <cygwin AT cygwin DOT com>
Subject: RE: Bash shell
Date: Sun, 16 Feb 2003 17:05:35 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEIEDHCKAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3E4D1F89.2080005@rfk.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Importance: Normal

> > I use the bash shell a LOT and was wondering how do I get it so  that I
can
> > copy and paste something from a windows window (such as an IP address)
into
> > the bash shell window. For example I want to use the whois functionality
of
> > the bash shell for an IP I have in a windows window. I cannot seem to
copy
> > and paste anything.
> >
> > I know that for the Xfree you can use the -clipboard option, but I
rarely
> > use the X system...mostly just the bash shell.

Larry Hall:
> Welcome!  New users are encouraged to make use of the available resources
> to see if their question or issue is covered before querying the list.
> That includes the FAQ, User's Guide, and email list archives.  In
> this case,
> you wouldn't have needed to go beyond the FAQ.  There's a nice entry about
> this in there.  See:
>
>    4.2.24 How can I copy and paste into Cygwin console windows?
>    <http://cygwin.com/faq/faq_4.html#SEC54>
>

 Pasting things from the above FAQ section into "pico ~/.inputrc"

"2~5~Be2~5~4~24~BC": paste-from-clipboard

 Nice pasting... eh..?

Well, after adding (for "insert-key"-paste)
	"\e]2~": paste-from-clipboard
to ~/.inputrc and restarting all of cygwin: It doesn't work.
I also have
	DEL: forward-backward-delete-char
which does work in pico (internal handling?), but not in Bash...
(most things set as per default)

 It is nice to have a FAQ, but when things described there doesn't work...

FINALLY:
 "\M-[2~": paste-from-clipboard # insert key
OTOH seems to work nicely (suggesttion by Randall Schulz, 2003-02-14)
this also remedies the first problem.

 Who is the FAQ maintainer?

/Hannu E K Nevalainen, Mariefred, Sweden

-- 8< --
Windows 98 SE Ver 4.10 Build 2222
-- 8< --
889k 2003/02/08 C:\Program\cygwin\bin\cygwin1.dll
  Cygwin DLL version info:
      DLL version: 1.3.20
      DLL epoch: 19
      DLL bad signal mask: 19005
      DLL old termios: 5
      DLL malloc env: 28
      API major: 0
      API minor: 73
      Shared data: 3
      DLL identifier: cygwin1
      Mount registry: 2
      Cygnus registry name: Cygnus Solutions
      Cygwin registry name: Cygwin
      Program options name: Program Options
      Cygwin mount registry name: mounts v2
      Cygdrive flags: cygdrive flags
      Cygdrive prefix: cygdrive prefix
      Cygdrive default prefix:
      Build date: Sat Feb 8 12:10:49 EST 2003
      Shared id: cygwin1S3
-- 8<--


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