Just thought you guys might like to see some code. I'm a tcsh user, and well, the included scripts didn't really work for me.
This does, though. I have this at the start of my .cshrc:
if ($?USER == 0 || $?prompt == 0) exit
if ( $?LD_PRELOAD == "0") then
exec tsocks tcsh
Works like a charm. :) This hack needs the first line, or else non-interactive scripts using csh go poof.
Lindberg G Williams Jr
An executable that uses setenv and exec should be really be written for the socksification shell command but that should not also mean that scripts will be done away with... immediately.