delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/21/11:37:44

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
Message-Id: <5.2.0.9.2.20030221075321.02928950@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 21 Feb 2003 07:56:28 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: remapping Cygwin 'bash' readline functions to PC keys
In-Reply-To: <3E56109C.90604@t-online.de>
References: <5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030219135548 DOT 00aac350 AT rogue DOT codemeta DOT com>
<5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030218185859 DOT 103df640 AT rogue DOT codemeta DOT com>
<5 DOT 2 DOT 0 DOT 9 DOT 0 DOT 20030219135548 DOT 00aac350 AT rogue DOT codemeta DOT com>
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1LGbhD06190

Hi,

Jeez, guys, what's the problem:

% od -c
[ Press F1 through F12 followed by two CTRL-Ds: ]

0000000 033   [   [   A 033   [   [   B 033   [   [   C 033   [   [   D
0000020 033   [   [   E 033   [   1   7   ~ 033   [   1   8   ~ 033   [
0000040   1   9   ~ 033   [   2   0   ~ 033   [   2   1   ~ 033   [   2
0000060   3   ~ 033   [   2   4   ~
0000067


% od -c
[ Press Insert, Home, Page Up, Delete, End, Page Down followed by two 
CTRL-Ds: ]

0000000 033   [   2   ~ 033   [   1   ~ 033   [   5   ~ 033   [   3   ~
0000020 033   [   4   ~ 033   [   6   ~
0000030


Randall Schulz


At 03:42 2003-02-21, Markus Schönhaber wrote:

>'od -c' remains a mystery to me too - I guess I'll understand how that 
>command works sometime later this century.
>But since I too am strongly interested in putting the Ctrl-<Arrow> 
>keys into buisiness (as previos-word, next-word), I tried the Ctrl-V 
>trick. It worked - thanks to John from me too. This is what I got:
>plain left: ^[[D
>shift-left: ^[[d
>ctrl-left: ^[Od (it's a capital "O" contained in there - not the number zero)
>
>So I added these lines to my .inputrc to get the wordwise movement 
>using Ctrl-<arrow>:
>"\eOd": backward-word
>"\eOc": forward-word
>
>All the way long I have been talking about rxvt, of course.
>
>Regards
>   mks


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