CS Workstation Editing

If you are connecting to the CS workstations to use graphical applications, you should know that sometimes this is painfully slow. I discourage using eclipse this way, just download it and java at home and transfer the files. Some gui editors, such as gedit and emacs (the graphical version) run with only a little lag, but it can still get annoying. This page is for those who want to edit/compile/run things on our workstations, but don't want to deal with the UI.

Make sure you can work remotely. Here are some resources for getting set up: http://cs.gettysburg.edu/~tneller/dept/remote.html.

My recommendation is find an editor that you like that can work inside a terminal. This includes emacs (my personal favorite), vim and pico (or nano). Pico is by far the easiest as its commands are displayed at the bottom of the screen. It is not feature-rich, but functional.

Run an editor

Once you connect to one of our workstations, you can run an editor from the command line for a files called myFile as follows.
emacs:
emacs -nw myFile
vim:
vim myFile
pico:
pico myFile
The -nw (no window) for emacs prevents it from opening a GUI window.

Learn to use the terminal and an editor

Here are some links for resources to help you learn.

Suggestions


Clif Presser<cpresser@gettysburg.edu>
Last modified: Mon Mar 16 11:35:18 EDT 2020