These instructions are for CVS users with a University of Alberta account. HOG is currently not available to users outside the UofA.
To begin using HOG, do the following:
- First, request membership to the Unix group hog. To do this, e-mail Nathan Sturtevant [nathanst].
- Set your CVSROOT shell variable to point to the hog CVS archive. Instructions assume that you are using csh or tcsh. (You can change your shell to tcsh using "ypchsh", entering your password, and then /bin/tcsh as your login shell.) Each of these setenv commands can and probably should be placed in your .cshrc.user file:
setenv CVSROOT :ext:login@games.cs.ualberta.ca:/usr/cvsroot
Replace login with your login name
- Set the access method to ssh: (This command should also appear in your .cshrc.user file so that it is set every time you log in.)
setenv CVS_RSH ssh
- [Optional] If you have a favorite editor, you can specify this:
setenv CVSEDITOR emacs
- Check out the the CVS archive:
cvs co project_hog
- After checking out the directory, you can change the root directory name to anything you want.
- You can test that things work:
make sample ./bin/sample
- To commit changes, you must first update your code to make sure there are no conflicts with any of the code already in the archive:
cvs update -d -A
- Then, you can commit any changes:
cvs commit
- Please make sure you leave meaningful comments about the changes you've made to the code, in case your changes need to be debugged later.
Prev: Memory
Generated on Tue Aug 18 03:46:10 2009 for HOG by
1.3.4