PDA

View Full Version : The Hammer and DF character mode



dave &/or Wempy
12-Oct-2006, 04:02 PM
Anybody using the Hammer on old character mode source?

We're cleaning up old cm source prior to rewriting in vdf and the hammer's ability to do the code analysis, matching etc beats Multiedit hands-down. However to get the compiles and the other cm-based stuff working seems like it needs some thought.

Anybody? Wil?

wila
12-Oct-2006, 06:32 PM
Hi Dave,

dave &/or Wempy wrote:
> Anybody using the Hammer on old character mode source?
[wil] I'm lucky enough not having to do much cm coding, pretty close to
nothing to be honest. So me saying that i'm using it for cm wouldn't be
really true.
>
> We're cleaning up old cm source prior to rewriting in vdf and the hammer's ability to do the code analysis, matching etc beats Multiedit hands-down. However to get the compiles and the other cm-based stuff working seems like it needs some thought.
[wil] Well the hammer was written with VDF in mind. Having said that it
should still be possible to use it for CM. Just had a very quick go at
this and i succeeded to compile from within the hammer. Not completely
satisfied, but it appears to work.
Here's what i did.

I created a batch file called "df3comp.bat" and dropped that in a root
folder (just coz i'm lazy).
The batch file contains the following lines:

call \df32\usr\setpath
dfcomp %1

pause show me the result!

Then i went into the compiler option configuration menu (options >
Options > compiler/debugger tab) and changed the following settings:
- uncheck Display Compiler messages
- uncheck Display/Hide Compiler messages
- Compiler Commandline: c:\df3comp.bat
- Compiler Options: removed everything there

Restart the hammer...

From now on i can compile, although it seems that the commandline box
gets a keypress of some sort as it asks me to stop compiling. A little
annoying but that should be fixable. Just don't ask me how :)

One additional note: Since the hammer can fix up your code on text
casing you might want to make sure it is disabled if your code contains
images (not the pictures, those other ones). Go to Options > Properties
> Language/Tabs and uncheck "Fixup Text case while typing ..."

--
Wil

>
> Anybody? Wil?

dave &/or Wempy
13-Oct-2006, 09:53 AM
Thanks very much Wil,

excellent work, and all while I was at home drinking wine <g>

I'll try this. MEW is trying me insane lately as after reinstalling it the bookmarks, common code and everything won't persist between sessions or even after a compile.

Did anything happen with Crossmerge while I was en vacances?

Dave

>>> Wil van Antwerpen<info@antwise.com> 10/12/2006 6:32:05 PM >>>
Hi Dave,

dave &/or Wempy wrote:
> Anybody using the Hammer on old character mode source?
[wil] I'm lucky enough not having to do much cm coding, pretty close to
nothing to be honest. So me saying that i'm using it for cm wouldn't be
really true.
>
> We're cleaning up old cm source prior to rewriting in vdf and the hammer's ability to do the code analysis, matching etc beats Multiedit hands-down. However to get the compiles and the other cm-based stuff working seems like it needs some thought.
[wil] Well the hammer was written with VDF in mind. Having said that it
should still be possible to use it for CM. Just had a very quick go at
this and i succeeded to compile from within the hammer. Not completely
satisfied, but it appears to work.
Here's what i did.

I created a batch file called "df3comp.bat" and dropped that in a root
folder (just coz i'm lazy).
The batch file contains the following lines:

call \df32\usr\setpath
dfcomp %1

pause show me the result!

Then i went into the compiler option configuration menu (options >
Options > compiler/debugger tab) and changed the following settings:
- uncheck Display Compiler messages
- uncheck Display/Hide Compiler messages
- Compiler Commandline: c:\df3comp.bat
- Compiler Options: removed everything there

Restart the hammer...

From now on i can compile, although it seems that the commandline box
gets a keypress of some sort as it asks me to stop compiling. A little
annoying but that should be fixable. Just don't ask me how :)

One additional note: Since the hammer can fix up your code on text
casing you might want to make sure it is disabled if your code contains
images (not the pictures, those other ones). Go to Options > Properties
> Language/Tabs and uncheck "Fixup Text case while typing ..."

--
Wil

>
> Anybody? Wil?

wila
13-Oct-2006, 10:05 AM
Hey Dave,

Now you owe me some wine!

As for crossmerge, i've talked with Nils this week, something is indeed
in the works. Am a bit reluctant talking about this subject in the
newsgroups as its better to talk about it when we really have something
more tangible.

--
Wil

dave &/or Wempy wrote:
> Thanks very much Wil,
>
> excellent work, and all while I was at home drinking wine <g>
>
> I'll try this. MEW is trying me insane lately as after reinstalling it the bookmarks, common code and everything won't persist between sessions or even after a compile.
>
> Did anything happen with Crossmerge while I was en vacances?
>
> Dave
>
>>>> Wil van Antwerpen<info@antwise.com> 10/12/2006 6:32:05 PM >>>
> Hi Dave,
>
> dave &/or Wempy wrote:
>> Anybody using the Hammer on old character mode source?
> [wil] I'm lucky enough not having to do much cm coding, pretty close to
> nothing to be honest. So me saying that i'm using it for cm wouldn't be
> really true.
>> We're cleaning up old cm source prior to rewriting in vdf and the hammer's ability to do the code analysis, matching etc beats Multiedit hands-down. However to get the compiles and the other cm-based stuff working seems like it needs some thought.
> [wil] Well the hammer was written with VDF in mind. Having said that it
> should still be possible to use it for CM. Just had a very quick go at
> this and i succeeded to compile from within the hammer. Not completely
> satisfied, but it appears to work.
> Here's what i did.
>
> I created a batch file called "df3comp.bat" and dropped that in a root
> folder (just coz i'm lazy).
> The batch file contains the following lines:
>
> call \df32\usr\setpath
> dfcomp %1
>
> pause show me the result!
>
> Then i went into the compiler option configuration menu (options >
> Options > compiler/debugger tab) and changed the following settings:
> - uncheck Display Compiler messages
> - uncheck Display/Hide Compiler messages
> - Compiler Commandline: c:\df3comp.bat
> - Compiler Options: removed everything there
>
> Restart the hammer...
>
> From now on i can compile, although it seems that the commandline box
> gets a keypress of some sort as it asks me to stop compiling. A little
> annoying but that should be fixable. Just don't ask me how :)
>
> One additional note: Since the hammer can fix up your code on text
> casing you might want to make sure it is disabled if your code contains
> images (not the pictures, those other ones). Go to Options > Properties
> > Language/Tabs and uncheck "Fixup Text case while typing ..."
>
> --
> Wil
>
>> Anybody? Wil?
>
>