<?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/"
	>

<channel>
	<title>Mike Naberezny &#187; Tcl</title>
	<atom:link href="http://mikenaberezny.com/category/tcl/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikenaberezny.com</link>
	<description></description>
	<lastBuildDate>Fri, 27 Aug 2010 02:15:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tcl Syntax Highlighting for TextMate</title>
		<link>http://mikenaberezny.com/2006/09/02/editing-tcl-in-textmate/</link>
		<comments>http://mikenaberezny.com/2006/09/02/editing-tcl-in-textmate/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 20:51:57 +0000</pubDate>
		<dc:creator>Mike Naberezny</dc:creator>
				<category><![CDATA[Tcl]]></category>

		<guid isPermaLink="false">http://mikenaberezny.com/archives/52</guid>
		<description><![CDATA[I first discovered TextMate early this year when I began working with Ruby on Rails. Since then, it&#8217;s become my editor of choice and I use it for editing all of my Python and Ruby code. One of my customer projects has required me to work extensively with their custom Expect scripts so I have [...]]]></description>
			<content:encoded><![CDATA[<p>I first discovered <a href="http://macromates.com">TextMate</a> early this year when I began working with Ruby on Rails.  Since then, it&#8217;s become my editor of choice and I use it for editing all of my Python and Ruby code.</p>
<p>One of my customer projects has required me to work extensively with their custom <a href="http://expect.nist.gov/">Expect</a> scripts so I have spent a good amount of time programming <a href="http://tcl.tk/">Tcl</a> lately.  Unfortunately, TextMate doesn&#8217;t ship with Tcl support out of the box.  </p>
<p>Lars Pind created an <a href="http://pinds.com/articles/2004/10/09/first-version-of-openacs-syntax-highlighting-for-textmate">OpenACS Tcl bundle</a> for use with the OpenACS framework but lost the files during a server move.  </p>
<p>While it&#8217;s not linked from the TextMate website, there is a bundle in the <a href="http://anon:anon@macromates.com/svn/Bundles/trunk/Bundles/">Subversion repository</a> and its Tcl syntax highlighting works quite well.  Installation is simple:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">$ svn --username anon --password anon export \ 
http://macromates.com/svn/Bundles/trunk/Bundles/Tcl.tmbundle/
&nbsp;
$ mate Tcl.tmbundle</pre></div></div>

<p>For Expect users: The Tcl bundle won&#8217;t recognize Expect (<code>.exp</code>) files by default.  After opening an <code>.exp</code> file, choose Tcl from the Language dropdown in the editor window.  Expect files will now open with Tcl syntax highlighting.  While Expect keywords like <code>send_user</code> won&#8217;t be highlighted, all standard Tcl keywords will be.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikenaberezny.com/2006/09/02/editing-tcl-in-textmate/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
