The most efficient way to do program development with CTT on Strauss is to use a workstation that functions as an X Windows server. This type of workstation includes Sun Rays, 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 CTT: Setting Up Your UNIX Account . Further modifications to these configuration files, described below, will facilitate your use of CTT in an X Windows environment.
if $?DISPLAY thenThese three new commands will become defined when you start a new shell or open an new xterm window.
alias cttxterm '(setenv NEED_CTT; xterm -name commands &)'
alias cttdoc 'acroread $CTT_DIR/help/imsl.pdf &'
alias cttstrauss\
ssh -X -f strauss.udel.edu 'setenv NEED_CTT\; xterm -name commands'
endif
commands.VT100.Foreground: DarkSlateBlueNow, 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 saved in the scrollback buffer. You can use the scrollbar, or you can use the Page Up, Page Down, Home and End keys to display all the saved lines.
commands.VT100.Background: lightGray
commands.VT100.geometry: 80x48
commands.VT100.saveLines: 4800
commands.VT100.ScrollBar: true
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.
These last two steps can be accomplished with one command:
ssh -X -f username@strauss.udel.edu 'setenv NEED_CTT\; xterm -name commands'Use this command to customize your desktop for quickly openning a CTT-configured xterm on Strauss.
Last modified: May 16, 2005
This page maintained by Dean Nairn
Copyright © University of Delaware, 2005.