Crib Sheet

1. PC to Unix Connection With QvtNet Start / Programs / QvtNet / Terminal File / Open set host to "eagle" make sure the box "telnet" is checked Ok For each window you want: File / Open 2. For general information see: http://www.cs.unc.edu/help especially the GettingStarted/Introduction to the Computing Environment 3. Printing in Sitterson Hall There are several different ways to print files (source code, program output, etc.) when working in Sitterson Hall. For "general" documents: /usr/local/bin/enscript -Patlw146 LIST_OF_FILES Note that the -P option specifies which printer - be sure to specify the correct one or you will have mystery output all over the building. Here are 2 examples: /usr/local/bin/enscript -Patlw146 lab1.C /usr/local/bin/enscript -Patlw146 lab1.output For C++ source code, /usr/local/bin/enscript -T4 -Ec -Patlw146 LIST_OF_FILES where the additional options are for "pretty printing" C++ programs (keywords in bold, etc.). This is actually not a very good program (perhaps "pathetic print" is a better name) but it is better than no formatting. In general, you can omit the path to the 'enscript' program enscript -T4 -Ec -Patlw146 LIST_OF_FILES as long as your path is properly set (it should be). Plus you can find out more than you ever wanted to know about 'enscript' by typing man enscript