From owner-freebsd-current Mon Apr 22 21:21:19 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA01725 for current-outgoing; Mon, 22 Apr 1996 21:21:19 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA01716 for ; Mon, 22 Apr 1996 21:21:15 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id GAA20182; Tue, 23 Apr 1996 06:21:09 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id GAA06473; Tue, 23 Apr 1996 06:21:09 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id FAA21475; Tue, 23 Apr 1996 05:47:58 +0200 (MET DST) From: J Wunsch Message-Id: <199604230347.FAA21475@uriah.heep.sax.de> Subject: Re: request for a new "feature" as regards DDB To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Tue, 23 Apr 1996 05:47:57 +0200 (MET DST) Cc: scrappy@ki.net (Marc G. Fournier) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Marc G. Fournier" at Apr 22, 96 08:14:33 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)