GNU bug report logs - #24964
25.1; Backspace inside term/ansi-term on OSX

Previous Next

Package: emacs;

Reported by: Jack Kamm <jackkamm <at> gmail.com>

Date: Fri, 18 Nov 2016 17:39:01 UTC

Severity: normal

Merged with 5331

Found in version 25.1

Full log


View this message in rfc822 format

From: Jack Kamm <jackkamm <at> gmail.com>
To: Alan Third <alan <at> idiocy.org>
Cc: 24964 <at> debbugs.gnu.org
Subject: bug#24964: 25.1; Backspace inside term/ansi-term on OSX
Date: Wed, 30 Nov 2016 10:57:37 +0000
[Message part 1 (text/plain, inline)]
Yes, this is the same bug. I think it is due to weird shell initialization
in macOS -- it seems like the setting of erase key in TERMINFO and TERMCAP
gets ignored. For now I just manually set 'stty ek' in my .zshrc/.bashrc if
TERM == eterm-color.

On Sun, Nov 27, 2016 at 4:55 PM, Alan Third <alan <at> idiocy.org> wrote:

> Jack Kamm <jackkamm <at> gmail.com> writes:
>
> > On OSX, interactive programs in multi-term/ansi-term/term will insert
> > the character "^?" instead of doing a backspace.
> >
> > Note that simply typing backspace on the command prompt works
> > fine, it is only inside an interactive program (such as less
> > or vim) that it breaks.
> >
> > To reproduce this, start emacs -Q, start ansi-term,
> > type "echo foobar | less", type "/", start entering some text,
> > and then hit backspace a few times. Instead of deleting
> > the text, it will insert "^?" characters.
>
> This looks like it might be related to bug#5331:
>
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=5331
> --
> Alan Third
>
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.