From: Mario Lang <mlang@delysid.org>
To: linux-kernel@vger.kernel.org
Subject: /dev/vcs: stuck with dimensions <255?
Date: Tue, 30 Sep 2003 11:06:33 +0200 [thread overview]
Message-ID: <87oex21w86.fsf@lexx.delysid.org> (raw)
Hi.
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...
--
CYa,
Mario
next reply other threads:[~2003-09-30 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 9:06 Mario Lang [this message]
[not found] <BoGf.1UP.11@gated-at.bofh.it>
2004-08-06 14:10 ` 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=87oex21w86.fsf@lexx.delysid.org \
--to=mlang@delysid.org \
--cc=linux-kernel@vger.kernel.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®