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: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding
Date: Mon, 4 Mar 2019 08:08:57 +0100
User-agent: NeoMutt/20170113 (1.7.2)

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.
”

Samuel



reply via email to

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