Home | |
Schedule | |
Assignments | |
Lectures | |
Resources
Helpful Web Sites
- Emacs hints & cheat sheet - if you forget
the basic key combinations.
- Emacs tutorial for beginners - if you want a step-by-step
guide to using emacs.
- Vim tutorial for beginners - Vim is the major
alternative to Emacs (nearly all serious systems programmers use one or the other). If you grow tired and frustrated
with emacs, give vim a try. But beware: while emacs will drive you batty with command-shift-meta-whatever key
combinations, you will probably find vim very unusual at first. So you should read a little about it before even
trying to run it.
- A good step-by-step C++ tutorial. There is a book too that
I have heard is pretty good.
- A rather dry but clear and concise C++ tutorial.
- Extensive C++ Reference - contains exhaustive details about most
every C++ library, function, operator, etc. that we will encounter in this course.
- Hints on debugging, plus a bare-bones GDB cheat sheet.
Useful Software
Full remote desktop access to radius (works only on campus)
- Oracle Virtual Desktop Client
[Windows version,
Mac version,
iPad version search for "Oracle Virtual" on iTunes app store] - This software
will only work on campus. Install it on your laptop to get remote access to your
radius desktop. Just type radius.holycross.edu as the server name when
prompted.
- Mac/Windows: You can change the default screen size if you like. To do
so, go into the Oracle Virtual Desktop Client settings (look at the bottom
of the connect window) before you connect to radius.
- Mac users: the tilde key may not work. Run this command:
/home/fac/csci131/bin/xmodmap-settings
then log out and log back in. Your tilde should now work.
- Mac users: to get your right command and shift keys working, go into the
Oracle Virtual Desktop Client settings before you connect to radius,
then change the "host key" settings to "None".
.
Graphical remote access to radius (works anywhere)
This is a more traditional way to get graphical remote access to a
Linux machine. You may or may not get a full desktop, but when you run emacs or
other programs they should open in their own window as usual, and you should be
able to use the mouse within emacs.
- MobaXterm for Windows -
This is one of many X11 clients for Windows. MobaXterm also comes with an SSH client (for
logging in without a graphical interface) and an SCP client (for copying files
back and forth from your radius home directory to your laptop).
- Mac users can use the X11.app / quartz app
instead, depending on your operating system version. There are likely other
programs available as well. Try searching for "Mac X11 Server". After running the X11 app, log in to radius by typing
this into a terminal window:
ssh -X username@radius.holycross.edu
(use your login name instead "username", obviously). You can then run emacs and do other commands. To see your files and
folders, and possibly even your radius desktop, run this command on radius:
nautilus &
Text-only remote access to radius (works anywhere)
SSH (short for "secure shell") gives you secure remote access to the radius
command line. It is the modern replacement for the old Telnet remote
console program. SSH works from anywhere, including from off campus. After
connecting, you will be greeted with the radius command prompt, and you can use
cd, ls, g++, and all the other commands we use in lab. The downside is that you
can only use the keyboard; you will not be able to use the mouse and there will
be no menu bars or other graphical interfaces, etc. You can still run emacs, but
it will open in a "text only" mode right within the terminal window, and you
will have to use keyboard shortcuts for saving, opening files, etc.
- PuTTY
for Windows - This is one of many SSH clients for Windows.
Use the menus to connect to
radius.holycross.edu using your normal login name and password.
- MobaXterm for Windows also
inclues an SSH client.
Use the menus to connect to
radius.holycross.edu using your normal login name and password.
- Mac Terminal Mac users can use the built-in ssh command that is
accessible from the Terminal app. Open the Terminal app then type
ssh username@radius.holycross.edu
(use your login name instead "username", obviously).
Transferring files to and from radius (works anywhere)
SCP lets you copy files back and forth between your radius home directory and
your laptop.
- WinSCP for Windows and Fugu for Mac - These are
some of the many user-friendly SCP clients available for Mac and
Windows.
- MobaXterm includes a user friendly SCP client.
- Mac users can also use the built-in scp command from within the
Terminal app. You use it almost just like the regular cp command to copy
files, but you can prefix the file path with your radius login information. To
copy hello.cc from my lab directory on radius to my own Mac's ~/Desktop
directory , I might do something like:
scp username@radius.holycross.edu:labs/lab1/hello.cc ~/Desktop/
And to copy in the other direction:
scp ~/Desktop/hello.cc username@radius.holycross.edu:labs/lab1/
To copy a whole directory, use the -r option, e.g:
scp -r username@radius.holycross.edu:labs/lab1 ~/Desktop/
Home | |
Schedule | |
Assignments | |
Lectures | |
Resources
|