The most efficient way to do program development with NAG on Strauss is to use a workstation that functions as an X Windows server. This type of workstation includes X terminals, Microsoft Windows systems using Exceed and UNIX workstations. In these multi-windowed environments, you can open several windows at once - a documentation window, an editor window and a compile/run window.
This document assumes that you have already modified your UNIX configuration files as described in the document Getting Started with NAG: Setting Up Your UNIX Account . Further modifications to these configuration files, described below, will facilitate your use of NAG in an X Windows environment.
if $?DISPLAY then alias nagxterm '(setenv NEED_NAG; xterm -name commands &)' alias nagdoc 'xterm -e lynx $NAG_DIR/doc/un.html' alias nagstrauss\ ssh -X -f strauss.udel.edu 'setenv NEED_NAG\; xterm -name commands' endifThese three new commands will automatically become defined when you start a new shell or open an new xterm window.
commands.VT100.Foreground: DarkSlateBlue commands.VT100.Background: lightGray commands.VT100.geometry: 80x48 commands.VT100.saveLines: 4800 commands.VT100.ScrollBar: trueIn this case any xterm on strauss with the name "commands" will have these resources set. The window will be 48 lines long and 4800 lines (100 pages) will be save in the scroll back buffer. You can use the scroll bar, or you can use the Page Up, Page Down, Home and End keys to display all the saved lines.
It is recommended that you edit the source or data files from another window. That way, the normal output is not interupted with full screen edit lines.
X windows in a network windowing system, and typically your X windows home is not on strauss. You may be using gnome or KDE or CDE or Mac OSX. It is beyond the scope of this document to give detailed instructions for these desktop UNIX systems with X windows. You should be able to type the command
ssh -X -f strauss.udel.edu 'setenv NEED_NAG\; xterm -name commands'into a configuration panel or a properties box to start a NAG configured xterm on strauss.
On a Windows PC with Hummingbird's eXceed X windows server, you can setup an icon on the Windows desktop to launch a NAG xterm on strauss, but you will need Hummingbird's SSH client. You can always follow the steps to accomplish the same thing.
Last modified: May 16, 2005
This page maintained by Dean Nairn
Copyright © University of Delaware, 2005.