Example codes you can download

curses.tgz
Once you have these on your PC you can use a program like Transmit (OSX) to put the .c file on the shell.mfaca.sva.edu server for compilation.
Tutorial