]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
(s)tty: add support for IUTF8 input flag
authorBojan Novković <bojan.novkovic@fer.hr>
Sat, 7 Oct 2023 17:59:57 +0000 (20:59 +0300)
committerChristos Margiolis <christos@FreeBSD.org>
Sat, 7 Oct 2023 17:59:57 +0000 (20:59 +0300)
commit128f63cedc14ae21b35f74e11e2fe1a5659c58e8
treeefac586e64de71c28aae61ee4b155267e32cdac7
parent662ec2f781521c36b76af748d74bb0a3c2e27a76
(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
bin/stty/modes.c
bin/stty/print.c
bin/stty/stty.1
share/man/man4/termios.4
sys/kern/tty.c
sys/sys/_termios.h