<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using it&#8217;s all text on Mac OS X</title>
	<atom:link href="http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/</link>
	<description>unix forever, for everyone. Not convinced, try Mac OS X!</description>
	<lastBuildDate>Tue, 09 Mar 2010 13:26:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Morrissey</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-785</link>
		<dc:creator>John Morrissey</dc:creator>
		<pubDate>Thu, 28 Jan 2010 17:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-785</guid>
		<description>It&#039;s been a while since your original post so FWIW, I wrote this version:

http://horde.net/~jwm/software/misc/iterm-editor

which is self-contained (one file), honors standard shell EDITOR/VISUAL environment variables, and doesn&#039;t require a separate iTerm profile.</description>
		<content:encoded><![CDATA[<p>It&#8217;s been a while since your original post so FWIW, I wrote this version:</p>
<p><a href="http://horde.net/~jwm/software/misc/iterm-editor" rel="nofollow">http://horde.net/~jwm/software/misc/iterm-editor</a></p>
<p>which is self-contained (one file), honors standard shell EDITOR/VISUAL environment variables, and doesn&#8217;t require a separate iTerm profile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shane</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-772</link>
		<dc:creator>shane</dc:creator>
		<pubDate>Fri, 23 Oct 2009 21:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-772</guid>
		<description>Thanks for info on this. I have been looking forever
on a way to do it. I wrote this article with it as well.

Here is the way I did it. Btw, no need for symlinks
because found away around from another article.

#  is your username
$ mkdir /Users/somename/bin
$ create the two files below
$ chmod 755 /Users/somename/bin/emacs-terminal.scpt
$ chmod 755 /Users/somename/bin/editfile
$ Then edit prefs of ItsAllText and add the path:
  /Users/somename/bin/editfile
# It will not be selectable, only .app files are.


Below are the files:
&lt;code&gt;
#!/usr/bin/osascript
# open Apple Script Editor and and save to this path:
# /Users/somename/bin/emacs-terminal.scpt

on run argv
   tell application &quot;Terminal&quot;
        set filename to item 1 of argv
        set filename to do shell script ¬
            &quot;perl -e \&quot;print quotemeta (&#039;&quot; &amp; POSIX path of filename &amp; &quot;&#039;);\&quot;&quot;
        do script &quot;emacs &quot; &amp; filename &amp; &quot;; exit&quot;
   end tell
end run
&lt;/code&gt;

&lt;code&gt;
#!/bin/sh 
# open your faviorite editor and save the file to:                                                                                                                                                                         
# emacs /Users/somename/bin/editfile
# http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/                                                                                                                     
# http://www.macosxhints.com/article.php?story=20040617170055379                                                                                                                   
                                                                                                                                                                                   
if [ -z $1 ]                                                                                                                                                                       
then                                                                                                                                                                               
    echo &quot;No filename was given as args.&quot;                                                                                                                                          
    exit;                                                                                                                                                                          
fi                                                                                                                                                                                 
logger &quot;ITS ALL TEXT: $1&quot;                                                                                                                                                          
linkbase=&quot;/tmp/firefox-$$&quot;                                                                                                                                                         
extension=${1##*.}                                                                                                                                                                 
                                                                                                                                                                                   
link=$linkbase.$extension                                                                                                                                                          
#ln -s &quot;$1&quot; $link                                                                                                                                                                  
#exec /usr/bin/osascript /Users/sbradley/bin/emacs-terminal.scpt $link                                                                                                             
exec /usr/bin/osascript /Users/sbradley/bin/emacs-terminal.scpt &quot;$1&quot;    
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for info on this. I have been looking forever<br />
on a way to do it. I wrote this article with it as well.</p>
<p>Here is the way I did it. Btw, no need for symlinks<br />
because found away around from another article.</p>
<p>#  is your username<br />
$ mkdir /Users/somename/bin<br />
$ create the two files below<br />
$ chmod 755 /Users/somename/bin/emacs-terminal.scpt<br />
$ chmod 755 /Users/somename/bin/editfile<br />
$ Then edit prefs of ItsAllText and add the path:<br />
  /Users/somename/bin/editfile<br />
# It will not be selectable, only .app files are.</p>
<p>Below are the files:<br />
<code><br />
#!/usr/bin/osascript<br />
# open Apple Script Editor and and save to this path:<br />
# /Users/somename/bin/emacs-terminal.scpt</p>
<p>on run argv<br />
   tell application "Terminal"<br />
        set filename to item 1 of argv<br />
        set filename to do shell script ¬<br />
            "perl -e \"print quotemeta ('" &amp; POSIX path of filename &amp; "');\""<br />
        do script "emacs " &amp; filename &amp; "; exit"<br />
   end tell<br />
end run<br />
</code></p>
<p><code><br />
#!/bin/sh<br />
# open your faviorite editor and save the file to:<br />
# emacs /Users/somename/bin/editfile<br />
# <a href="http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/" rel="nofollow">http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/</a><br />
# <a href="http://www.macosxhints.com/article.php?story=20040617170055379" rel="nofollow">http://www.macosxhints.com/article.php?story=20040617170055379</a>                                                                                                                   </p>
<p>if [ -z $1 ]<br />
then<br />
    echo "No filename was given as args."<br />
    exit;<br />
fi<br />
logger "ITS ALL TEXT: $1"<br />
linkbase="/tmp/firefox-$$"<br />
extension=${1##*.}                                                                                                                                                                 </p>
<p>link=$linkbase.$extension<br />
#ln -s "$1" $link<br />
#exec /usr/bin/osascript /Users/sbradley/bin/emacs-terminal.scpt $link<br />
exec /usr/bin/osascript /Users/sbradley/bin/emacs-terminal.scpt "$1"<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jolleyjoe</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-771</link>
		<dc:creator>jolleyjoe</dc:creator>
		<pubDate>Mon, 19 Oct 2009 20:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-771</guid>
		<description>How would you do this with the default Terminal.app on Mac OSX? :)</description>
		<content:encoded><![CDATA[<p>How would you do this with the default Terminal.app on Mac OSX? <img src='http://blog.asyd.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asyd</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-727</link>
		<dc:creator>asyd</dc:creator>
		<pubDate>Wed, 23 Sep 2009 11:15:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-727</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-726&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-726&quot; rel=&quot;nofollow&quot;&gt;Kevin Guinn&lt;/a&gt; :&lt;/strong&gt;
Fair enough. Different needs, different methods. But, since your blog was the among the only sources of info on this topic, I wanted to share an alternative. &lt;/blockquote&gt;

And thanks for sharing! :)</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-726"><p>
<strong><a href="#comment-726" rel="nofollow">Kevin Guinn</a> :</strong><br />
Fair enough. Different needs, different methods. But, since your blog was the among the only sources of info on this topic, I wanted to share an alternative. </p></blockquote>
<p>And thanks for sharing! <img src='http://blog.asyd.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Guinn</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-726</link>
		<dc:creator>Kevin Guinn</dc:creator>
		<pubDate>Tue, 22 Sep 2009 22:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-726</guid>
		<description>Fair enough. Different needs, different methods. But, since your blog was the among the only sources of info on this topic, I wanted to share an alternative. 

Technically, I suppose you could swap out the &quot;normal&quot; vim for a link to /Applications/MacVim.app/Contents/MacOS/Vim and get a unified set of preferences, etc. regardless of if you were using console mode or &quot;graphical&quot; mode. (This would more closely resemble what I actually get on my Linux systems.)</description>
		<content:encoded><![CDATA[<p>Fair enough. Different needs, different methods. But, since your blog was the among the only sources of info on this topic, I wanted to share an alternative. </p>
<p>Technically, I suppose you could swap out the &#8220;normal&#8221; vim for a link to /Applications/MacVim.app/Contents/MacOS/Vim and get a unified set of preferences, etc. regardless of if you were using console mode or &#8220;graphical&#8221; mode. (This would more closely resemble what I actually get on my Linux systems.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asyd</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-725</link>
		<dc:creator>asyd</dc:creator>
		<pubDate>Tue, 22 Sep 2009 21:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-725</guid>
		<description>Hello Kevin,

thanks for your reply! Indeed your method is working, however, since I use vim (inside iTerm+sceren) every days, I was looking for an exactly similar way. Following your method, I need to use ITerm+screen+vim (to edit local files) and MacVim (to edit textarea), which is an another application, meaning different environment, behavior, etc.</description>
		<content:encoded><![CDATA[<p>Hello Kevin,</p>
<p>thanks for your reply! Indeed your method is working, however, since I use vim (inside iTerm+sceren) every days, I was looking for an exactly similar way. Following your method, I need to use ITerm+screen+vim (to edit local files) and MacVim (to edit textarea), which is an another application, meaning different environment, behavior, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Guinn</title>
		<link>http://blog.asyd.net/2009/09/using-its-all-text-on-mac-os-x/comment-page-1/#comment-724</link>
		<dc:creator>Kevin Guinn</dc:creator>
		<pubDate>Tue, 22 Sep 2009 21:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.asyd.net/?p=386#comment-724</guid>
		<description>I am using my method to enter this comment, so it is definitely working: 
(Adding all steps, even those I consider somewhat obvious)

1. Download the MacVim port from http://code.google.com/p/macvim/ 
2. extract the *.tbz
3. put the MacVim.app where you desire (e.g. /Applications)
4. put the mvim script where you desire (e.g /usr/bin) [helps to use a terminal here so you can verify ownership and permissions are sane] 
5. recommended: symlink gvim to mvim if you are a multi-platform type
6. configure It&#039;s All Text to use mvim (e.g. /usr/bin/mvim) as its editor.
7. party on...

Note, not quite as cool, but I use gvim with IAT! on my Linux and Windows installs, so at least I have a consistent experience...</description>
		<content:encoded><![CDATA[<p>I am using my method to enter this comment, so it is definitely working:<br />
(Adding all steps, even those I consider somewhat obvious)</p>
<p>1. Download the MacVim port from <a href="http://code.google.com/p/macvim/" rel="nofollow">http://code.google.com/p/macvim/</a><br />
2. extract the *.tbz<br />
3. put the MacVim.app where you desire (e.g. /Applications)<br />
4. put the mvim script where you desire (e.g /usr/bin) [helps to use a terminal here so you can verify ownership and permissions are sane]<br />
5. recommended: symlink gvim to mvim if you are a multi-platform type<br />
6. configure It&#8217;s All Text to use mvim (e.g. /usr/bin/mvim) as its editor.<br />
7. party on&#8230;</p>
<p>Note, not quite as cool, but I use gvim with IAT! on my Linux and Windows installs, so at least I have a consistent experience&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
