This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bash shell


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

> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]