dingus

Mostly written by someone named "nat" who seems to have left MIT. I think it eventually became part of gnome-terminal, but unfortunately only as a pale shadow of the original.

So what is it? It watches for regular expressions (like URLs, directories, files of certain types, etc.) and performs some action when you right click on them (i.e. netscape -remote, cd & ls, xv, gv, etc). Works in rxvt-2.4.5, (old) eterm, and with gpm in the linux console.

Get it here. I think it includes the code for rxvt-2.4.5, but no guarantees.

It relies on /proc to get the current working directory of the process it's watching, and unfortunately /proc is not portable among the unices. But URLs don't need the $cwd, so here's a lobotomized-but-still-has-the-most-important-feature version for everything but Linux.

overwrite and replace

overwrite: copy standard input to output after EOF.
From ``The UNIX Programming Environment'' by Kernighan & Pike

replace: replace str1 in files with str2 in place.


Rob Reid, rob.reid@nrc-crnc.gc.ca

Last modified: April 13, 2004