Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 May 2020 08:40:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243807] CURRENT libedit breaks emacs tramp-mode
Message-ID:  <bug-243807-227-kUkHYeXvZR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243807-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243807-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243807

Yuichiro NAITO <naito.yuichiro@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |naito.yuichiro@gmail.com

--- Comment #3 from Yuichiro NAITO <naito.yuichiro@gmail.com> ---
Hi, this PR insterests to me.

In my additional investigation, NetBSD doesn't have this problem,
because -E option of /bin/sh is not enabled by default.
So NetBSD's /bin/sh doesn't enter edit mode.
The -E option is enabled by default on FreeBSD.

I think emacs should execute "set +E" just before
"stty -inlcr -onlcr -echo kill '^U' erase '^H'".
I believe this will solve this problem.

I'm afraid that changing ~/.editrc affects to another /bin/sh processes
which are created while tramp-mode is running.

Some users are really running /bin/sh as a login shell.
If they run tramp-mode and login to the same server, they will be confused.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243807-227-kUkHYeXvZR>