mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Mario Lang <mlang@delysid.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: /dev/vcs: stuck with dimensions <255?
Date: Fri, 6 Aug 2004 16:10:07 +0200	[thread overview]
Message-ID: <20040806141007.GF3663@bouh.is-a-geek.org> (raw)
In-Reply-To: <BoGf.1UP.11@gated-at.bofh.it>

Le mar 30 sep 2003 à 11:10:11 +0200, Mario Lang a tapoté sur son clavier :
> I just realized, that /dev/vcsa behaviour is broken when
> used with lines or columns more than 255.  I can easily
> get this behaviour by using the built-in 4x6 font on a
> 1024xsomething resolution.  That results in 256 columns.  However,
> the vcs devices expose dimensions and cursor position in the first
> 4 bytes.
> 
> My question is now:  Are we stuck with this now?  I found that
> it is at least possible to use TIOCGWINSZ on the corresponding
> /dev/tty%d device to get correct dimensions, but then again, how
> would I optain the cursor position?
> 
> I am wondering why a char was choosen at all.  I see no gain
> by "saving" space there...

Well, vcsa was added a long time ago, I guess such dimensions weren't
possible at that time.

Of course we aren't stuck: we just need to add /dev/vcsx* which would
hold 32-bits integers, hoping this is sufficient once for all...

Regards,
Samuel

       reply	other threads:[~2004-08-06 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BoGf.1UP.11@gated-at.bofh.it>
2004-08-06 14:10 ` Samuel Thibault [this message]
2003-09-30  9:06 Mario Lang

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=20040806141007.GF3663@bouh.is-a-geek.org \
    --to=samuel.thibault@ens-lyon.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mlang@delysid.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

all inboxes | Powered by JetHome®