...
| Expand | |||||
|---|---|---|---|---|---|
| |||||
nano on Lonestar via sshnano is a very simple editor available on most Linux systems. If you are able to use ssh, you can use nano. To invoke it, just type:
You'll see a short menu of operations at the bottom of the terminal window. The most important are:
Be careful with long lines – sometimes nano will split long lines into more than one line, which can cause problems in our commands files, as you will see. |
| Expand | |||||
|---|---|---|---|---|---|
| |||||
Notepad++ forPC usersWindowsNotepad++ is an open source, full-featured text editor for Windows PCs (not Macs). It has syntax coloring for many programming languages (Python, Perl, shell), and a remote file editing interface. If you're on a Windows PC download the installer here. Once it has been installed, start Notepad++ and follow these steps to configure it:
To open the connection, click the blue (Dis)connect icon then select lonestar connection. It should prompt for your password. Once you've authenticated, a directory tree ending in your home directory will be visible in the NppFTP window. You can click the the (Dis)connect icon again to Disconnect when you're done. Since much of the editing we'll do will be in your SCRATCH area at TACC, rather than having to navigate around TACC's complex file system tree, let's just create a symbolic link to your SCRATCH directory in your home directory. Then you'll be able to get there just by clicking on the scratch folder in the Notepad++ Remote directory tree.
|
| Expand | ||||
|---|---|---|---|---|
| ||||
Komodo Edit for Mac and WindowsKomodo Edit is another free, full-featured text editor for both Macintosh and Windows that will let you edit files over ssh. Download the appropriate install image here. |
| Expand | |||||
|---|---|---|---|---|---|
| |||||
MacFuse/MacFusion/TextWrangler for MacusersWant your Lonestar files to appear like any other place on your hard drive? You can do this using MacFuse/MacFusion on a Mac. Download and install MacFuse and MacFusion. Restart your computer. Open MacFusion. Click the + menu in the window and select SSHFS. Enter your login information for lonestar. Choose connect. The remote file system will appear in Finder (depending on your settings it may be on the desktop or inside the computer shortcut in the side of a Finder window). You can also click on the mounted volume within MacFusion and choose "Reveal" from the gear menu. In order to make navigating to the different file systems on lonestar easier ($SCRATCH and $WORK), you can set up some shortcuts with these commands that create folders that "link" to those locations. (Run the commands when logged into Lonestar with a terminal, from your home directory).
TextWrangler is a recommended FreeWare text editor for MacOS X. (It even keeps with the theme TACC has going with naming its clusters!) You can use it to directly edit text files on Lonestar with MacFuse/MacFusion using a nice GUI. It also allows you to edit a remote file via SSH. Tip: Files beginning in a dot (.) like (.profile_user) are "hidden" and won't show up when you are navigating in Finder. There is a way to turn on showing these files in finder, but it can get annoying because they will show up everywhere. If you use the TextWrangler "open" command, there is a box that you can check to have these files show to open them. |
...