Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2002 14:21:30 +0100
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        pdfardy@mac.com, current@freebsd.org, stable@freebsd.org
Subject:   Re: Junior Annoying Hacker Task
Message-ID:  <20020203142130.08333347.flynn@energyhq.homeip.net>
In-Reply-To: <3C5BCDAE.22E25BAA@mindspring.com>
References:  <5F46C986-16DB-11D6-8CEC-00039359034A@mac.com> <3C5B3225.F04B9B18@mindspring.com> <20020202120725.A32535@energyhq.homeip.net> <3C5BCDAE.22E25BAA@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 02 Feb 2002 03:29:50 -0800
Terry Lambert <tlambert2@mindspring.com> wrote:

Hi Terry et al,

> Let me know the form you want the hierarchy to take, so
> you can stick it into the GTK hierarchy thingy; I'll be
> happy to crank out some quick yacc and lex code to do
> the parsing of the file into that format for you.  A
> structure definition, with links, and how you want it
> linked, would be ideal.  8-).

I've been thinking about it and I'd like to provide two frontends, a GTK one and a ncurses one, what do you think?

> 
> Something like:
> 
> 	typedef enum _nodekind {
> 		NK_VALUE,		/* Path component */
> 		NK_KEY,			/* Key */

> [.....]
> 			struct node *child;
> 			int intval;
> 			char *strval;
> 			struct wcval *wcval;
> 		} u;
> 	};
> 

It looks fine to me.

Is your idea to manage rc.conf from there or maybe sysctl variables could be added too (once a working version of the rc.conf thing is made, of course).

Cheers,

-- 
        Miguel Mendez - flynn@energyhq.homeip.net
        Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://energyhq.homeip.net
        FreeBSD - The power to serve!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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