<?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>Reallywow &#187; twitter</title>
	<atom:link href="http://blog.reallywow.com/archives/category/microblogging/twitter/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.reallywow.com</link>
	<description>Really? Wow... That's Reallywow</description>
	<lastBuildDate>Thu, 27 May 2010 15:02:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>My &#8220;unified&#8221; twitter + identi.ca client</title>
		<link>http://blog.reallywow.com/archives/22</link>
		<comments>http://blog.reallywow.com/archives/22#comments</comments>
		<pubDate>Tue, 13 Jan 2009 18:21:15 +0000</pubDate>
		<dc:creator>lbjay</dc:creator>
				<category><![CDATA[identi.ca]]></category>
		<category><![CDATA[microblogging]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.reallywow.com/?p=22</guid>
		<description><![CDATA[I've been on the lookout for a client that would somehow unify my streams from both Twitter &#038; Identi.ca. There's several clients that will support one-or-the-other, but not both simultaneously. My solution doesn't technically do this either but it scratches my itch to at least have them in the same window.]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="http://blog.reallywow.com/?p=22"><!-- &nbsp; --></abbr>
<p>I&#8217;ve been on the lookout for a client that would somehow unify my streams from both <a href="http://twitter.com/lbjay">Twitter</a> &amp; <a href="http://identi.ca/lbjay">Identi.ca</a>. There&#8217;s a few clients that will support one-or-the-other (sometimes via <a href="http://hg.mozilla-hispano.org/uncryptic/identifox/overview/">hacking the source</a>) but I&#8217;ve found none that scratch my itch of have both services presented in the same window. My taskbar is precious real-estate.</p>
<p>These instructions reflect my setup on an Ubuntu vhost which I ssh into via PuTTY.</p>
<p>Required:</p>
<ul>
<li>Twitter account</li>
<li>Identi.ca account</li>
<li><a href="http://www.floodgap.com/software/ttytter">TTYtter</a>, a perl command-line client for accessing Twitter-compatible APIs</li>
<li>Gnu Screen</li>
</ul>
<p>Step 1, download TTYtter, make it executable and put it somewhere on your $PATH.</p>
<p>Step 2, create a file at ~/.ttytterrc1 with the following contents, including your identi.ca login:</p>
<pre><span style="color: #000080;">  url=http://identi.ca/api/statuses/friends_timeline.json
  rurl=http://identi.ca/api/statuses/replies.json
  uurl=http://identi.ca/api/statuses/user_timeline
  wurl=http://identi.ca/api/users/show
  update=http://identi.ca/api/statuses/update.json
  dmurl=http://identi.ca/api/direct_messages.json
  frurl=http://identi.ca/api/friendships/exists.json
  user=[username]:[pass]
</span></pre>
<p>Step 3, create another file at ~/.ttytterc2 with just your twitter login:</p>
<pre>  <span style="color: #000080;">user=[username]:[pass]</span></pre>
<p>Step 4, create a dedicated screen session with the command <strong><span style="color: #000080;">screen -S ttytter</span></strong></p>
<p>Step 5, split the screen horizontally using the screen command <strong><span style="color: #000080;">Ctrl+a S</span></strong></p>
<p>Step 6, start your Identi.ca session in the top window with the command <span style="color: #000080;"><strong>ttytter.pl -rc=1</strong></span></p>
<p>Step 7, switch to the bottom pane with the screen command <span style="color: #000080;"><strong>Ctrl+a TAB</strong></span></p>
<p>Step 8, create a new window in the bottom pane with the screen command <strong><span style="color: #000080;">Ctrl+a c</span></strong></p>
<p>Step 9, start the Twitter session in the bottom pane with the command <span style="color: #000080;"><strong>ttytter.pl -rc=2</strong></span></p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.reallywow.com/wp-content/uploads/2009/01/ttytter.png"><img class="size-medium wp-image-25" title="ttytter" src="http://blog.reallywow.com/wp-content/uploads/2009/01/ttytter-300x267.png" alt="Example screenshot" width="300" height="267" /></a><p class="wp-caption-text">Example screenshot</p></div>
<p>Only set this up 2 hours ago but already I can tell this is going to work for me long term. Beats having to do hard resets due to some combination of <a href="http://www.twhirl.org/">Twhirl</a> and/or my video drivers. One improvement I&#8217;d like to investigate is some kind of color highlighting of the &lt;username&gt;&#8217;s to improve readability.</p>
<p><em>Update: January 13, 2009 at 11:30</em></p>
<p>So I quickly realized that the above setup has a major malfunction, namely that it doesn&#8217;t allow preserving of the split window so it&#8217;s not possible to detach and reattach to the ttytter screen session. So there&#8217;s an extra trick necessary to do this:</p>
<p>Step 3.5, create an &#8220;outer&#8221; screen session that wraps the ttytter session with the command <span style="color: #000080;"><strong>screen -e^Ee -S outer</strong></span>.</p>
<p>The <strong>-e^Ee</strong> option binds the escape key for that session to Ctrl+e instead of the default Ctrl+a. This is a common trick for embedding screen sessions within sessions. With this extra step I can now detach from the outer session using <span style="color: #000080;"><strong>Ctrl+e d</strong></span> and reattach with the inner split-screen session presevered using <strong><span style="color: #000080;">screen -r outer</span></strong>.</p>
<p>Also, I learned that to colorize the output you can use the -ansi option to ttytter.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.reallywow.com/archives/22/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
