All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: qemu-devel@nongnu.org, kraxel@redhat.com, pbonzini@redhat.com,
	berrange@redhat.com, peter.maydell@linaro.org, mjt@tls.msk.ru
Subject: Re: [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding
Date: Thu, 23 Jun 2016 09:34:03 +0200	[thread overview]
Message-ID: <87inx0740k.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <1466634202-24616-5-git-send-email-samuel.thibault@ens-lyon.org> (Samuel Thibault's message of "Thu, 23 Jun 2016 00:23:21 +0200")

Samuel Thibault <samuel.thibault@ens-lyon.org> writes:

> This detects and uses iconv to convert glyphs from the specified VGA font
> encoding to unicode.
>
> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
[...]
> diff --git a/qemu-options.hx b/qemu-options.hx
> index ce535a9..2187886 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -321,6 +321,26 @@ The default is @code{en-us}.
>  ETEXI
>  
>  
> +DEF("f", HAS_ARG, QEMU_OPTION_f,
> +    "-f encoding     use font encoding (for example 'CP850' for IBM CP850 encoding)\n",
> +    QEMU_ARCH_ALL)
> +STEXI
> +@item -h @var{encoding}
> +@findex -h
> +Use font encoding @var{encoding} (for example @code{CP850} for
> +IBM CP/850 encoding). This option is only needed where output is text-only, i.e.
> +with the curses display, to convert from text-mode output from the guest to
> +proper text glyphs.
> +
> +The available encoding are provided by the libc, the full list can be obtained by
> +@example
> +iconv -l
> +@end example
> +
> +The default is @code{CP437}.
> +ETEXI
> +
> +

Since this option applies only to the curses display, it should be a
-display curses parameter, like this: -display curses,charset=CP850.

>  DEF("audio-help", 0, QEMU_OPTION_audio_help,
>      "-audio-help     print list of audio drivers and their options\n",
>      QEMU_ARCH_ALL)
[...]

  reply	other threads:[~2016-06-23  7:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-22 22:23 [Qemu-devel] [PATCH 0/5] curses: wide character support Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 1/5] curses: fix left/right arrow translation Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 2/5] curses: Use cursesw when available Samuel Thibault
2016-06-23  7:29   ` Gerd Hoffmann
2016-06-22 22:23 ` [Qemu-devel] [PATCH 3/5] curses: use wide output functions Samuel Thibault
2016-06-22 22:23 ` [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding Samuel Thibault
2016-06-23  7:34   ` Markus Armbruster [this message]
2016-06-22 22:23 ` [Qemu-devel] [PATCH 5/5] curses: support wide input Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2016-10-15 19:53 [Qemu-devel] [PATCH 0/5] curses: wide character support Samuel Thibault
2016-10-15 19:53 ` [Qemu-devel] [PATCH 4/5] curses: add option to specify VGA font encoding Samuel Thibault
2016-10-15 21:07   ` Paolo Bonzini
2016-10-25 23:16   ` 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=87inx0740k.fsf@dusky.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=samuel.thibault@ens-lyon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.