How To Edit Files
A few options:
Easy:
- Log in as described in From a Mac computer or From a Windows computer
- Type "gedit &" (and hit return) … this is a rather simple editor, but it is easy to use. It might be slow if you have a slow network connection, but hopefully will be OK for on campus use
Easy (but without X11):
- Log in as described in From a Mac computer or From a Windows computer
- type "pico" (and hit return) … this is another simple editor, but this time completely text based. It will be faster than gedit over slow network connections, and doesn't require you to have X11 configured properly.
- Note: The caret "^" symbols in pico mean "Control" (e.g., "^X" = Cntrl-X)
Harder:
- Log in, as above
- Type "emacs -nw filename.f90" This will open a new file named "filename.f90" (of course, you can use whatever name you like)
- You will need to learn emacs (it is not too hard to learn the basic commands) Here a few tutorials:
http://hsrl.rutgers.edu/ug/emacs_tutorial.html
http://jeremy.zawodny.com/emacs/emacs.html
http://www.gnu.org/software/emacs/tour/
After you have gotten familiar with one of these methods, the next step is to compile your first "hello world" program using the F90 compiler. [http://h205.wikidot.com/how-to-compile-your-first-fortran90-program]
page revision: 5, last edited: 15 Sep 2008 14:54