Re: SUL for Posix

2012-04-07 Thread Stewart Gordon
On 07/04/2012 20:16, Jacob Carlborg wrote: I don't know what your module is supposed to do. Then how about reading its documentation? http://pr.stewartsplace.org.uk/d/sutil/doc/commandline.html If there's something you don't understand about it, this is the issue that needs to be addressed,

Re: SUL for Posix

2012-04-07 Thread Jacob Carlborg
On 2012-04-07 19:57, Stewart Gordon wrote: On 07/04/2012 17:54, Jacob Carlborg wrote: Both std.getopt and mjg.libs.util.commandline handle command line arguments? What's that to do with anything? If the code I need to finish smjg.libs.util.commandline is somewhere in std.getopt, please tell

Re: SUL for Posix

2012-04-07 Thread Stewart Gordon
On 07/04/2012 17:54, Jacob Carlborg wrote: Both std.getopt and mjg.libs.util.commandline handle command line arguments? What's that to do with anything? If the code I need to finish smjg.libs.util.commandline is somewhere in std.getopt, please tell me where exactly it is. If it isn't, then

Re: SUL for Posix

2012-04-07 Thread Jacob Carlborg
On 2012-04-07 14:36, Stewart Gordon wrote: On 05/04/2012 14:51, Jacob Carlborg wrote: http://dlang.org/phobos/std_getopt.html But it might not do what you want. Where is the code in std.getopt that has any relevance whatsoever to what smjg.libs.util.datetime or smjg.libs.util.commandline is

Re: SUL for Posix

2012-04-07 Thread Stewart Gordon
On 05/04/2012 14:51, Jacob Carlborg wrote: http://dlang.org/phobos/std_getopt.html But it might not do what you want. Where is the code in std.getopt that has any relevance whatsoever to what smjg.libs.util.datetime or smjg.libs.util.commandline is for? Stewart.

Re: SUL for Posix

2012-04-05 Thread Jacob Carlborg
On 2012-04-05 12:55, Stewart Gordon wrote: On 05/04/2012 07:18, Jacob Carlborg wrote: Ok, I see. The functions that need a Posix implementation are mostly in datetime and commandline, if I recall correctly. These are already present in Phobos? Maybe it contains the code I need to finish datet

SUL for Posix (was: Read a unicode character from the terminal)

2012-04-05 Thread Stewart Gordon
On 05/04/2012 07:18, Jacob Carlborg wrote: Ok, I see. The functions that need a Posix implementation are mostly in datetime and commandline, if I recall correctly. These are already present in Phobos? Maybe it contains the code I need to finish datetime off. Though I can't really just copy