Simon Josefsson <si...@josefsson.org> writes: > Alex Bochannek <a...@bochannek.com> writes: > >> Alex Bochannek <a...@bochannek.com> writes: >> >>> I keep debugging what's going on there. I have found an interesting, >>> platform-dependent behavior in Emacs that may or may not be related to >>> this problem. >> >> I was looking at what Bash and tnftp do when they run in an Emacs >> comint-mode (shell and ange-ftp, respectively) and the below seems to be >> the easiest fix. It's more or less directly copied from tnftp. > > Thanks for debugging -- can you test if what I committed also works? > > https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=ef2060d53581649f6347574b21ecbbdcc0067b8a
I have tested this on macOS 10.14.6 and it works. Thanks! > Having magic environment variables like this is not ideal, but I guess > it already spread to bash and other tools, so it is now a feature. It seems like it's been around for quite a while. I just checked tnftp and the dumbterm check has been in there since at least lukemftp 1.0 in 1999. -- Alex.