Subject: Re: debugger on non-normal consoles...
To: None <mikel@shore.net>
From: Andrew Brown <codewarrior@daemon.org>
List: tech-kern
Date: 06/26/1997 14:52:54
>>i'm running on an i386 (so perhaps i'm biased) but i can run the
>>console in any of 25, 28, 40 and 50 lines, with 80 or 132 columns.
>>how easy would it be to make ddb automatically pick these from the
>>pcvt console driver and use then instead of the default 18 and 50?
>
>Ick!  DDB is MI code; it should never try to access MD code like
>pcvt.  A far better suggestion would be to add function(s) to the MI
>console interface to return the size of the console, if they don't
>already exist.

granted.  easily.  :)

so...would one add a "getconsolesize()" or the like to each
architecture's machdep.c?  or is there a "better" way?

-- 
|-----< "CODE WARRIOR" >-----|
andrew@echonyc.com (TheMan)        * "ah!  i see you have the internet
codewarrior@daemon.org                               that goes *ping*!"
warfare@graffiti.com      * "information is power -- share the wealth."