From: <dig...@ya...> - 2000-12-26 19:03:15
|
Hi gang, I'm working on C version of LinuxCall and I need help ... :) No, the code isn't difficult, but big! Well, I'm working on ""kernel"" of software, the dial process, (including fork as root, pppd, chat, logs, dns, etc ...) and I need help with others parts of project: * Config File management (read and write the configuration file) * Text-based Interface (Possible in curses or Newt) * Modem access ... (Marcelo ??? :))) * Graphical versions of interface (me ... :P) * Internacionalization A small explain about all parts. :P *** Config File management *** Basically, open the configuration file, when the program starts, and read the configuration values. If "string_y" found, flag_y = 1; :) The ISP are storage in a linked list, based on this struct: struct _isp { char *string; char *phones; char *name; char *dns1; char *dns2; int redial; int wait; int debug; struct _isp *next; /* Linked lists ... */ } typedef struct _isp Isp; /* To simplify :P */ ----------------------------------------------- [ cut ] The configuration file have a GLOBAL section too. In this section, are storage all global values (path of pppd and chat, modem init string, etc), and I create an struct for the GLOBAL section too: struct _global { char *pppd_path; char *chat_path; char *modem_path; char *modem_speed; char *init_string; char mode; /* 'T'one or 'P'ulse */ int loop; /* redials ... */ int debug; } global; ----------------------------------------- [ cut ] Well, if you choice work on 'File managemment', tell me, because I have some functions in this area ... :) *** Text-based interface *** ncurses or newt ??? That's the question ... :PPP I have a little experience in curses but, after tests with newt, is preferred use of this ... Newt was designed just for this (configuration wizards), and is very easy... I don't have any source of example. If you choice this option, you decided all ... :) Alex Borro, in bash script and dialog did create an configuration wizard (text-based). The look-and-feel is cool ... :P can to serv of base ... *** Modem access *** Marcelo ??? Do you can work on modem access ??? :) You have experience on this ... :) (Gang, see the module 'modem.c' developed by Marcelo) I'm waiting for you answer ... :P *** Graphical interfaces *** Ah ... the graphical interfaces ... my specialty :P Ok. I choice this option too ... :) but, if somebody desire help me, thanks ... :) *** Internacionalization *** Well, all sources of LinuxCall are in english ... :) maybe some comments no :P, but all strings and user-messages are in english. Versions for others languages overtime obtained, with the potfiles ... (yes, including portuguese version). BUT, I don't have many informations about software internacionalization, and I have many difficulties with this part ... volunteers ??? :) ----------------------------- [ cut ] Gang, this TODO list have an objective: to accelerate development of LinuxCall in pure C ... If you choice an big option, divide this option between 2 or more programmers. Again, excuse-me, BECAUSE my enlish REALY isn't very good... :))) []'s André Casteliano __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ |