mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* /dev/vcs: stuck with dimensions <255?
@ 2003-09-30  9:06 Mario Lang
  0 siblings, 0 replies; 2+ messages in thread
From: Mario Lang @ 2003-09-30  9:06 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <BoGf.1UP.11@gated-at.bofh.it>]

end of thread, other threads:[~2004-08-06 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-30  9:06 /dev/vcs: stuck with dimensions <255? Mario Lang
     [not found] <BoGf.1UP.11@gated-at.bofh.it>
2004-08-06 14:10 ` Samuel Thibault

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®