delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Sat, 14 May 2005 15:13:08 +0200 (MET DST) |
From: | Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it> |
To: | Eric Blake <ebb9 AT byu DOT net> |
cc: | cygwin AT cygwin DOT com, Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> |
Subject: | Re: Strange-Dangerous behaviour in Cygwin (and/or RXVT) |
In-Reply-To: | <4284A307.5000304@byu.net> |
Message-ID: | <Pine.OSF.4.21.0505141436260.16855-100000@ax0rm1.roma1.infn.it> |
MIME-Version: | 1.0 |
X-AntiVirus: | checked by Vexira Milter 1.0.6; VAE 6.30.0.2; VDF 6.30.0.177 |
I have tried your code "stty erase ^H" in .bash_profile and as I thinked it works for standard bash shell and xterm BUT NOT for RXVT in which, now, BKSPACE is dead. In others words RXVT wants "stty erase ^?" as in /etc/profile. I have tried also the code (<http://cygwin.com/ml/cygwin/2005-05/msg00456.html>): if tty --quiet ; then stty erase '^?' case "$TERM" in cygwin ) stty erase '^H' ;; xterm* | rxvt* ) stty erase '^?' ;; * ) # unknown terminal type, don't set erase ;; esac fi that works for std-bash-shell and RXVT BUT NOT for xterm! The reason, in this case, should be the fact that echo $TERM prints "cygwin" in std-bash-shell, and "xterm" in RXVT and in XTERM! I remain in the opinion that some recents upgrades have changed something (env. var., dlls) in cygwin conf.. Previously, also with this /etc/profile (3.2-1, 3.1-4, 3.0-1) with "stty erase ^?" all worked fine. For example, termcap upgrade (Apr 22) can have some influence? Or the rxvt package itself (Apr 10)? angelo. -- 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 |