Using Coda’s Terminal Tab Locally

August 22, 2008, 8:22 am · Filed under: Apple, Coda, Web Development, Widgets

This might be pretty obvious, but it’s really simple to use Coda’s Terminal tab to interact with your local system from the command line. Here’s how…

andrew.hedges.name



I am a web developer, living and working in New Zealand. I’m into my family, photography and frisbee sports.

Don’t cry because it’s over. Smile because it happened.
Theodor Seuss Geisel


Meta Me

LinkedIn
Twitter
Facebook
Ma.gnolia
Zooomr


Topics

Apple · Business · Coda · Design · Google · JavaScript · jQuery · Life · Marketing · New Mexico · New Zealand · PHP · Politics · Ruby on Rails · Twitter · Usability · Web Development · Widgets


Archives


Most Popular

Defeat comment spam? Yes we can! · The first 48 hours of PHP Function Reference, by the numbers · There is too much. Let me sum up. · What will be your legacy? · Make long URLs short with tr.im.it · On the value of Twitter · Coda 1.5 is the bee’s knees · Series on hold: What a surprise… · Radiant JavaScript Singletons Freelance Down Under · innerHTML versus the DOM: Can’t we all just get along?


Most Recent

Defeat comment spam? Yes we can! · There is too much. Let me sum up. · What will be your legacy? · Make long URLs short with tr.im.it · On the value of Twitter · Ego-surfing, 2001 style! · Stack Overflow: I’m sold! · V8: neither all that nor a bag of chips · Playing to a browser’s strengths: Simple Templates 1.1 · Introducing jQuery Simple Templates


Recent Reads

Encouraged Commentary · Google Weather API informal documentation · html5.org - HTML revisited · Introduction to WAI ARIA · bookoutlines / Predictably Irrational · The Rise of HTML5 · Five CSS design browser differences I can live with · HTML 5: The Markup Language · Avoiding Silos: “link” as a first-class object · The facade design pattern in JavaScript

See more @ Ma.gnolia


Friends

80/20 · 90 Seven Design · Alyson Hurt · Brian Warren · Daniel Lyons · Daniel Schwartz · David Hedges · Joshua Sallach · Kelly Green · Mark Bixby · Method Arts · Morgan Pyne · Piers Harding · Rob Pongsajapan · Ryan Park · seven-gen · Vaughan Rowsell · Vincent ThomĂ© · Voom Studio


Recommended Books on
Web Development

My bias is for references over “cookbooks.” I want to know all of my options, not just one way to do something. Show me the why as well as the how and I am happy.

JavaScript: The Good Parts · JavaScript: The Definitive Guide · Designing with Web Standards · CSS: The Definitive Guide · Prioritizing Web Usability · The Elements of User Experience · Don't Make Me Think: A Common Sense Approach to Web Usability


Subscribe

Atom · RSS 2.0


I’ve hosted this website with pair Networks since 1997. They rock.

This blog is powered by software I wrote. Want some of that? Hire me.

If you haven’t checked out Panic’s excellent web development IDE, Coda, you owe it to yourself to download the free trial. It’s a great piece of Mac software from one of the best Mac software shops around.

One of Coda’s features allows you to work in a terminal window from within the IDE. While this is quite excellent for tweaking server settings and such, by default it appears to work only for remote connections. The good news is that it’s really simple to set it up to work with local files as well.

Sharing Preference Pane Sharing Pref Pane

Coda Terminal Login Screen Coda Terminal Login

Coda Terminal Session VoilĂ !

Select Shell Source Select Shell Source

Coda Local Terminal Session Coda Local Terminal Session

What you do is go to your Sharing preference pane, found in System Preferences (see image to the right) and turn on Remote Login, if it’s not already enabled.

Now, you can just go into Coda, hit the Terminal tab, and log in to your local system. Use localhost as the server name and your system login credentials as the username and password and Coda will connect to your local file system allowing you to do anything you could do directly in Terminal.app.

There is no step 3.

And, because I haven’t gushed enough about Coda… If you do Dashboard Widget development, you really owe it to yourself to check out Coda. I set up a site that uses my Widgets folder as its root directory. This means I can just open that site, right-click on a widget, choose “Show Package Contents” and I have access to all of its innards from within the IDE. That, and the preview pane uses WebKit (the same rendering engine used by Widgets themselves), so it’s great for getting started laying out your widget’s design. This is all, of course, if—like me—you don’t use Dashcode

Update:

Turns out I was too clever (and too blind, apparently!) for my own good. The smart folks at Panic anticipated the need to connect to a local shell. (Didn’t I say? They’re good!)

In the Terminal tab in Coda, just click on the select list and choose “Local Shell” (see screenshot to the right). I verified that this works, regardless of whether Remote Login is enabled. Thanks to “bardiir” from the Coda Users Google Group for enlightening me!

Fin

Comments close automatically after 15 days.
Still have something to say? Drop me a line!