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=ansi but I’ve 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