HomeFreeBSD

(s)tty: add support for IUTF8 input flag

Description

(s)tty: add support for IUTF8 input flag

This patch adds the necessary kernel and stty code to support setting
the IUTF8 flag for ttys. It is the first of two patches that fix
backspace behaviour for UTF-8 encoded characters when in canonical mode.

Reported by: christos
Reviewed by: christos, imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D42066

(cherry picked from commit 128f63cedc14ae21b35f74e11e2fe1a5659c58e8)

Details

Provenance
bnovkovAuthored on Oct 7 2023, 5:59 PM
christosCommitted on Oct 21 2023, 2:34 PM
Reviewer
christos
Differential Revision
D42066: (s)tty: add support for IUTF8 input flag
Parents
rGa861521ac98f: ktrace: Handle uio_resid underflow via MSG_TRUNC
Branches
Unknown
Tags
Unknown