[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console and console-client patches

From: Marcus Brinkmann
Subject: Re: Console and console-client patches
Date: Thu, 1 May 2003 19:32:40 +0200
User-agent: Mutt/1.5.3i

On Tue, Apr 29, 2003 at 09:58:10PM +0200, M. Gerards wrote:
> Hi,
> The first part of the patch, a patch for the console server, makes the width,
> height and the number of scrollback lines configurable. The second part, a 
> patch
> for the vga driver for the console client calculates the height of the display
> instead of using the constant 25, this is usefull when using a small font. (Or
> when using svgatextmode after it has been ported or integrated with the vga
> driver :)).

This is nice, I will have to look it over.  In particular, I am not sure if
you were able to spot every place where I hardcoded the width, I was a bit
sloppy on that one (sorry guys!).  The best thing would be to give this some

Did you test it?  One idea would be to implement support for widths < 80 and
heigths < 25 (or whatever the height is with the font) in the vga client,
which would not be too hard, and the ncurses client (likewise), just by
using the resp part of the upper left corner of the screen, and then test
the smaller sizes (80x10, 40x25, and something like 31x9 :).

For larger sizes than 80x25, one could have a scrolling area that is
actively displayed, however that is more work as I would expect such an
implementation to be generic (any display driver can be made to scroll over
a virtual full size scrolling area).

Also, standard vga modes != 80x25 could be automatically selected to adapt
to the console size.  Implementing support for the couple of standard vga
sizes should be quite easy.  SVGA is a different issue.


`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]