UserPreferences

BrynMawrFileEditing


1. Bryn Mawr File Editing

There are two ways that you can access the servers in Computer Science:

  1. Sit down at a machine booted into Linux, and log in

  2. Remote access (See BrynMawrRemoteAccess for more details)

To editing a file, it will depend on your access method. There are three groups of editing programs: those that you can only use when you are sitting in front of a CS computer booted into Linux, and those that you can use when you are remotely logged in (say from home).

1.1. Sitting in front of a CS Computer

To edit a program on bubo you can use programs like gedit, nedit, emacs, vi. Many people use emacs. Here is a cheat sheet for some common emacs commands: http://www.ouc.bc.ca/cosc/emacscheat.html

1.2. Remote Access

When editing a program remotely (say, using ssh), you can't use the fancy graphical programs, like gedit (unless you are running X). So, you'll need to run a program that runs in the terminal window. Luckily, there are many fine editors available, including many of those above: emacs, vi. Also, there are programs like pico, but, again, many people use emacs.