Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 1996 05:47:57 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        scrappy@ki.net (Marc G. Fournier)
Subject:   Re: request for a new "feature" as regards DDB
Message-ID:  <199604230347.FAA21475@uriah.heep.sax.de>
In-Reply-To: <Pine.NEB.3.93.960422201349.16550E-100000@freebsd.ki.net> from "Marc G. Fournier" at Apr 22, 96 08:14:33 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Marc G. Fournier wrote:

> > > 	So...any way of having an auto-switch to vt0 if the system
> > > crashes with DDB enabled?
> > 
> > Assuming you aren't in X, yes, it's possible.
> >
> 	Is this one of those "do it yourself if you want it" sort
> of "possibles"? *grin*

It's not too easy, since the console drivers don't export the VT
switch functions (or at least, they should not export them), and DDB
provides no hook for the console drivers to be called when DDB is
entered.

Please, don't add another crock, rather implement a generic
``ddb_enter'' (or whatever) hook.

I'm sure Bruce will have an opinion about this, too. :)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604230347.FAA21475>