<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Floehopper: Remote Pair Programming</title>
    <link>http://blog.floehopper.org/articles/2008/03/13/remote-pair-programming</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts on the bergy bits of life</description>
    <item>
      <title>Remote Pair Programming</title>
      <description>&lt;p&gt;A while ago, &lt;a href="http://blog.seagul.co.uk/"&gt;Chris&lt;/a&gt; mentioned that &lt;a href="http://blog.seagul.co.uk/articles/2007/09/29/monitoring-the-mac-osx-filesystem-with-ruby"&gt;we&amp;#8217;ve been trying out a few ideas&lt;/a&gt; for making remote &lt;a href="http://www.extremeprogramming.org/rules/pair.html"&gt;pair-programming&lt;/a&gt; easier. We&amp;#8217;ve been doing quite a bit more remote pairing recently. Most of the time we just use a combination of &lt;a href="http://en.wikipedia.org/wiki/VNC"&gt;&lt;span class="caps"&gt;VNC&lt;/span&gt;&lt;/a&gt; (I&amp;#8217;ve been using &lt;a href="http://www.redstonesoftware.com/products/vine/server/vineosx/index.html"&gt;Vine Server&lt;/a&gt;) and voice over &lt;a href="http://www.skype.com/"&gt;Skype&lt;/a&gt; (using a headset really helps).&lt;/p&gt;


	&lt;p&gt;But something else we&amp;#8217;ve used successfully is multi-user &lt;a href="http://www.gnu.org/software/screen/"&gt;&lt;span class="caps"&gt;GNU&lt;/span&gt; screen&lt;/a&gt; sessions. The advantage of this technique is that much less bandwidth is required and the terminal is much more responsive. I thought I&amp;#8217;d post the magic incantation we&amp;#8217;ve been using (on &lt;a href="http://en.wikipedia.org/wiki/Mac_OS_X"&gt;&lt;span class="caps"&gt;OSX&lt;/span&gt;&lt;/a&gt;), in case anyone else finds it useful&amp;#8230;&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;  # on the server
  sudo chmod u+s /usr/bin/screen

  # first user connects to server over ssh and runs the following
  screen -S &amp;lt;session_name&amp;gt;
  ctrl-A :multiuser on
  ctrl-A :acladd &amp;lt;client_username&amp;gt;

  # second user connects to server over ssh and runs the following
  screen -x &amp;lt;server_username&amp;gt;/&amp;lt;session_name&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
      <pubDate>Thu, 13 Mar 2008 09:48:22 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:d04659dc-9918-4e46-8387-35eb394e538f</guid>
      <author>James Mead</author>
      <link>http://blog.floehopper.org/articles/2008/03/13/remote-pair-programming</link>
      <category>pair</category>
      <category>programming</category>
      <category>agile</category>
      <category>xp</category>
      <category>gnu</category>
      <category>screen</category>
      <category>vnc</category>
      <category>skype</category>
      <category>osx</category>
      <category>terminal</category>
    </item>
    <item>
      <title>"Remote Pair Programming" by Chris</title>
      <description>&lt;p&gt;I think it&amp;#8217;s fair to say that we use vim when only a little editing is required.  If we&amp;#8217;re going to need to touch a few different files then we tend to drop back into vnc/textmate.  Screen helps with shared mysql, console sessions so its use isn&amp;#8217;t limited to just development.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Mar 2008 18:23:43 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:3e00e274-62c3-4160-9861-833eb3f9c261</guid>
      <link>http://blog.floehopper.org/articles/2008/03/13/remote-pair-programming#comment-318</link>
    </item>
    <item>
      <title>"Remote Pair Programming" by Christian</title>
      <description>&lt;p&gt;What do you edit code with? VIM?&lt;/p&gt;</description>
      <pubDate>Thu, 13 Mar 2008 18:13:44 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:665c4a71-7ba2-42bc-ba1c-a69566a2dcc7</guid>
      <link>http://blog.floehopper.org/articles/2008/03/13/remote-pair-programming#comment-317</link>
    </item>
  </channel>
</rss>
