...
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:
|
Expand | ||||
---|---|---|---|---|
| ||||
Komodo Edit for Mac and WindowsKomodo Edit is another free, full-featured text editor with syntax coloring for many programming languages and a remote file editing interface. It has versions for both Macintosh and Windows. Download the appropriate install image here. Once installed, start Komodo Edit and follow these steps to configure it:
When you want to open an existing file at Lonestar, do the following:
To create and save a new file, do the following:
|
Expand | ||||
---|---|---|---|---|
| ||||
Notepad++ for WindowsNotepad++ 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, it helps to create symbolic links to your WORK and SCRATCH directory in your home directory. Then you'll be able to get there just by clicking on the scratch or work folder in the Notepad++ Remote directory tree. See below for how to do this. | ||||
Expand | ||||
Komodo Edit for Mac and Windows | Komodo Edit for Mac and Windows | 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. Once installed, select "Preferences", then "Servers" and SFTP for Server type; then enter your hostname and username and save this profile as "Lonestar". Don't enter anything for port or default path. When you want to open a file at Lonestar, select File -> Open -> Remote file and the top drop-down menu will have "Lonestar". Select that, and it should show you all the files in your lonestar home directory. |
Expand | ||||
---|---|---|---|---|
| ||||
MacFuse/MacFusion/TextWrangler for MacWant your Lonestar files to appear like any other place on your hard drive? You can do this using MacFuse/MacFusion on a Mac. Want to edit files on TACC without having to use Editing Text Files on TACC: TextWranglerTextWrangler 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 OSXFuse/MacFusion using a nice GUI. It is a much more powerful text editor than TextEdit, and won't trip you up by wrapping lines etc., if you learn to use it. Even if you cannot install OSXFuse/MacFusion, TextWrangler allows you to edit a remote file via SSH. To do this:
Tip: Files beginning in a dot (.) like (.profile_user) are "hidden" and won't show up when you are navigating in Finder (if using OSXFuse/MacFusion). 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 to open a file, there is a box that you can check to show these files. Connecting to TACC Like a Hard Drive: MacFuse/MacFusionHere are the steps for an installation:
Copying Files To and From TACC: SFTP ClientsIf you can't get OSXFuse/MacFusion to work, you can still copy files back and forth between your computer and TACC using a secure FTP (SFTP) client. Some examples of free programs for Mac are: Now let's wrap up this brief linux tutorial. |
...