Software

Here is some random software I wrote that I think is useful. I've catagorized it by usefulness. The first section contains ones that I use all the time, the second contains more random stuff. These were written for Unix-like environments.

Useful

lcvs.el

A little CVS mode that basically shows you ``cvs -nq update'' in a buffer and allows you to act on the contents. Partial updates, commits, diffs, etc are supported. Simpler and less verbose than PCL-CVS.

once-only-header.el

Provides a cool way to add CPP once-only-include guards to C/C++ header files. Scoped guard names are fully supported.

lmalloc

Coming soon... A wrapper around malloc that keeps track of stack traces to there mallocs were done and the sizes. This info can be dumped out later.

grope

A front end to Glimpse. Looks in the current directory and parents for the glimpse index files then filters the glimpse output to translate the, potentially long, absolute paths to relative ones.

Note this only uses glimpse, not webglimpse, so you shouldn't have to bother with all the licencing crap.

glimpseify is a useful script to run glimpseindex

mailgrep

Allows you to grep thru a bunch of mail messages in a From_ style mail folder. Can specify specific subjects or authors to match or arbitrary patterns in the message.

This is much better than agrep -d'^From ' in that it allows a much richer set of regular expressions you can use (arbitrary Perl ones.)

monthsplit

Take a From_ style mail folder and split it up into one for each month. This is more robust than the one in Majordomo.

rcslocks

Figures out which files in a directory are RCS locked. Handles symbolic revisions nicely.

rename

This is basically the same as the one from the Perl "camel book". I added a -n arg to prevent it from actually doing the renames. I included it here because I use it a lot and think more people should know about it.

rterm

A fancy way to do xterm -e rlogin host. Has fancy features for choosing color schemes and titles, as well as a nice solution to the DISPLAY variable problem. Some of this is moot with what SSH gives you.

warpto.c is useful in conjunction with rterm.

yabiff.tcl

Yet Another Biff program (Yet another "yet another" name). This opens a little window and shows "frm -n" output in it. "frm" is from the elm mail reader.

Screen shot This is a little old, the top part isn't there anymore.

Random

hl

Reads files and highlights matches of a pattern. Useful like grep stuff foo.c | hl stuff. You might want to look on the Perl archives for one of the highlighting greps.

linkx

Takes a path and tells you the symlinks involved in traversing it. Useful when you get a ``Too many levels of symbolic links'' error and want to find out what is really going on.

lslinks

Finds the links in the current dir and tells you where they point. It is much faster than an ls -l since no statting or sorting is done.

weak

Prints out your schedule for the week. This is handy for figuring out which sections to take from a bunch of classes.

Sample .schedule file
Sample weak output


Bart Robinson <lomew@cs.utah.edu>