X-Recipient: archive-cygwin AT delorie DOT 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: Subject: stty erase issues on ssh to Linux after upgrade to Windows 7 From: Tom Starr To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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 ) 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