From owner-freebsd-current  Thu Oct  2 07:56:22 1997
Return-Path: <owner-freebsd-current>
Received: (from root@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id HAA00118
          for current-outgoing; Thu, 2 Oct 1997 07:56:22 -0700 (PDT)
Received: from bmccane.uit.net (bmccane.uit.net [209.83.205.48])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA29924
          for <freebsd-current@FreeBSD.ORG>; Thu, 2 Oct 1997 07:55:13 -0700 (PDT)
Received: (from root@localhost)
	by bmccane.uit.net (8.8.7/8.8.5) id JAA15160;
	Thu, 2 Oct 1997 09:51:07 -0500 (CDT)
Date: Thu, 2 Oct 1997 09:51:07 -0500 (CDT)
From: Wm Brian McCane <root@bmccane.uit.net>
To: Brandon Gillespie <brandon@roguetrader.com>
cc: freebsd-current@FreeBSD.ORG
Subject: Re: new command: doconfig 
In-Reply-To: <Pine.BSF.3.96.971001161834.28587B-100000@roguetrader.com>
Message-ID: <Pine.BSF.3.91.971002094833.14696A-100000@bmccane.uit.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-current@FreeBSD.ORG
X-Loop: FreeBSD.org
Precedence: bulk

Brandon,
	You might look at my program `kc'.  It is a simple curses based 
kernel configuration tool.  If you copy `GENERIC' to your new name, and 
then run `kc <newname>', it gives a fairly simple point and click 
interface.  You can get it via FTP:

	$ fetch ftp://bmccane.uit.net/pub/kc/kc1.1.tgz

a current configuration file is in:

	$ fetch ftp://bmccane.uit.net/pub/kc/options.list.Z

    brian

+-------------------------------------+----------------------------------------+
He rides a cycle of mighty days, and   \  Wm Brian and Lori McCane
he represents the last great schizm     \  McCane Consulting
among the gods. Evil though he obviously \  root@bmccane.uit.net
is, he is a mighty figure, this father of \  http://bmccane.uit.net/
my spirit, and I respect him as the sons   \  http://bmccane.uit.net/~pictures/
of old did the fathers of their bodies.     \  http://bmccane.uit.net/~bmccane/
    Roger Zelazny - "Lord of Light"          \  http://bmccane.uit.net/~bbs/
+---------------------------------------------+--------------------------------+

On Wed, 1 Oct 1997, Brandon Gillespie wrote:

> On Wed, 1 Oct 1997, Jordan K. Hubbard wrote:
> > > I would like to add this as a new command to FreeBSD.  I mentioned it a
> > > few months back when I originally wrote it, and received positive
> > > responses about it.  This command derives from a similar command in
> > > Digital Unix.  'doconfig' is basically a simplifier for kernel compiling,
> > > by wrapping 'vi /sys/i386/conf/MINE; config; cd ../../compile/MINE; make
> > > depend; make; make install; reboot' or whatnot into a simpler, nicer
> > > interface.. For instance, I just recompiled my kernel with (the GLACIER
> > > config file already existed): 
> > 
> > My only problem with this is that it didn't go far enough.  Yes, it
> > front-ends a few steps, but only a few of the ones you'd expect in a
> > configuration front-end tool.
> > 
> > It should also build the configuration file through a complete
> > interactive Q&A process if you don't have one.
> 
> I agree :)
> 
> The only reason I didn't do it, was because I've never been able to find
> out if anybody is working on this already...  If not, then perhaps we can
> make one.  I have a few ideas on various modular ways this could be
> implemented.
> 
> As it is right now, 'doconfig' actually runs an external program to
> 'auto-generate' the initial file.  The external program does nothing other
> than sed the GENERIC kernel, but only because of the above reasons.
> 
> So I guess the question is, what is there right now for auto generating a
> kernel config file?
>  
> -Brandon
> 
>