From: Samuel Thibault <samuel.thibault@gnu.org>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, Eddie Kohler <ekohler@gmail.com>,
kraxel@redhat.com, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding
Date: Mon, 4 Mar 2019 08:08:57 +0100 [thread overview]
Message-ID: <20190304070857.zxgn6qt3wzjxjca4@function> (raw)
In-Reply-To: <87h8cjdtpp.fsf@dusky.pond.sub.org>
Markus Armbruster, le lun. 04 mars 2019 07:44:34 +0100, a ecrit:
> Samuel Thibault <samuel.thibault@ens-lyon.org> 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
next prev parent reply other threads:[~2019-03-04 7:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-03 10:44 [Qemu-devel] [PATCH 0/2] curses: Add support for wide output Samuel Thibault
2019-03-03 10:44 ` [Qemu-devel] [PATCH 1/2] iconv: detect and make curses depend on it Samuel Thibault
2019-03-03 10:44 ` [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding Samuel Thibault
2019-03-04 6:44 ` Markus Armbruster
2019-03-04 7:08 ` Samuel Thibault [this message]
2019-03-04 8:55 ` Markus Armbruster
2019-03-04 8:03 ` Gerd Hoffmann
2019-03-04 8:06 ` Samuel Thibault
2019-03-04 16:56 ` Eddie Kohler
2019-03-04 18:32 ` Eric Blake
-- strict thread matches above, loose matches on Subject: below --
2016-10-30 14:01 [Qemu-devel] [PATCHv2 0/2] curses: use wide output functions Samuel Thibault
2016-10-30 14:01 ` [Qemu-devel] [PATCH 2/2] curses: add option to specify VGA font encoding Samuel Thibault
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190304070857.zxgn6qt3wzjxjca4@function \
--to=samuel.thibault@gnu.org \
--cc=armbru@redhat.com \
--cc=ekohler@gmail.com \
--cc=kraxel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).