|
|
|
|
|
|
| Author |
Message |
dfeustel@mindspring.com *nix forums addict
Joined: 13 May 2006
Posts: 67
|
Posted: Sat Jun 17, 2006 2:25 pm Post subject:
Max tty lines/cols?
|
|
|
Now that I'm running (quite happily!) in text
mode only (no X), I'm wondering just what the
is the maximum number of lines and columns
supported by the OpenBSD terminal driver.
I can use ncurses 5.5 now.
Thanks,
Dave Feustel
--
Using OpenBSD with or without X & KDE?
See Dave's OpenBSD | X | KDE corner at
http://dfeustel.home.mindspring.com !!! |
|
| Back to top |
|
 |
jKILLSPAM.schipper@math.u *nix forums Guru Wannabe
Joined: 13 Nov 2005
Posts: 202
|
Posted: Sun Jun 18, 2006 11:48 am Post subject:
Re: Max tty lines/cols?
|
|
|
dfeustel@mindspring.com wrote:
| Quote: | 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.
IIRC, this can be changed by uploading a different (8x8) font via
wsfontload( ; in this way, you can use a 80x50 display. I don't
especially like those fonts, though, and use 80x25 myself.
Different architectures have vastly different text modes; I am not sure
I could help with those, but feel free to ask.
Joachim |
|
| Back to top |
|
 |
dfeustel@mindspring.com *nix forums addict
Joined: 13 May 2006
Posts: 67
|
Posted: Sun Jun 18, 2006 2:07 pm Post subject:
Re: Max tty lines/cols?
|
|
|
jKILLSPAM.schipper@math.uu.nl wrote:
| Quote: | dfeustel@mindspring.com 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.
| Quote: | IIRC, this can be changed by uploading a different (8x8) font via
wsfontload( ; 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.
| Quote: | 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 !!! |
|
| Back to top |
|
 |
Ángel *nix forums addict
Joined: 24 Mar 2005
Posts: 58
|
Posted: Wed Jun 21, 2006 7:46 pm Post subject:
Re: Max tty lines/cols?
|
|
|
dfeustel@mindspring.com wrote:
| Quote: | 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.
|
Wouldn't screen fit the job? Well, unfortunately screen doesn't allow
on to make a vertical division so that one could get horizontal splits
(areas). If it did and I could get something like 160 cols (2x80) then
I would drop X altogether (I run Ion3 now to get several XTerms to fin
on my screen).
--
Saludos,
Ángel |
|
| Back to top |
|
 |
jKILLSPAM.schipper@math.u *nix forums Guru Wannabe
Joined: 13 Nov 2005
Posts: 202
|
Posted: Thu Jun 22, 2006 2:19 pm Post subject:
Re: Max tty lines/cols?
|
|
|
?ngel <angel@hell.es> wrote:
| Quote: | dfeustel@mindspring.com wrote:
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.
Wouldn't screen fit the job? Well, unfortunately screen doesn't allow
on to make a vertical division so that one could get horizontal splits
(areas). If it did and I could get something like 160 cols (2x80) then
I would drop X altogether (I run Ion3 now to get several XTerms to fin
on my screen).
|
I've seen a patch for this feature somewhere on a screen development
list. I did not check if it was actually included in CVS, though.
Joachim |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Tue Dec 02, 2008 3:30 pm | All times are GMT
|
|
Myspace Proxy | Car Finance | Credit Card Consolidation | Auto Loans | MPAA
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|