delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/13:58:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: Kent Larsson <kent DOT larsson AT euroling DOT se>
Date: Wed, 7 Apr 2010 19:58:21 +0200
Message-ID: <h2s70497a8b1004071058y42def0beh1a04fe60cdc2a894@mail.gmail.com>
Subject: Problem with Shift+Left or Right arrow in Cygwin locally (Ctrl isn't noticed) and through SSH (escape code isn't interpreted correctly)
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi,

If I'm in Bash on my Ubuntu system I can use Ctrl+Left Arrow or Right
Arrow to navigate one word at a time to the left and right. When I use
Cygwin it doesn't react to the Ctrl, responding as if I only had
pressed the Left or Right Arrow. Is there a way to fix this?

The next step is when I log in from an Ubuntu 9.10 system to Cygwin 6
using SSH. If I use Shift+Arrow Key this way there seem to be a
problem with the escape codes. Here is some hopefully relevant console
output:

kentl AT THI008:~/workdir$ echo $TERM
xterm
kentl AT THI008:~/workdir$ ssh 192.168.36.198
kentl AT 192 DOT 168 DOT 36 DOT 198's password:
Last login: Wed Apr  7 17:52:53 2010 from 192.168.36.155

kentl AT kentl ~
$ echo 'ctrl+left,right,up,down shows as (space as delimiter, ends
with apostrophe): ;5D ;5C ;5A ;5B '
ctrl+left,right,up,down shows as (space as delimiter, ends with
apostrophe): ;5D ;5C ;5A ;5B

kentl AT kentl ~
$ echo $TERM
xterm

kentl AT kentl ~
$ uname -a
CYGWIN_NT-6.0 kentl 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin

Any help will be greatly appreciated!

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019