unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jack Kamm <jackkamm@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 24964@debbugs.gnu.org
Subject: bug#24964: 25.1; Backspace inside term/ansi-term on OSX
Date: Wed, 30 Nov 2016 10:57:37 +0000	[thread overview]
Message-ID: <CADRALHyRrHOgd6+mgmVZCmAEoXb97910sJoEChCPzsHTykuNkQ@mail.gmail.com> (raw)
In-Reply-To: <m2inr8j20x.fsf@breton.holly.idiocy.org>

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

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@idiocy.org> wrote:

> Jack Kamm <jackkamm@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
>

[-- Attachment #2: Type: text/html, Size: 1651 bytes --]

      reply	other threads:[~2016-11-30 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 16:35 bug#24964: 25.1; Backspace inside term/ansi-term on OSX Jack Kamm
2016-11-27 16:55 ` Alan Third
2016-11-30 10:57   ` Jack Kamm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADRALHyRrHOgd6+mgmVZCmAEoXb97910sJoEChCPzsHTykuNkQ@mail.gmail.com \
    --to=jackkamm@gmail.com \
    --cc=24964@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).