Re: howto recompile dmd 2.053 for CentOS 5.x?

2011-05-25 Thread Lars Holowko
On Tue, May 24, 2011 at 5:30 PM, Nick Sabalausky wrote: > > The DMD zips contain all the source code. You should be able to do this: > > - Unzip dmd.2.053.zip (or whatever other version you want) > - Go into the 'src/dmd' directory > - Compile dmd (For me, it's just "make -f linux.mak", but I'm on

howto recompile dmd 2.053 for CentOS 5.x?

2011-05-24 Thread Lars Holowko
Hi there, I am trying to get a working dmd 2.053 for CentOS 5.6. The provided versions seem to be compiled on something newer: $ sudo rpm -ivh ~/downloads/dmd-2.053-0.fedora.x86_64.rpm error: Failed dependencies: gcc(x86-64) is needed by dmd-2.053-0.x86_64 glibc-devel(x86-32) is n

Re: Get single keystroke?

2011-03-21 Thread Lars Holowko
On Mon, Mar 21, 2011 at 1:33 PM, Sean Eskapp wrote: > Is there a way to get a single keystroke in D2? Any method I've tried requires > pushing Enter before the stroke is registered. > Hi Sean, what you want to do is OS dependent. I needed something similar ('press key to continue') e.g.: for W

Re: How-to manipulate a C array with D2 vector operations?

2011-02-28 Thread Lars Holowko
On 2/28/2011 10:15 AM, Denis Koroskin wrote: On Mon, 28 Feb 2011 19:51:28 +0300, Lars Holowko wrote: gets called from a C module and I cannot change the caller): extern(C) read_into(char *buffer, size_t buf_len); I would like to use D's vector (or array-wise according to TDPL) operatio

How-to manipulate a C array with D2 vector operations?

2011-02-28 Thread Lars Holowko
Hi I am trying to implement a D2 function that has this C signature (it gets called from a C module and I cannot change the caller): extern(C) read_into(char *buffer, size_t buf_len); I would like to use D's vector (or array-wise according to TDPL) operations on buffer but I cannot find a way, h