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/ |
From: Marcelo B. <md...@ma...> - 2000-12-27 01:43:14
|
---[ printf("Em ter, 26 dez 2000, Andr=E9 Casteliano escreveu"); ]--- # *** Text-based interface ***=20 #=20 # ncurses or newt ??? That's the question ... :PPP #=20 # I have a little experience in curses but, after tests # with newt, is preferred use of this ... #=20 # Newt was designed just for this (configuration # wizards), and is very easy... #=20 # I don't have any source of example. If you choice this # option, you decided all ... :) Andr=E9, se n=E3o me engano eu tinha mandado uns fontes e um tutorial de newt (alias, o =FAnico tutorial de que eu tenho noticia :( sobre newt. Voce tem eles ainda? Quer que eu envie novamente? # 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 ... Exatamente, o look and feel =E9 bem semelhante. E muito mais pratico de implementar do que com ncurses. # *** Modem access ***=20 #=20 # Marcelo ??? Do you can work on modem access ??? :) You # have experience on this ... :) #=20 # (Gang, see the module 'modem.c' developed by Marcelo) #=20 # I'm waiting for you answer ... :P Ok Andr=E9. H=E1 um tempo atr=E1s eu enviei pra lista (ou coloquei apenas no cvs? n=E3o lembro direito :) uma nova vers=E3o do modem.c com mais algumas fun=E7=F5es implementadas. Tem mais coisas pra implementar ainda, mas at=E9 a semana que vem n=E3o prometo nada de novo, as coisas t=E3o me= io corridas, fim de ano e coisa e tal. Enquanto o resto n=E3o sai, d=E1 uma olhada nessa ultima (vou enviar novamente pra lista). Qualquer coisa d=E1 um toque. # *** Internacionalization ***=20 #=20 # 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). #=20 # BUT, I don't have many informations about software # internacionalization, and I have many difficulties # with this part ... volunteers ??? :) Ai, mais uma que eu prometi e acabei n=E3o cumprindo. Eu fiz umas duas internacionaliza=E7=F5es, h=E1 uns dois meses atr=E1s, mas depois n=E3o m= exi mais com isso, e de cabe=E7a n=E3o teria condi=E7oes de explicar todo o processo, eu teria que rever isso novamente pra relembrar.=20 Eu gostaria de ajudar nisso, por=E9m, n=E3o vou prometer nada de imediato, infelizmente ultimamente andei exigindo muito de mim, tentei abra=E7ar o mundo mas n=E3o dei conta do recado, meu hardware andou causando alguns core dumps :( to precisando muito voltar no gaz novamente, mas do jeito que eu tava levando minha vida eu tava caminhando pra loucura... fim de ano ta ai, tudo que eu quero =E9 descarregar os buffers, zerar o swap, uns dias na praia urgente =E9 tudo que eu preciso, heheheheh #=20 # ----------------------------- [ cut ]=20 #=20 # Gang, this TODO list have an objective: to accelerate # development of LinuxCall in pure C ...=20 #=20 # If you choice an big option, divide this option # between 2 or more programmers. Andr=E9, n=E3o carrega o fardo sozinho mano, dividir =E9 a melhor sa=EDda= sim. Me d=E1 um aperto no cora=E7=E3o de n=E3o poder estar ajudando tanto quan= to eu gostaria, mas faz parte da vida n=E9... # Again, excuse-me, BECAUSE my enlish REALY isn't very # good... :))) hmmmm acho que j=E1 ouvi essa frase antes... :) # []'s []=E3o ai Marcelo stress again |