qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding
Date: Mon, 04 Mar 2019 09:55:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Samuel Thibault <address@hidden> writes:

> Markus Armbruster, le lun. 04 mars 2019 07:44:34 +0100, a ecrit:
>> Samuel Thibault <address@hidden> 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 close button (default: 
>> > on).
>> >  # @gl:            Enable OpenGL support (default: off).
>> > +# @charset:       Font charset used by guest (default: CP437).
>> 
>> Can you give brief rationale for defaulting to CP437?
>
> I have added to the commit message:
>
>
> The default charset is made CP437 since that is the charset of the
> hardware default VGA font.
>
>
>> > @@ -492,6 +709,10 @@ static void curses_display_init(DisplayState *ds, 
>> > DisplayOptions *opts)
>> >      }
>> >  #endif
>> >  
>> > +    setlocale(LC_CTYPE, "");
>> 
>> General principles: any change to locale deserves prominent mention in
>> the commit message.
>
> I have added to the commit message:
>
>
> This also makes the curses backend set the LC_CTYPE locale to "" to
> allow curses to emit wide characters.
>

Your commit message amendments work for me.  Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]