Files
linux/include/linux
Nicolas Pitre d21b0be246 vt: introduce unicode mode for /dev/vcs
Now that the core vt code knows how to preserve unicode values for each
displayed character, it is then possible to let user space access it via
/dev/vcs*.

Unicode characters are presented as 32 bit values in native endianity
via the /dev/vcsu* devices, mimicking the simple /dev/vcs* devices.
Unicode with attributes (similarly to /dev/vcsa*) is not supported at
the moment.

Data is available only as long as the console is in UTF-8 mode. ENODATA
is returned otherwise.

This was tested with the latest development version (to become
version 5.7) of BRLTTY. Amongst other things, this allows ⠋⠕⠗ ⠞⠓⠊⠎
⠃⠗⠁⠊⠇⠇⠑⠀⠞⠑⠭⠞⠀to appear directly on braille displays regardless of the
console font being used.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Dave Mielke <Dave@mielke.cc>
Acked-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-06-28 21:38:12 +09:00
..
…
…
…
…
2018-05-25 18:23:56 +02:00
2018-05-23 14:01:03 +02:00
…
…
2018-06-05 10:48:09 -04:00
2018-06-07 14:23:08 +01:00
…
2018-06-07 17:34:35 -07:00
…
…
…
…
…
…
…
…
2018-05-26 09:16:44 +02:00
…
…
…
2018-06-15 18:10:01 -03:00
…
…
…
…
…
…
…
2018-04-20 17:18:35 -07:00
2018-04-30 13:25:14 +01:00
…
…
…
…
2018-06-14 17:01:45 +02:00
…
…
2018-03-16 10:56:13 +01:00
2018-05-28 17:41:02 +02:00
…
2018-05-09 17:25:13 +02:00
…
…
…
…
…
…
…
…
…
…
2018-06-15 18:10:01 -03:00
2018-03-16 15:45:51 -07:00
…
…
…
…
…
…
…
2018-03-16 10:55:47 +01:00
…
…
…
…
…
…
…
2018-03-26 15:09:38 +02:00
…
…
…
…
…
…
…
…
2018-04-27 14:34:51 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-06-01 07:38:16 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-26 15:56:44 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-06-15 18:10:01 -03:00
…
…
2018-04-26 09:02:01 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-06-07 17:34:37 -07:00
…
…
…
…
…
…
…
…
2018-05-22 13:42:16 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-03-26 08:53:43 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-05-09 12:21:46 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-06-21 17:39:18 +02:00
…
…
2018-04-11 10:28:38 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-12 09:41:19 -07:00
…
…
…
…
…
…
…
…
…
…
2018-06-05 08:50:16 -04:00
2018-06-15 07:55:25 +09:00
2018-06-07 17:34:35 -07:00
…
2018-04-11 10:28:32 -07:00
…
…
…
2018-06-07 17:34:37 -07:00
2018-06-12 16:19:22 -07:00
…
…
…
2018-06-07 17:34:39 -07:00
…
2018-03-26 13:14:43 -04:00
2018-03-26 13:14:43 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-06-01 14:37:35 +02:00
…
…
…
…
…
…
…
…
…
…
…
2018-06-07 17:34:36 -07:00
2018-04-11 10:28:39 -07:00
…
…
…
…
…
…
2018-06-06 16:10:45 -05:00
…
…
2018-05-15 15:51:38 +01:00
…
…
2018-06-07 17:34:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-05-31 00:13:56 +08:00
…
…
…
…
…
…
2018-05-11 17:28:45 -07:00
2018-05-11 17:28:45 -07:00
…
…
…
…
…
…
…
2018-06-04 17:28:20 -04:00
…
…
…
…
…
…
…
2018-03-01 08:33:05 -07:00
…
…
…
…
…
…
…
2018-05-04 12:48:54 -07:00
…
…
…
…
…
2018-04-30 05:14:55 -07:00
…
…
…
…
…
…
…
2018-06-07 17:34:35 -07:00
…
…
…
2018-06-07 17:34:37 -07:00
…
…
…
…
…
…
2018-05-03 15:55:23 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-04-16 14:25:08 -06:00
…
…
…
…
…
…
…
…
…
…
…
2018-05-18 11:40:27 -04:00
…
…
…
…
2018-05-19 13:57:31 +02:00
2018-05-19 13:57:31 +02:00
…
…
…
…
…
…
…
…
…
2018-04-26 15:08:04 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2018-05-14 09:51:34 -04:00
…
…
…
…
…
…
…
…
…
…