This is a HOWTO I wrote for the LDP but then never fully pushed for publication. It's a little out-of-date -- how many people still use dselect? -- and a lot of things need to be rewritten, but I never got to it. In case any of it is any use to you, it can be found in html. The source is available in src.