Hey everybody, I've added basic echo and printf modules to BDSH, as a part of my GSoC-2012applications. They are somewhat limited and will be developed later with BDSH. Any comments are greatly appreciated, both for prints and applications. Several remarks/questions that raised during my work: * According to BDSH argument passing mechanism. For now ---> \# func "a b c d" e will leave us with 5 (per letter) arguments in argv, and not 2. Is it desired BDSH behavior, or maybe its a wanted feature? For now, this is a cause for 'printf' not to deal with space-limited format strings. * I've tried not to reinvent the wheel and ride on currently available 'printf' from lib, but failed to find an easy way to convert from argv to va_list. I doubt that it's possible without voodoo dances around stack, or possible at all. If I'm missing something here - please let me know. * Some technical trouble - I'm rapidly failing to pull from bzr:// bzr.helenos.org/mainline/ (other repos are fine). Thus, bzr send is not working for me. I've created a branch at lp:~prutkov-alex/helenos/bdsh-prints. Code can be pulled from there. Sorry for possible inconvenience.
-- *Best wishes,* *Alex*
_______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
