niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » OpenBSD
Max tty lines/cols?
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
jKILLSPAM.schipper@math.u
*nix forums Guru Wannabe


Joined: 13 Nov 2005
Posts: 202

PostPosted: Thu Jun 22, 2006 2:19 pm    Post subject: Re: Max tty lines/cols? Reply with quote

?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
Ángel
*nix forums addict


Joined: 24 Mar 2005
Posts: 58

PostPosted: Wed Jun 21, 2006 7:46 pm    Post subject: Re: Max tty lines/cols? Reply with quote

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
dfeustel@mindspring.com
*nix forums addict


Joined: 13 May 2006
Posts: 67

PostPosted: Sun Jun 18, 2006 2:07 pm    Post subject: Re: Max tty lines/cols? Reply with quote

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(Cool; 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
jKILLSPAM.schipper@math.u
*nix forums Guru Wannabe


Joined: 13 Nov 2005
Posts: 202

PostPosted: Sun Jun 18, 2006 11:48 am    Post subject: Re: Max tty lines/cols? Reply with quote

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(Cool; 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

PostPosted: Sat Jun 17, 2006 2:25 pm    Post subject: Max tty lines/cols? Reply with quote

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
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Fri Nov 21, 2008 6:47 am | All times are GMT
navigation Forum index » *nix » BSD » OpenBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts blocking mails with long lines and giberish Dale Blount Postfix 4 Thu Jul 20, 2006 2:31 pm
No new posts Match lines, group and sum FriesAOLE shell 2 Thu Jul 20, 2006 7:40 am
No new posts Reading long lines doesn't work in Python Scott Simpson python 2 Wed Jul 19, 2006 4:25 pm
No new posts joining lines in ksh jctown@nb.sympatico.ca shell 13 Wed Jul 19, 2006 1:28 am
No new posts combine lines bp Perl 1 Tue Jul 18, 2006 11:48 pm

Xbox Mod Chip | Loans | Equity Release | Home Insurance | Loans
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
[ Time: 0.3089s ][ Queries: 20 (0.2072s) ][ GZIP on - Debug on ]