Beckbox
  • Email
  • Linkedin
  • Twitter
  • Youtube
  • Rss
  • Home
  • Email Features
  • FAQ
  • Technology
    • HOWTO: DNS
      • DNS FAQ
      • How DNS works
      • HOWTO: Dynamic DNS
    • HOWTO: SSH
    • MySQL
    • Remote Pair hacking
    • Use Cases
    • Benchmarks
  • House Rules
  • Private Beta

Remote Pair hacking

Home» Technology » Remote Pair hacking

images of top from two beckbox terminals courtesy of tmuxInspired from the great article http://denkinger.us/article/remote-pair-programming-with-tmux-vim, this HOWTO describes how to remotely run vim with two (or more) people operating and watching. This doesn’t just work for vim, but for ANY remote work session.

  1. tmux is already installed on your beckbox! You can also use http://www.gnu.org/software/screen/, also already installed on your beckbox! The steps for screen are outlined here (note, I’ve always had to tweak pty permissions with screen, and that’s not really needed with a tmp-owned socket as described below.)
  2. One person starts up a tmux session like so to create a socket in /tmp/remotepair:  tmux -S /tmp/remotepair
  3. The second (and subsequent) person starts up their tmux session and attaches to the existing socket: tmux -S /tmp/remotepair attach

Et viola! That was easy. Now just fire up your vim session and go. Note that because the person who started the tmux session is really the user in the eyes of Linux, that user’s regular environment and home directory are the ones that will be used to provide .vimrc.

EmailRedditTumblrPosterousShare/Bookmark

What Beckbox is all about…

Beckbox is about email, pure and simple. We've got a stripped-down Linux mail (and web) server built on open source components for less than you'll pay for most "cloud" servers. It's lean, fast, and cheap. What's not to love?

Tour Menu

  • HOWTO: SSH
  • MySQL
  • HOWTO: DNS
  • DNS FAQ
  • How DNS works
  • HOWTO: Dynamic DNS

@beckbox_com

  • No public Tweets found

Recent Posts

  • So you want your own game server?
  • Two can hack as one
  • What beckbox is all about..
  • Benchmarks..
  • Why use Beckbox for email vs Amazon?

Recent Comments

    Categories

    • DNS
    • email
    • excluded
    • Hacking
    • Uncategorized

    Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

    (c) 2012 Beckbox