Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Eric Blake cc: cygwin AT cygwin DOT com, Igor Pechtchanski Subject: Re: Strange-Dangerous behaviour in Cygwin (and/or RXVT) In-Reply-To: <4284A307.5000304@byu.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 (): 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/