Re: Max tty lines/cols?
- From: dfeustel@xxxxxxxxxxxxxx
- Date: Sun, 18 Jun 2006 14:07:45 GMT
jKILLSPAM.schipper@xxxxxxxxxx wrote:
dfeustel@xxxxxxxxxxxxxx wrote:
Now that I'm running (quite happily!) in text mode only (no X), I'm
wondering just what is the maximum number of lines and columns
supported by the OpenBSD terminal driver.
I can use ncurses 5.5 now.
tty(4) does not care, I suppose. However, if you are on a PC and using
standard text mode VGA via the the vga(4) driver (see also wscons(4),
wsdisplay(4)), you will be using 80x25 by default.
I am using a PC with a standard video card.
IIRC, this can be changed by uploading a different (8x8) font via
wsfontload(8); in this way, you can use a 80x50 display. I don't
especially like those fonts, though, and use 80x25 myself.
I can definitely live with 80x25, especially if changing that would
require a lot of customization. I like using a stock system.
The reason I am interested in more lines/cols is that I'm running with
a 21" monitor which, when I was using X, displayed 2048x1536. My
impression is that the kernel determines the maximum lines and columns
and that I could use up to that maximum via ncurses. However, I am not
interested in doing that if it means opening up the security hole in the
video card interface. I've been wondering how hard it would be to have
something like a 80 lines by 200 cols character video mode, possibly
implemented in the video card as an alternative to X for hi-res displays.
A character mode windowing system could be built on top of that. Since
it would be a new feature, it (hopefully) could be implemented securely.
Different architectures have vastly different text modes; I am not sure
I could help with those, but feel free to ask.
Joachim
I did notice as I started looking at the man pages for curses, ncurses,
terminfo, etc, that there are many references to /usr/share/terminfo,
a directory that does not exist in 3.9. There also is a reference to
/usr/share/misc/terminfo which does not exist. I have 20-year-old copies
of _Programming with Curses_ and _Reading and Writing Termcap Entries_
but I would rather rely on current OpenBSD man pages as I delve into using
ncurses on OpenBSD.
Dave
--
Using OpenBSD with or without X & KDE?
See Dave's OpenBSD | X | KDE corner at
http://dfeustel.home.mindspring.com !!!
.
- Follow-Ups:
- Re: Max tty lines/cols?
- From: Ángel
- Re: Max tty lines/cols?
- References:
- Max tty lines/cols?
- From: dfeustel
- Re: Max tty lines/cols?
- From: jKILLSPAM . schipper
- Max tty lines/cols?
- Prev by Date: Re: isakmpd-netscreen vpn problem
- Next by Date: Re: Operational Problems with 3.9
- Previous by thread: Re: Max tty lines/cols?
- Next by thread: Re: Max tty lines/cols?
- Index(es):
Relevant Pages
|
|