<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>echo&#62;&#62;</title>
	<atom:link href="http://echogtgt.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://echogtgt.wordpress.com</link>
	<description>Appending to general knowledge</description>
	<lastBuildDate>Tue, 15 Jul 2008 17:49:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='echogtgt.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>echo&#62;&#62;</title>
		<link>http://echogtgt.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://echogtgt.wordpress.com/osd.xml" title="echo&#62;&#62;" />
	<atom:link rel='hub' href='http://echogtgt.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PSPad &#8211; New INI file for Lua</title>
		<link>http://echogtgt.wordpress.com/2008/07/15/pspad-new-ini-file-for-lua/</link>
		<comments>http://echogtgt.wordpress.com/2008/07/15/pspad-new-ini-file-for-lua/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 14:20:58 +0000</pubDate>
		<dc:creator>rdentato</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[pspad]]></category>
		<category><![CDATA[syntax file]]></category>

		<guid isPermaLink="false">http://echogtgt.wordpress.com/?p=10</guid>
		<description><![CDATA[The INI file for Lua that ships with PSPad doesn&#8217;t include all the Lua library functions so I added them (shamlessly copying from the key file of Crimson Editor). Here it is: ;PSPad user HighLighter definition file [Settings] Name=Lua HTMLGroup=0 Label=1 FileType=*.lua CommentString=-- SQLComment=1 LuaComment=1 IndentChar= UnIndentChar= TabWidth=2 CaseSensitive=1 SingleQuote=1 DoubleQuote=1 KeyWordChars=_. CodeExplorer=ftUnknown [KeyWords] and= [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echogtgt.wordpress.com&amp;blog=4231224&amp;post=10&amp;subd=echogtgt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The INI file for <a href="http://www.lua.org/">Lua </a>that ships with <a href="http://www.pspad.com/">PSPad </a>doesn&#8217;t include all the Lua library functions so I added them (shamlessly copying from the key file of <a href="http://www.crimsoneditor.com/">Crimson Editor</a>).</p>
<p>Here it is:</p>
<pre>
;PSPad user HighLighter definition file
[Settings]
Name=Lua
HTMLGroup=0
Label=1
FileType=*.lua
CommentString=--
SQLComment=1
LuaComment=1
IndentChar=
UnIndentChar=
TabWidth=2
CaseSensitive=1
SingleQuote=1
DoubleQuote=1
KeyWordChars=_.
CodeExplorer=ftUnknown
[KeyWords]
and=
break=
do=
else=
elseif=
end=
false=
for=
function=
if=
in=
local=
nil=
not=
or=
repeat=
return=
then=
true=
until=
while=
[ReservedWords]
_G=
_VERSION=
assert=
collectgarbage=
coroutine.create=
coroutine.resume=
coroutine.status=
coroutine.wrap=
coroutine.yield=
debug.debug=
debug.gethook=
debug.getinfo=
debug.getlocal=
debug.getupvalue=
debug.sethook=
debug.setlocal=
debug.setupvalue=
debug.traceback=
dofile=
error=
gcinfo=
getfenv=
getmetatable=
io.close=
io.flush=
io.input=
io.lines=
io.open=
io.output=
io.read=
io.stderr=
io.stdin=
io.stdout=
io.tmpfile=
io.type=
io.write=
ipairs=
loadfile=
loadlib=
loadstring=
math.abs=
math.acos=
math.asin=
math.atan=
math.atan2=
math.ceil=
math.cos=
math.def=
math.exp=
math.floor=
math.frexp=
math.ldexp=
math.log=
math.log10=
math.max=
math.min=
math.mod=
math.pi=
math.pow=
math.rad=
math.random=
math.randomseed=
math.sin=
math.sqrt=
math.tan=
next=
os.clock=
os.date=
os.difftime=
os.execute=
os.exit=
os.getenv=
os.remove=
os.rename=
os.setlocale=
os.time=
os.tmpname=
pairs=
pcall=
print=
rawequal=
rawget=
rawset=
require=
setfenv=
setmetatable=
string.byte=
string.char=
string.dump=
string.find=
string.format=
string.gsub=
string.len=
string.lower=
string.rep=
string.sub=
string.upper=
table.concat=
table.foreach=
table.foreachi=
table.getn=
table.insert=
table.remove=
table.setn=
table.sort=
tonumber=
tostring=
type=
unpack=
xpcall=
[KeyWords2]
[KeyWords3]
</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/echogtgt.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/echogtgt.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/echogtgt.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/echogtgt.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/echogtgt.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/echogtgt.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/echogtgt.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/echogtgt.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/echogtgt.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/echogtgt.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echogtgt.wordpress.com&amp;blog=4231224&amp;post=10&amp;subd=echogtgt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echogtgt.wordpress.com/2008/07/15/pspad-new-ini-file-for-lua/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1c883ae199f81d98a0d12db43306303?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rdentato</media:title>
		</media:content>
	</item>
		<item>
		<title>Msys + makefiles + your editor</title>
		<link>http://echogtgt.wordpress.com/2008/07/15/3/</link>
		<comments>http://echogtgt.wordpress.com/2008/07/15/3/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 13:39:07 +0000</pubDate>
		<dc:creator>rdentato</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Crimson Editor]]></category>
		<category><![CDATA[makefile]]></category>
		<category><![CDATA[mingw]]></category>
		<category><![CDATA[msys]]></category>

		<guid isPermaLink="false">http://echogtgt.wordpress.com/?p=3</guid>
		<description><![CDATA[How to marry an editor like Crimson Editor (or the Emerald Community version) with msys/mingw and makefiles?. For long time I simply switched back and forth between the msys window and CEDT, I don&#8217;t know why I waited so long to make this integration but it has been a great time saver for me. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echogtgt.wordpress.com&amp;blog=4231224&amp;post=3&amp;subd=echogtgt&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to marry an editor like <a href="http://www.crimsoneditor.com/">Crimson Editor</a> (or the <a href="http://www.emeraldeditor.com/">Emerald Community</a> version) with <a href="http://www.mingw.org/">msys/mingw</a> and makefiles?. For long time I simply switched back and forth between the msys window and CEDT, I don&#8217;t know why I waited so long to make this integration but it has been a great time saver for me. I hope it will be for you as well.</p>
<p>By the way, this methods works with other editors as well. If you use <a href="http://www.pspad.com/">PSPad</a> you can easily adapt this explanations to it.</p>
<p>Create a batch file (<span style="font-family:courier new;">cedt_mk.bat</span>) with this one line:<br />
<span style="font-family:courier new;"><br />
C:/msys/1.0/bin/sh &#8211;login -c &#8220;cd &#8216;%1&#8242; ; cd `pwd`; make %2&#8243;<br />
</span><br />
and store it in the msys <span style="font-family:courier new;">/usr/bin</span> directory (<span style="font-family:courier new;">C:/msys/1.0/bin</span> in my installation).</p>
<p>This batch file starts the msys shell and sets up all the environment variables as if you had login, so if your makefile depends on variables you set on your .profile, it will work.<br />
It then goes to the directory specified by the first argument, where it expects to find a makefile, and makes the target specified by the second parameter.<br />
Note that the first cd will receive a path in MSDOS format (e.g. &#8216;D:\projects&#8217;) that the shell will convert to &#8216;/d/projects&#8217;. However there is a bug in msys when the UNIX path ends with &#8216;/&#8217;. To fix it a cd to the current directory (cd `pwd`) is needed</p>
<p>Now add a couple of &#8220;tools&#8221; to CEDT through the &#8220;Tools/Conf. User Tools&#8230;&#8221;:</p>
<div id="attachment_5" class="wp-caption aligncenter" style="width: 410px"><a href="http://echogtgt.files.wordpress.com/2008/07/menu.gif"><img class="size-full wp-image-5" src="http://echogtgt.files.wordpress.com/2008/07/menu.gif?w=400&#038;h=274" alt="Crimson Editor Tools menu" width="400" height="274" /></a><p class="wp-caption-text">Crimson Editor Tools menu</p></div>
<p>I defined two. The first one as &#8220;Make &#8230;&#8221; that will prompt for the name of the target (second argument set to $(UserInput).</p>
<div id="attachment_6" class="wp-caption aligncenter" style="width: 410px"><a href="http://echogtgt.files.wordpress.com/2008/07/tool1.gif"><img class="size-full wp-image-6" src="http://echogtgt.files.wordpress.com/2008/07/tool1.gif?w=400&#038;h=322" alt="Will ask for the target name" width="400" height="322" /></a><p class="wp-caption-text">Will ask for the target name</p></div>
<p>and the second one as &#8220;Make Selected&#8221; that will use the selected word as the name of the target (second argument set to $(CurWord).</p>
<div id="attachment_7" class="wp-caption aligncenter" style="width: 410px"><a href="http://echogtgt.files.wordpress.com/2008/07/tool2.gif"><img class="size-full wp-image-7" src="http://echogtgt.files.wordpress.com/2008/07/tool2.gif?w=400&#038;h=322" alt="Target will be the current/selected word" width="400" height="322" /></a><p class="wp-caption-text">Target will be the current/selected word</p></div>
<p>I mapped them to F9 and Ctrl+F9 respectively.</p>
<p>Having set the first &#8220;Argument&#8221; and the &#8220;Initial Dir&#8221; to $(FileDir), the makefile used will be the one stored in the same directory of the current file. This may work or not for you depending on the structure of the directories in your project.<br />
I usually have a makefile for each directory in the project (src, test, docs, &#8230;) but sometimes I use a single makefile in the root directory of the project. In that case setting the first argument of cedt_mk.bat to &#8220;$(FileDir)\..&#8221;  would have worked.  Of course one could play with the cedt_mk.bat script to add more intelligence to it. I will be happy to hear any improvement.</p>
<p>Having set to option &#8220;Capture Output&#8221;, I will get all the error messages directly in the output pane of CEDT. If I only could jump directly the file/line when an error occurs &#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/echogtgt.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/echogtgt.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/echogtgt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/echogtgt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/echogtgt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/echogtgt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/echogtgt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/echogtgt.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/echogtgt.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/echogtgt.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=echogtgt.wordpress.com&amp;blog=4231224&amp;post=3&amp;subd=echogtgt&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://echogtgt.wordpress.com/2008/07/15/3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1c883ae199f81d98a0d12db43306303?s=96&#38;d=identicon" medium="image">
			<media:title type="html">rdentato</media:title>
		</media:content>

		<media:content url="http://echogtgt.files.wordpress.com/2008/07/menu.gif" medium="image">
			<media:title type="html">Crimson Editor Tools menu</media:title>
		</media:content>

		<media:content url="http://echogtgt.files.wordpress.com/2008/07/tool1.gif" medium="image">
			<media:title type="html">Will ask for the target name</media:title>
		</media:content>

		<media:content url="http://echogtgt.files.wordpress.com/2008/07/tool2.gif" medium="image">
			<media:title type="html">Target will be the current/selected word</media:title>
		</media:content>
	</item>
	</channel>
</rss>
