GNU bug report logs - #28500
25.3; shell mode starts echoing command

Previous Next

Package: emacs;

Reported by: barry <at> python.org (Barry A. Warsaw)

Date: Mon, 18 Sep 2017 15:48:02 UTC

Severity: normal

Found in version 25.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Barry Warsaw <barry <at> python.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 28500 <at> debbugs.gnu.org, Mike Kupfer <mkupfer <at> alum.berkeley.edu>
Subject: Re: bug#28500: 25.3; shell mode starts echoing command
Date: Tue, 19 Sep 2017 10:49:26 -0400
[Message part 1 (text/plain, inline)]
On Sep 19, 2017, at 09:36, Andreas Schwab <schwab <at> suse.de> wrote:

> $ stty; openssl aes-256-cbc -in foo.txt -out foo.text.enc; stty

Thanks, that’s exactly the clue I needed.

% stty
speed 9600 baud;
lflags: -echo echoe echoke echoctl
oflags: -oxtabs
cflags: cs8 -parenb
% sqlite3
SQLite version 3.16.0 2016-11-04 19:09:39
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .exit
.exit
% stty
stty
speed 9600 baud;
lflags: echoe echoke echoctl
oflags: -oxtabs
cflags: cs8 -parenb
% stty -echo
stty -echo
|resist=|@resist[~:1020]% ls
Applications/	Library/	Sites/

Notice that -echo gets lost when exiting sqlite3.  Setting -echo explicitly fixes the problem.  So not a bug per se in Emacs, although I wonder if a coming-output-filter-function could be added to do the fix until the offending processes themselves are fixed?

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 7 years and 244 days ago.

Previous Next


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