From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2] curses: resize terminal to fit console size
Date: Thu, 1 May 2008 15:15:31 +0100 [thread overview]
Message-ID: <20080501141531.GP4797@implementation.uk.xensource.com> (raw)
In-Reply-To: <20080501075240.GA7929@tapir>
Carlo Marcelo Arenas Belon, le Thu 01 May 2008 02:52:40 -0500, a écrit :
> @@ -367,6 +372,11 @@
>
> invalidate = 1;
>
> + /* check type of console and if it can be resized */
> + term = getenv("TERM");
> + if (strcmp(term, "linux") == 0) {
> + term_resizable = 0;
> + }
That should be the converse, i.e. check for the terminals you _know_
support it: rxvt*, xterm* at least. There are far more ttys (I mean also
_real_ terminals, not only xterms) that don't support it than ttys that
do.
Samuel
prev parent reply other threads:[~2008-05-01 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 7:52 [Qemu-devel] [PATCH v2] curses: resize terminal to fit console size Carlo Marcelo Arenas Belon
2008-05-01 14:15 ` Samuel Thibault [this message]
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=20080501141531.GP4797@implementation.uk.xensource.com \
--to=samuel.thibault@ens-lyon.org \
--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).