GNU bug report logs -
#5331
Term mode doesn't set tty erase
Previous Next
To reply to this bug, email your comments to 5331 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs
.
(Wed, 06 Jan 2010 23:57:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Scott Bell <sctb <at> me.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 06 Jan 2010 23:57:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Under Mac OS X 10.6.2, Emacs 23.1.90.1, in an M-x term buffer
running /bin/bash, `stty -a' reports the following:
speed 9600 baud; 33 rows; 90 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -iutf8
-ignbrk brkint -inpck -ignpar -parmrk
oflags: opost onlcr -oxtabs -onocr -onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = <undef>; intr = ^C; kill = <undef>;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
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.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs
.
(Thu, 07 Jan 2010 08:28:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 5331 <at> debbugs.gnu.org (full text, mbox):
Scott Bell <sctb <at> me.com> writes:
> Under Mac OS X 10.6.2, Emacs 23.1.90.1, in an M-x term buffer
> running /bin/bash, `stty -a' reports the following:
>
> speed 9600 baud; 33 rows; 90 columns;
> lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
> -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
> -extproc
> iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -iutf8
> -ignbrk brkint -inpck -ignpar -parmrk
> oflags: opost onlcr -oxtabs -onocr -onlret
> cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
> -dtrflow -mdmbuf
> cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
> eol2 = <undef>; erase = <undef>; intr = ^C; kill = <undef>;
> lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
> status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
>
> 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?
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs
.
(Thu, 07 Jan 2010 16:15:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 5331 <at> debbugs.gnu.org (full text, mbox):
On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:
> Scott Bell <sctb <at> me.com> 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 ^?.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs
.
(Thu, 07 Jan 2010 21:36:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 5331 <at> debbugs.gnu.org (full text, mbox):
Scott Bell <sctb <at> me.com> writes:
> On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:
>
> > Scott Bell <sctb <at> me.com> 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 ^?.
term.el does not do anything special for tcsh, so because it works
there, it's probably a problem in the initialization of the other
shells, not in term.el.
bug reassigned from package 'emacs' to 'emacs,ns'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 07 Jan 2010 21:47:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs,ns
.
(Fri, 08 Jan 2010 17:08:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 5331 <at> debbugs.gnu.org (full text, mbox):
On 2010-01-07, at 2:35 PM, Dan Nicolaescu wrote:
> Scott Bell <sctb <at> me.com> writes:
>
>> On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:
>>
>>> Scott Bell <sctb <at> me.com> 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 ^?.
>
> term.el does not do anything special for tcsh, so because it works
> there, it's probably a problem in the initialization of the other
> shells, not in term.el.
I agree. It seems like a shame that Mac OS relies on
the default emulator (Terminal.app) to perform this
initialization.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs,ns
.
(Fri, 08 Jan 2010 19:10:03 GMT)
Full text and
rfc822 format available.
Message #22 received at 5331 <at> debbugs.gnu.org (full text, mbox):
Scott Bell <sctb <at> me.com> writes:
> On 2010-01-07, at 2:35 PM, Dan Nicolaescu wrote:
>
> > Scott Bell <sctb <at> me.com> writes:
> >
> >> On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:
> >>
> >>> Scott Bell <sctb <at> me.com> 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 ^?.
> >
> > term.el does not do anything special for tcsh, so because it works
> > there, it's probably a problem in the initialization of the other
> > shells, not in term.el.
>
> I agree. It seems like a shame that Mac OS relies on
> the default emulator (Terminal.app) to perform this
> initialization.
Not sure what you mean...
It's probably due to buggy initialization for those shells, or because
they get confused about TERM value used by term.el: eterm-color.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs,ns
.
(Fri, 08 Jan 2010 19:24:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 5331 <at> debbugs.gnu.org (full text, mbox):
On 2010-01-08, at 12:09 PM, Dan Nicolaescu wrote:
> Scott Bell <sctb <at> me.com> writes:
>
>> On 2010-01-07, at 2:35 PM, Dan Nicolaescu wrote:
>>
>>> Scott Bell <sctb <at> me.com> writes:
>>>
>>>> On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:
>>>
>>> term.el does not do anything special for tcsh, so because it works
>>> there, it's probably a problem in the initialization of the other
>>> shells, not in term.el.
>>
>> I agree. It seems like a shame that Mac OS relies on
>> the default emulator (Terminal.app) to perform this
>> initialization.
>
> Not sure what you mean...
> It's probably due to buggy initialization for those shells, or because
> they get confused about TERM value used by term.el: eterm-color.
Terminal.app has to be doing something, because I've tried
setting term-term-name to 'xterm-color', which is the same
TERM used by Terminal.app. So it seems like buggy shell
initialization which Terminal.app is overriding somehow.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5331
; Package
emacs
.
(Thu, 04 Aug 2016 01:51:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 5331 <at> debbugs.gnu.org (full text, mbox):
Scott Bell <sctb <at> me.com> writes:
> On 2010-01-08, at 12:09 PM, Dan Nicolaescu wrote:
>
>> Scott Bell <sctb <at> me.com> writes:
>>
>>> On 2010-01-07, at 2:35 PM, Dan Nicolaescu wrote:
>>>
>>>> Scott Bell <sctb <at> me.com> writes:
>>>>
>>>>> On 2010-01-07, at 1:27 AM, Dan Nicolaescu wrote:
>>>>
>>>> term.el does not do anything special for tcsh, so because it works
>>>> there, it's probably a problem in the initialization of the other
>>>> shells, not in term.el.
>>>
>>> I agree. It seems like a shame that Mac OS relies on
>>> the default emulator (Terminal.app) to perform this
>>> initialization.
>>
>> Not sure what you mean...
>> It's probably due to buggy initialization for those shells, or because
>> they get confused about TERM value used by term.el: eterm-color.
>
> Terminal.app has to be doing something, because I've tried
> setting term-term-name to 'xterm-color', which is the same
> TERM used by Terminal.app. So it seems like buggy shell
> initialization which Terminal.app is overriding somehow.
This bug reproduces on Emacs 25.1.50.1. I also tried running emacs via
iTerm2 and it had the same issue.
Merged 5331 24964.
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Sun, 18 Dec 2016 10:59:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 178 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.