Terminally Incoherent

Utterly random, incoherent and disjointed rants and ramblings...

Wednesday, January 25, 2006

Dr. Deremer's Programming Languages Class

Holy poopsicle! This class will be allot of work. I just scanned over this weeks homework, and its slightly on a nutty side. And this is day one. The syllabus said she will require ~6 hours of out of class work. When am I going to write thesis? Crap! I officially don't have any life from now on :(

Note to everyone who is taking this class with me. Do yourself a favor, and learn vi. Pico is halfway retarded on a good day. I also suggest compiling vim on freddie. It has few nice advantages, such as better incremental search (with highlighting), auto completion and etc. If you are a total newb, this is what you do:


  1. First grab the source code from vim.org. Best way to do this is by using wget:


  2. wget ftp://ftp.vim.org/pub/vim/unix/vim-6.4.tar.bz2

  3. This is a bz2 package so you will need to do this in two steps. The tar on freddie is archaic so it does not handle gz or bz2 files at all


  4. bunzip2 -d vim-6.4.tar.bz2
    tar -xf vim-6.4.tar


  5. Now, remember that you do not have root privs on freddie, so you need to install the app locally. To do that specify the prefix attribute when running the configure file.


  6. ./configure --prefiz=/home/students/username/
    make
    make install




Note that username here is your pegasus username. That's it. Just make sure that you add ~/bin/ to your path and you should be able to use vim normally. It worked for me :)

Another note - if you are using linux, gnu has a fortran compiler you can use. On debian based systems just do:

apt-get install gfortran-4.0

This should be sufficient to do assignment 1 without ever logging into freddie :)

Some links for the homework assignment:

Sigh... I'm seriously thinking about designating Sunday as my official Thesis day and hide from everyone to actually get some work done. I kinda want to walk in May so I can't afford to procrastinate anymore.

2 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home