There's been some talk about needing system administration tools that
work/look better than what we have now. One of the first things I did
back at the {???} release (the first one that had getty/login) was take
the adduser.c program and put some curses stuff into it. I had it
working fairly well, but when my H.D. suddenly went hooters-up I lost
the changes I had made. Since then, I've learned the importance of
having a "backup: Makefile $(PROGS) $(HDRS) $(DOCS)" line your makefile.
:-) Some things around here even have all depending on backup! :-) :-)
Well, I guess I ought to get off my *and rewrite it again. I have
some better ideas now than what I used before. It might even be user
friendly (gasp!) We've also got better tools than we had back then.
"Thanks!!!" to Linus, HLU, and everyone else I've left out.
I've been playing with ncurses to the point where it's mostly working.
I will have #ifdef's in the adduser code for both the regular curses and
ncurses (with the Nifty-Neato-Keen (tm) 'keypad()' function). Right
now I think I'm having problems with the printf and scanf gizzies. I'm
not sure I'm calling a foo(stuff, ...) function from a bar(stuff, ...)
function properly. The ncurses test program isn't work right, anyway.
Maybe I should have foo() call bar()... :-)
I need the keypad() stuff for some programs I'm trying to port and some
others I'm trying to write. I know others are working on a new curses
package as well, but I couldn't wait. (hehehe)
TTYL,
Pete C.
+----------------------------------------------------------------------+
+----------------------------------------------------------------------+