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)
Approved by: re (gjb)

Details

Provenance
bnovkovAuthored on Oct 7 2023, 5:59 PM
christosCommitted on Oct 22 2023, 11:56 AM
Reviewer
christos
Differential Revision
D42066: (s)tty: add support for IUTF8 input flag
Parents
rGbc417deae52a: Fix intermittency in the sys.fs.fusefs.mknod.main test
Branches
Unknown
Tags
Unknown