Sean Bright
36465a4ceb
asterisk.c: Allow multi-byte characters on the Asterisk CLI.
...
Versions of libedit that support Unicode expect that the
EL_GETCFN (the function that does character I/O) will fill in a
`wchar_t` with a character, which may be multi-byte. The built-in
function that libedit provides, but does not expose with a public API,
does properly handle multi-byte sequences.
Due to the design of Asterisk's console processing loop, Asterisk
provides its own implementation which does not handle multi-byte
characters. Changing Asterisk to use libedit's built-in function would
be ideal, but would also require changing some fundamental things
about console processing which could be fairly disruptive.
Instead, we bring in libedit's `read_char` implementation and modify
it to suit our specific needs.
Resolves : #60
2026-01-05 14:46:21 +00:00
..
2025-02-20 21:46:27 +00:00
2025-12-03 13:58:26 +00:00
2025-02-20 21:46:27 +00:00
2025-02-20 21:46:27 +00:00
2024-06-24 15:34:09 +00:00
2025-02-20 21:46:27 +00:00
2023-12-08 13:11:48 +00:00
2023-04-03 07:13:57 -05:00
2025-02-20 21:46:27 +00:00
2023-12-08 13:11:48 +00:00
2026-01-05 14:46:21 +00:00
2020-06-02 11:35:07 -05:00
2024-09-25 18:27:15 +00:00
2025-02-20 21:46:27 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:27 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2025-09-11 14:47:32 +00:00
2024-09-09 23:17:15 +00:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2025-11-12 22:10:44 +00:00
2025-02-20 21:46:27 +00:00
2021-12-02 15:02:09 -06:00
2025-08-15 15:59:23 +00:00
2025-01-16 15:32:48 +00:00
2025-02-20 21:46:27 +00:00
2025-12-01 14:05:53 +00:00
2025-08-06 15:37:46 +00:00
2025-08-11 13:52:24 +00:00
2025-12-09 17:04:07 +00:00
2025-10-20 13:22:48 +00:00
2025-12-01 14:05:53 +00:00
2025-11-12 21:27:16 +00:00
2025-12-01 15:33:54 +00:00
2025-07-01 14:02:33 +00:00
2025-11-12 21:27:16 +00:00
2025-11-12 21:27:16 +00:00
2025-07-30 15:59:21 +00:00
2023-09-22 16:10:05 +00:00
2024-02-12 18:46:27 +00:00
2025-10-02 14:43:01 +00:00
2025-07-30 15:38:25 +00:00
2022-03-23 17:13:03 -05:00
2025-12-01 14:05:53 +00:00
2025-12-01 14:05:53 +00:00
2021-12-02 15:02:09 -06:00
2020-04-15 13:56:40 -05:00
2022-07-07 08:19:14 -05:00
2025-02-20 21:46:27 +00:00
2025-10-22 15:47:14 +00:00
2025-12-29 19:37:31 +00:00
2024-09-05 16:32:22 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 10:37:38 -06:00
2020-04-28 13:05:55 -05:00
2025-02-20 21:46:27 +00:00
2024-10-10 15:34:25 +00:00
2025-10-02 14:44:40 +00:00
2026-01-05 14:46:21 +00:00
2026-01-05 14:46:21 +00:00
2025-12-09 19:39:09 +00:00
2025-02-20 21:46:27 +00:00
2024-08-12 15:21:31 +00:00
2025-02-20 21:46:27 +00:00
2025-09-22 17:39:09 +00:00
2025-08-11 13:53:16 +00:00
2025-02-20 21:46:27 +00:00
2024-02-12 18:46:27 +00:00
2021-12-02 15:02:09 -06:00
2021-01-04 05:00:58 -06:00
2024-02-12 18:46:27 +00:00
2025-05-20 13:54:02 +00:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2025-12-29 18:01:44 +00:00
2024-02-12 18:46:27 +00:00
2024-02-12 18:46:27 +00:00
2021-12-02 15:02:09 -06:00
2025-10-28 12:44:26 +00:00
2025-04-02 12:16:35 +00:00
2025-07-30 15:59:21 +00:00
2025-01-29 14:17:54 +00:00
2020-10-02 12:58:18 -05:00
2025-01-29 14:17:54 +00:00
2025-01-23 17:39:01 +00:00
2025-05-07 16:48:16 +00:00
2025-01-29 14:17:54 +00:00
2025-10-20 13:22:48 +00:00
2025-02-20 21:46:27 +00:00
2025-01-29 14:17:54 +00:00
2025-12-04 13:05:44 +00:00
2025-04-21 13:29:27 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:27 +00:00
2021-12-02 15:02:09 -06:00
2025-01-29 14:17:54 +00:00
2021-12-02 10:37:38 -06:00
2025-07-30 15:59:21 +00:00
2025-02-20 21:46:27 +00:00
2025-09-04 15:03:40 +00:00
2025-02-20 21:46:27 +00:00
2021-12-02 15:02:09 -06:00
2021-08-06 09:04:28 -05:00
2021-12-02 15:02:09 -06:00
2025-09-11 12:31:35 +00:00
2025-11-19 17:19:45 +00:00
2025-02-20 21:46:27 +00:00
2025-07-30 15:59:21 +00:00
2025-01-29 14:17:54 +00:00
2025-02-11 22:05:40 +00:00
2025-09-11 14:08:00 +00:00
2025-02-20 21:46:27 +00:00
2022-01-21 10:06:57 -06:00
2025-01-29 14:17:54 +00:00
2025-09-16 17:21:23 +00:00
2025-09-16 17:21:23 +00:00
2021-12-02 15:02:09 -06:00
2012-10-11 15:49:02 +00:00
2021-11-15 17:33:27 -06:00
2025-09-30 13:50:30 +00:00
2021-12-02 15:02:09 -06:00
2025-03-07 16:53:11 +00:00
2021-11-18 14:46:42 -06:00
2025-10-20 13:22:48 +00:00
2025-01-29 14:17:54 +00:00
2025-10-13 15:34:12 +00:00
2023-06-09 18:19:49 +00:00
2022-05-09 08:20:46 -05:00
2025-01-29 14:17:54 +00:00
2025-11-12 22:22:05 +00:00
2020-05-08 13:44:08 -05:00
2024-10-17 15:20:36 +00:00
2025-06-02 16:35:27 +00:00
2025-02-20 21:46:27 +00:00
2025-12-16 17:03:43 +00:00
2025-12-04 16:13:02 +00:00
2025-04-21 13:29:27 +00:00
2021-12-02 15:02:09 -06:00
2021-09-08 19:10:54 -05:00
2025-01-02 14:52:12 +00:00
2025-12-04 16:13:02 +00:00
2022-03-24 12:00:58 -05:00
2024-02-28 13:03:19 +00:00
2025-02-20 21:46:27 +00:00
2023-11-14 20:51:34 +00:00
2023-03-01 09:49:39 -06:00
2025-08-20 15:33:35 +00:00
2021-12-02 15:02:09 -06:00
2025-02-20 21:46:27 +00:00
2025-08-15 16:48:12 +00:00