[Bug 233624] SSH got closed when enterying non-ASCII characters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 29 14:16:59 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233624

Yuri Pankov <yuripv at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles at FreeBSD.org

--- Comment #5 from Yuri Pankov <yuripv at FreeBSD.org> ---
Thanks, reproduced.  The obvious "workaround" here is setting LANG and
MM_CHARSET using ~/.login_conf (or /etc/login.conf, see 22.2.1 in
https://www.freebsd.org/doc/handbook/using-localization.html).

For the problem itself, I'm seeing the same on 12.0-RC2, but not on
13.0-CURRENT (as of 20181126); setting LANG in ~/.shrc shows the same problem. 
I'm not sure whether this is a bug per se, or what has exactly "fixed" it in
-CURRENT.

To sum up, the problem is:

- have /bin/sh as login shell
- don't have any locale customizations, so that you have "C" everywhere in
locale(1) output
- try to input/paste multibyte character; BEL is echoed back; no output
- do: LC_ALL=en_US.UTF-8; export LC_ALL (or put it in ~/.shrc)
- try to input/paste multibyte character; connection is closed.

May be Jilles could have some ideas on what has changed?

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


More information about the freebsd-bugs mailing list