|
| How does sectioning work? |
| |
To sign up for a section (once classes begin and we announce
that the program is available), you must log into your Harvard
account in a telnet window, and enter the following at the
user prompt:
is06:
% ~libe50a/bin/section
A program will execute and display the available
selections for sections, asking you to select one. Once
you have done so, a message will confirm your assignment.
Section assignments are made on a first come first serve
basis, so register as soon as possible. You can change
your mind and move yourself to another section by running
the section program more than once, but you may not have
as many options as you did when you first ran the program.
(As sections get full, they are no longer listed as choices.)
To confirm your section assignment, view the current
listing of sections when it is posted. If the course
has to add more sections, all late comers will be forced
to section into those choices. Section attendance is
not mandatory. You also do not have to attend the section
you are assigned to, but you MUST submit homework to
the TF whose section you are officially in. You are free
to attend as many sections as you like. |
| |
|
| I
can't attend any of the sections left to sign up for; now what
do I do? I'm signed up for a section I can't go to! |
| |
Sections
are important in the course for two different reasons; one is
to get some individual help and a chance to discuss the lecture
material, the other is to have your homework graded. If you are
not able to attend the section to which you are assigned, you
are very welcome to attend any section which you can go to. You
are also welcome to attend more than one section, if you find
that helpful - many people do.
HOWEVER, you must turn your homework in to the TF whose section you are
officially registered in, EVEN IF you do not attend that section. I'd suggest
talking to your TF after class or e'mailing him/her, to explain the situation
and find out if they have any specific preferences as to how to turn in
homework - different TF's sometimes like things done in slightly different
ways. Also, make sure that you are included if they have a mailing list
- important homework tips and section information are frequently communicated
in this way. |
RETURN
TO TOP
|
| I am completely new to Unix. What resources are available
to help me? |
| |
There are some Unix tutorials listed on the Resources
Page, as well as information on using the various programming
editors. However, the most useful (albeit complex) reference
guide to Unix is just a few keystrokes away. Whenever you
are in doubt about how to use a Unix command, you can access
the online manual pages by typing at the command prompt:
man <command-name>
For example, typing:
:~ % man ls
will produce a manual page on the command used to list the contents of
a directory. Use your spacebar to move down through the manual page. Pressing
Q will return you to your prompt. |
| |
| How
do I forward my Unix e-mail to a different address? |
| |
Go to http://www.fas.harvard.edu/computing/myaccount/ for
information on how to forward mail, check on and manage your
account, and other details. IF YOU ARE NOT REGULARLY CHECKING
YOUR FAS ACCOUNT MAIL, please set up forwarding!!! |
| |
|
| How do I attach a file to a mail message in Pine? |
| |
When you are composing a mail message, use the arrow keys to
move your cursor to the "Attchmnt:" line in the header of your
message. Then press CTRL-T,
which will take you to the listing of directories and files
inside your home directory. From there you may navigate through
the directory tree using the arrows and return key, and select
the file that you want to attach. Pine has an online help system
that contains more details on this process. If at any point
you are confused, press ? to
access the help files. Help information is also available in
the Pine program, from the Main Menu. |
| |
|
| How do I preserve my environment files? |
| |
Don't worry if you don't understand what this question is about.
But for those of you who are curious, the sectioning program
appended lines to your .loginand .cshrc files that set up some
E50a-specific aliases in your account. If they override something
you've set up, you could put selected bits of your .login code
after the lines that source our files. Do this "at your own
risk!" |
RETURN
TO TOP
|
| How do
I set up and begin a Telnet session? |
| |
You
will need to use a SECURE telnet program to connect to the Harvard
network; the address you will use is either fas.harvard.edu (for
e-mail and file management) or nice.harvard.edu for programming.
For PC users, SecureCRT is available from any computer lab on the FAS
Installer Disk. IF YOU USE THIS DISK, be sure to NOT SELECT the box
to install network connections - this is for students who live on campus,
and will wipe out any existing connections you have set up. Check the box
to install software, and both a secure telnet client and also a secure
FTP client (SecureFX) will be installed. When you open the SecureCRT program,
you will have a box preconfigured with Harvard addresses, and you may click
on one and then click connect. You will be prompted for your FAS username
and password. If you are not on campus, you can download these programs
by logging in with your HUID and PIN to http://www.fas.harvard.edu/computing/downloads/ Select
your OS along the top bar, then look for this program.
For Mac users, the easiest way to connect is using
the Mac OS X built-in Terminal program (located within Utilities,
inside Applications). This actually gives you a Unix terminal
emulator within which you may program, and all the commands
and options available on the FAS Unix system are there also.
To connect to FAS, open a Terminal window, and at the prompt,
type: ssh jharvard@fas.harvard.edu replacing jharvard with
your own FAS username. You will be prompted for your password,
and then see the connection in the Terminal window. |
| |
| How do
I transfer files from my local machine to fas.harvard.edu? |
| |
You need to download and install a File Transfer Protocol (FTP)
program on your local machine. The information to obtain the
programs is available from the course staff, or you may use
the FAS Installer Disk. You will want to set up a connection
to fas.harvard.edu or nice.harvard.edu (your
account mounts the same in both). FAS is fine for file transfer
and manipulation; nice should be used for running programs.
If you are using SecureFX on the PC (available on the FAS Installer
Disk or from the Downloads site listed above), when you open the program
you will see an inner window showing your local machine. and a Connect
box listing common Harvard locations. If
the Connect box is not visible, you may open it by clicking the File menu,
then Connect. You may either use the FAS connection, or create an additional
connection for nice.harvard.edu. Your new connection MUST use SFTP as the
protocol. Choose the connection you want, then click Connect. A second
window will open showing the remote account; to arrange the windows, click
the Window menu, then Tile Horizontally. You can change directories by
double-clicking on the directory you want to open in either window. To
transfer files, select the file(s) you want to move and drag it/them from
one window into the other.
If you are using MacSFTP on the Mac (available
on the FAS Installer Disk or fromthe Downloads site listed just above),
you will first see a window to type in the connection (you want to go to
either fas.harvard.edu or nice.harvard.edu), your login name and your password.
Once the connection is made, you will see a single window showing the remote
account. Double-click any directory to change into it. Then open your local
folder containing your files, and drag items between the two windows to
transfer them. |
| |
|
| Sometimes
I have lines of information or messages that get inserted on
the screen when I'm typing on the Unix system and I don't know
how to get rid of them. Help? |
| |
If
you receive mail or have other activities in your account, it
may show up on the screen. In Unix or a telnet window, press
and hold the CONTROL key while you type the letter L (upper case
not needed), and it will redraw the screen without disturbing
your text. |
RETURN
TO TOP
|
| How
can I print to my home/work printer? |
| |
The
best way to print files is to transfer them to your computer
via FTP, then print them from a programming editor or text
editor on your own computer. There is information above about
obtaining and using an FTP client.
If you want less work, you could also use Unix commands ("cat <filename>")
to display the file in your telnet window, then with
the mouse highlight the lines you want to print.
Use "Print Selection" under
the FILE menu on Windows to print to your local printer. On the
Mac, when you select Print in Terminal, you will need to then select Terminal
from the Print Dialog pull-down menu, and choose "Print selected text". |
| |
|
| How
do I print files at the Science Center at Harvard? |
| |
To
print a file from your unix account, use the "enscript" command.
You first need to identify the printer to which you want to print
files. For example, if you are working in the West Terminal Room
(SC Basement 14), the best printer to use is scb14_2. In that
case, your command would be:
is02:% lpr -P [printer_name] [file-name]
In this command, lpr sends a print job; [printer_name] is the selected
printer; and [file-name] is the name of the file you wish to print. You
must have money in your printing budget to print at the Science Center. See
http://www.fas.harvard.edu/computing/kb/kb0041.html for more about Unix
printing.
For more information on printing at Harvard, see the FAS documentation
at:
http://www.fas.harvard.edu/computing/kb/kb0834.html |
RETURN
TO TOP
|
| What
are the guidelines for submitting homework? |
| |
Check
with your TF for his/her specific requirements; these may vary
in the way pages need to be formatted or programs commented.
You must submit the programs
electronically (Java), AND A PRINTED COPY to have them graded
and receive credit! You should also save and submit your output
files (for Java) from testing and running your programs. See
the Homework Page for details. |
| |
| What
are the guidelines for testing programs? |
| |
This
will be covered in lectures and sections. Basically, you should
check all boundary conditions to make sure the program doesn't
crash. If the homework problem describes any sample situations,
make sure your program can handle them. If you aren't sure what
the problem expects, definitely ask your TF or one of the course
staff!
Once we get to Java and begin to error-proof programs, you will need to
check any possible incorrect type of response that a user might put into
your program, as well as all boundary conditions. These types of things
WILL be tested when the programs are graded!! |
RETURN
TO TOP |