Subject: bug#5331: Term mode doesn't set tty erase

From: Scott Bell <[email-masked]>
Date: Thu, 07 Jan 2010 09:14:29 -0700

On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:

> Scott Bell <[email-masked]> writes:
> 
>> ...
>> 
>> It seems like the least surprising thing would be to define
>> erase to ^? so that most programs will behave as expected 
>> when the DEL key is typed.
> 
> I can't reproduce this on GNU/Linux and Solaris.
> This is probably a Mac OS X problem which not too many people here have
> access to...
> Do you get the same results with /bin/tcsh?

It looks like tcsh is the only one where erase
is defined:

bash: <undef>
zsh: <undef>
tcsh: ^?
ksh: <undef>

When these shells are launched using Terminal.app
(the terminal emulator that ships with Mac OS), erase
is always bound to ^?.