Introduction |
This handout will introduce you to the Windows 2000 and XP Operating System and
all the skills that you will need to use it for programming.
Other Microsoft operating systems (Windows NT, 95/98, etc.) operate similarly.
At the beginning of the course, when we are just starting to learn programming,
practice these skills repeatedly, until they become intuitive.
Because there are few skills, and because you will use these same skills
over and over again while taking this course, you will soon master them.
Every semester about 500 students successfully complete this process. Please feel free to ask other students if you get stuck; and, if someone gets stuck and asks you a question, please try to help them. Mastering the use of the operating system is NOT an academic part of the course, so feel free to give and take help |
Logging On |
The following instructions are for logging onto any machine running
Windows XP in CMU's Clusters.
When you arrive at a machine, you should see a Welcome to Windows box displayed.
|
Logging Off |
When you are finished working on a cluster machine, you should always log off.
Before logging off, make sure to Backup all your
files that contain useful information. Then ...
|
Viewing File Extensions |
File extensions are the the part of the file name after the period (e.g., the
mcp in project.mcp or the java in Application.java).
It is often very useful to be able to see both file names and extensions.
On some Windows operating systems (e.g., 2000), this is the default; on others (e.g., NT)
you must follow the instructions below.
|
Renaming Folders and Files |
To rename a folder or file (if it is a file with an extension, the
extension should remain the same: you will be warned if you accidentally
change it);
|
Enabling Scrolling in the Console Window |
Java programs often input/output text in the console window.
If scrolling is enabled on these windows, you can look at all the text printed.
On some Windows operating systems (e.g., Windows 2000), this is the default (300 lines);
on others (e.g., Windows NT) you must follow the instructions below.
To allow [more] scrolling in this window, so that you can see a [longer] history of
all your program's input/output, perform the following steps (you may have to
perform these steps each time that you log on):
|
Zipping Files |
WinZip (the zipping/unzippng software) is already installed on all the computers in the
cluster.
If you want to install it on your own computer, follow this link to the
WinZip web page
to download a copy).
Programming assignments must be turned in as single zip file that contains all the files inside a project folder. To zip all the files in a folder named F, for example, into a single zip file
|
Unzipping Files |
To unzip all the files in a zip file, for example F.zip
|
Transferring files to and from your AFS space |
One way of achieving this is to utilize the SSH
software. Computing services has help documents on this.
URL as of 8/26/2006 is: http://www.cmu.edu/computing/documentation/ssh/usingSSH.html |