Hi Xianwen Chen,

Xianwen Chen wrote on Sat, Feb 10, 2018 at 10:41:19PM +0000:

> I use C shell, csh. When I change the shell to Bourne shell, sh,

On OpenBSD, sh(1) is not a Bourne shell, but the same binary
as ksh(1), a Korn shell, which is reasonably POSIX-compatible
with various extensions.  You can see that with ls -i.

> I am able to type [non-ASCII characters].
> 
> Could you check whether you can reproduce my problem by
> entering csh and typing [non-ASCII characters].

Some time ago, i hacked into ksh(1) and added minimal UTF-8 support
to both emacs and vi input mode, with very little disruption to the
existing code base.  I didn't bother to do anything similar for csh(1);
whatever Theo may say, it is not a very modern shell IMHO...  ;)

I did not test, but i would be very surprised if csh(1) were able
to work sensibly with UTF-8 input.  Of course, i wouldn't object
to similar work being done in csh(1).

> I think I would like to file a bug report.

Please don't, it is already well-known that no UTF-8 support was
added to OpenBSD csh(1).

Yours,
  Ingo

Reply via email to