Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Eric Blake
On 3/4/19 10:56 AM, Eddie Kohler wrote: Another difference is that Samuel's patch supports platforms on which wchar_t is not Unicode. I don't know if there are many/any such platforms but it does support them! I know Cygwin is such a platform, and suspect that mingw is too (although I didn't

Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Eddie Kohler
Another difference is that Samuel's patch supports platforms on which wchar_t is not Unicode. I don't know if there are many/any such platforms but it does support them! On Mon, Mar 4, 2019 at 3:14 AM Samuel Thibault wrote: > Gerd Hoffmann, le lun. 04 mars 2019 09:03:38 +0100, a ecrit: > > On

Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Markus Armbruster
Samuel Thibault writes: > Markus Armbruster, le lun. 04 mars 2019 07:44:34 +0100, a ecrit: >> Samuel Thibault writes: >> > --- a/qapi/ui.json >> > +++ b/qapi/ui.json >> > @@ -1131,6 +1131,7 @@ >> > # @full-screen: Start user interface in fullscreen mode (default: off). >> > # @window-close:

Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Gerd Hoffmann
On Sun, Mar 03, 2019 at 11:44:30AM +0100, Samuel Thibault wrote: > This uses iconv to convert glyphs from the specified VGA font encoding to > unicode, and makes use of cchar_t instead of chtype when using ncursesw, > which allows to store all wide char as well as the WACS values. > >

Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-04 Thread Samuel Thibault
Gerd Hoffmann, le lun. 04 mars 2019 09:03:38 +0100, a ecrit: > On Sun, Mar 03, 2019 at 11:44:30AM +0100, Samuel Thibault wrote: > > This uses iconv to convert glyphs from the specified VGA font encoding to > > unicode, and makes use of cchar_t instead of chtype when using ncursesw, > > which

Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-03 Thread Samuel Thibault
Markus Armbruster, le lun. 04 mars 2019 07:44:34 +0100, a ecrit: > Samuel Thibault writes: > > --- a/qapi/ui.json > > +++ b/qapi/ui.json > > @@ -1131,6 +1131,7 @@ > > # @full-screen: Start user interface in fullscreen mode (default: off). > > # @window-close: Allow to quit qemu with window

Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-03 Thread Markus Armbruster
Samuel Thibault writes: > This uses iconv to convert glyphs from the specified VGA font encoding to > unicode, and makes use of cchar_t instead of chtype when using ncursesw, > which allows to store all wide char as well as the WACS values. > > Signed-off-by: Samuel Thibault > Cc: Eddie Kohler

[Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2019-03-03 Thread Samuel Thibault
This uses iconv to convert glyphs from the specified VGA font encoding to unicode, and makes use of cchar_t instead of chtype when using ncursesw, which allows to store all wide char as well as the WACS values. Signed-off-by: Samuel Thibault Cc: Eddie Kohler --- configure | 5 +-

[Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding

2016-10-30 Thread Samuel Thibault
This uses iconv to convert glyphs from the specified VGA font encoding to unicode, and makes use of cchar_t instead of chtype when using ncursesw, which allows to store all wide char as well as the WACS values. Signed-off-by: Samuel Thibault --- configure