delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/12:21:31

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-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Home key doesn't work with TERM=screen
Date: Wed, 3 Dec 2003 12:20:05 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E014595A4@ex02.co.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "Baurjan Ismagulov" <ibr AT ata DOT cs DOT hun DOT edu DOT tr>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hB3HLOF8026872

> 
> If I ssh to cygwin with TERM=screen, pressing Home in bash results in
> beep and a tilde printed. I've checked infocmp screen output, khome is
> set to \E[1~, as in linux and cygwin terminfo entries.
> 

You can take control of your keyboard settings by
adding definitions to your ~/.inputrc:

   1. Press Ctrl-V, followed by the key whose
      behavior you want to define, for example,

        $ ^V [Home key]
        ^[[1~

      The '^[' corresponds to the escape key.

   2. Edit (or create) your ~/.inputrc.  Add the
      definition for the key that you want.

      "\e[1~": beginning-of-line

      An example '.inputrc' file can be found in
      /etc/skel/.inputrc.

This is described in the manual page and info
for 'readline':

    $ man readline

or 

    $ info readline

------

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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