Coding on Unix via Windows with Notepad++ and Putty

24 Apr 2011

Many universities and colleges require a Unix coding environment for students, with SSH access for remote editing. If you’re familiar with vi or emacs then that’s probably all fine, but for the children of the GUI era, something a little more modern may be in order. With Notepad++ you can code as if it was on your machine, and with Putty you can run your code it as if it was on your machine. Here’s how:

Installing and configuring Notepad++

  1. Install Notepad++
  2. Click Plugins > NppFTP > Show NppFTP window
  3. Click the gear icon on the right, and select Edit Profile Settings NppFTP > Options > Profile Settings
    • Click Add New and enter a suitable name.
    • Type in the address of your SSH server, with your username and password. You don’t need to change any other settings here, unless you’re accessing via FTP instead. Click Close when done.

Profile Settings

  • Click the connect button and select your connection

Select your connection

  • Voila! Browse your files on the right, and double click them to edit.

Installing and configuring PuTTY

Setting up PuTTY is not much more work. PuTTY offers a console interface to your Unix (or similar) environment.

  1. Download PuTTY and install it.
  2. Enter your server’s address, then type a name for the connection and click Save for easy access later.

Enter your server name and save the connection

  • Highlight the connection in the list and click Open.
  • Enter your username and password as prompted.
    Note: You may not see your password as you type. Don’t worry, just press Enter when done.

Done! * Done! You may now type commands and compile code as if you were at a local terminal.

These tools provide a much friendlier environment for coding.

RECENT BLOG POSTS

Yesterday I attended my second gamejam, an eight hour event where teams form to work on small games together around some loose themes, which this time were Black & White, Rockets, and Masks. Read More...
It's early to say this, and maybe a little crazy, but I can't help but put Twenty, a simple game from Stephen French, in the same category as Tetris. Not just in the way it plays - though it shares that methodical feeling of clearing a space that transitions to crowded panic - but in how it takes just a single mechanic and a simple interface to create something truly elegant and timeless. Twenty deserves to be played for decades to come, just like Tetris. Read More...
![Trippy!](/assets/snake.png) Phantogram always puts on a great concert and at the last one I was struck by a black and white animated backdrop of concentric circles giving the illusion of a slithering snake. As a challenge I decided to see if I could recreate this effect in a web browser. After starting out with Snap.svg I realised I could probably do the whole thing in CSS. Read More...