delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/17/12:15:06

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: Mon, 17 Feb 2003 00:31:00 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEEEECCKAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <5.2.0.9.2.20030216082321.01da49a8@pop3.cris.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1HHF5c02086

 Hmm... reply/follow-up-to: is not set to cygwin ML... :-7
May I guess that you occasionally get personal mail? ;-)

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

-- 8< -- here and there...

> I don't know Pico,
> but I gave it a try (running in a Cygwin console window) after copying
> from Mozilla. A right-mouse paste there also had the expected effect.

pico - tiny editor that comes with 'pine' (email/news client), there is also
nano - which is similar (editors).

> At 08:05 2003-02-16, Hannu E K Nevalainen (garbage mail) wrote:
 Hmm.^^^^^ that should probably be something else. Do we have some kind of
MS-Outlook wierdo thing here?

> > >    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
> >
First of all: It isn't BROWSER dependant, it appears in the "cygwin.bat"
console on *Win98SE* at least - _as long as you use the BUTTONS on the
console window "menu" bar_.

 Seems to be totally independent of .inputrc contents too.

I have a working Del and Insert key now... but this is what I get with the
button

	$ cat >z
	"[2~[5~[Be[2~[5~[4~2[4~[B[C": paste-from-clipboard
	<CTRL-D>
	$ cat z
	"[2~[5~[Be[2~[5~[4~2[4~[B[C": paste-from-clipboard

 This is the "paste" you have - unless .inputrc contains key bindings for
it.


> I don't know what's up here, but I don't think there's anything wrong
> with the FAQ.

 Can't check, but you're probably right.

 I was a bit quick again I believe, once again beeing tired...
Right now I can't get access to the FAQ of some mysterious reason.
Is the cygwin server running som kind of update? (23:42 GMT+1)


> >Well, after adding (for "insert-key"-paste)
> >     "\e[2~": paste-from-clipboard
> >to ~/.inputrc and restarting all of cygwin: It doesn't work.
>
> Here you have the wrong orientation of the square bracket character.

 That probably is the cause, as I had to *retype* it into pico. I'm used to
"have an offset" when typing
(hitting keys NEXT TO those intended :-/
 "[" is alt_gr+8, "]" is alt_gr+9 - on swedish keyboards).

 my current ~/.inputrc appended,
if it might matter in the search of the true cause.

/Hannu E K Nevalainen, Mariefred, Sweden

--
#
# ~/.inputrc
#

# DON'T EVER *BEEP* AT ME!
set bell-style visible

#--------------------------------
# Eight-bit transparency please,
# we're *way* beyond anything else
# "هنِ" is just a few of the chars NOT visible otherwise.
set convert-meta off
set input-meta on
set output-meta on

# The least bad...
set keymap emacs

#
set enable-keypad on


#--------------------------
# Name completion/expansion
#

#
# set show-all-if-ambiguous on

# User homedir name expansion
set expand-tilde on

# Append / on ALL dirnames at completion
set mark-directories on
set mark-symlinked-directories on

# Match on ALL files
set match-hidden-files on


#---------------
# Keybindings...
#

# DEL key in bash
"\e[3~": delete-char

#insert-key
"\M-[2~": paste-from-clipboard # Insert


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