delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/15/03:35:11

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: Sun, 15 Sep 2002 09:35:50 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <95987196463.20020915093550@familiehaase.de>
To: tmp AT i DOT am
CC: cygwin AT cygwin DOT com
Subject: Re: cygwin ".inputrc" questions
In-Reply-To: <1031938149.3d82206575170@webmail.got.net>
References: <1031938149 DOT 3d82206575170 AT webmail DOT got DOT net>
MIME-Version: 1.0

Hallo tmp,

Am Freitag, 13. September 2002 um 19:29 schriebst du:

> Hi, I'm new to cygwin, and I was reading the mailing list archives.  You 
> mentioned a ".inputrc" file and how to make it specify a command binding to a 
> specific keystroke.  Do you know what extra stuff is necessary to get that to 
> work?  Is it a shell thing (I use zsh, not bash) or does it work only if you 
> have some specific extra package installed?

I don't know if it works with zsh too.
Basically bash uses the readline library.
Docs are in man readline.
My .inputrc to get 'insert' and 'delete' keys working:

# This file is read by the 'readline' library
# (the library which bash uses for its command-
# line editing facility)

# Make Home work
"\e[7~": beginning-of-line
# Make End work
"\e[8~": end-of-line
# Make Delete work
"\e[3~": delete-char
# Make Insert work
"\e[2~": paste-from-clipboard

# Ignore case for the command-line-completion functionality.
# set completion-ignore-case On

set meta-flag On
set convert-meta Off
set output-meta On
set horizontal-scroll-mode On
Control-e: "cygstart .\C-M"


Gerrit
-- 
=^..^=


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