To: Andrew Brown <firstname.lastname@example.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Date: 07/01/1997 12:08:11
On Tue, 1 Jul 1997 14:53:21 -0400 (EDT),
>vis a vis your ick, i turned it around and made pcvt (see patch below)
>nudge ddb to the correct size. this became "necessary", since i find
>myself dropping into the debugger more and more frequently now that
>i'm hacking on the tcp stack. :)
> i still
>won't win if the machine panics and i've never manually done the drop.
Add a db_ function to ddb that takes console rows and columns. Add
code, inside #ifdef DDB, to the various console packages, that updates
DDB's idea of the console display size. Call this function whenever
the console screen changes.b (stty size on /dev/console, even.)
The function is, well, just nicer than exposing variable names :).