tcsh support

2004-04-23
2013-04-24
  • Daniel Flemming

    Daniel Flemming - 2004-04-23

    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
    endif

    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.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks