www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
Subject: | Re: Shift-Tab for Backwards Completion |
Date: | Wed, 18 Jun 2008 22:12:43 +0200 |
Lines: | 24 |
Message-ID: | <g3bq86$sll$3@ger.gmane.org> |
References: | <e19dd6c40806171249g34a64707t43a5ef17f9091aa4 AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | MicroPlanet-Gravity/2.70.2067 |
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 |
* Frank Jacobs (Tue, 17 Jun 2008 14:49:18 -0500) > I've used the solution below so that I can go back in the completion > list in Bash via the SHIFT-TAB keystroke. However, I can only get it > to work when running in an xterm window (where $TERM=xterm). It > doesn't work in the plain-ol' Windows console window (where > $TERM=cygwin). > > The research that I've done has pointed me to termcap as a possible > suspect. Grokking termcap is going to take me a while. Before I go > down a possible dead end, does anyone have any comments on why > SHIFT-TAB doesn't work when running Cygwin/Bash in a Windows console > window? (By "doesn't work" I mean that SHIFT-TAB behaves the same as > pressing TAB by itself). Because Windows Console returns the same keycode for shifted/unshifted and for the Ctrl key. You can easily test that with [Ctrl][V] or "od - c" (which are the standards tools to find out the key codes to be able to assign actions to them). This is not restricted to the Windows console. Console[1] and the Linux console behave the same. Thorsten [1] http://console.sourceforge.net/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |