X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 7 Apr 2011 14:52:46 -0700
Message-ID: <BANLkTi=4azEVPoi+g3LKvv-Le8+HOtECdg@mail.gmail.com>
Subject: stty erase issues on ssh to Linux after upgrade to Windows 7
From: Tom Starr <tomstarr5678@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

In Windows XP Cygwin erase defaults to ^H (backspace) which is
preserved on ssh to Linux where backspace works in vi and in SQLPlus.

In Windows 7 Professional erase defaults to ^? (delete) then changes
to ^H on ssh to the same Linux and backspace works like delete in vi
and produces little triangles like a Delta character entity in
SQLPLus.

And doing stty erase '^?' (or stty erase ctrl-v <backspace>) in Linux
fixes vi but SQLPlus still gets little triangles.

My TERM=3Dansi but I=92ve also tried vt100 and cygwin - no change.

I upgraded from Cygwin 1.5.25 to 1.7.9 based on 1.7.2 release notes
stating the console's backspace keycode can be changed using 'stty
erase' but no change.

There are no stty statements in Cygwin or Linux .bashrc or .bash_profile.

Cygwin is: CYGWIN_NT-6.1-WOW64 XXX-YYYYYY-ZZZ 1.7.9(0.237/5/3)
2011-03-29 10:10 i686 Cygwin Linux is: 2.6.9-42.0.2.ELsmp on x86_64

Thanks for any clues or suggestions!

Tom

--
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

