GNU bug report logs - #5331
Term mode doesn't set tty erase

Previous Next

Package: emacs;

Reported by: Scott Bell <sctb <at> me.com>

Date: Wed, 6 Jan 2010 23:57:03 UTC

Severity: normal

Merged with 24964

Found in version 25.1

Full log


Message #8 received at 5331 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Scott Bell <sctb <at> me.com>
Cc: 5331 <at> debbugs.gnu.org
Subject: Re: bug#5331: Term mode doesn't set tty erase
Date: Thu, 7 Jan 2010 00:27:37 -0800 (PST)
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?





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

Previous Next


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