> > > In my script to invoke Pan, I have
> > > 
> > > export TMP=/scratch/tmp
> > > 
> > > so apparently I used to have the same problem in some forgotten past :-)
> > 
> > Thanks. So, there's no way to do it for Pan only and not everyone's tmp? 
> > :(
> 
> Yes, it is effective only for Pan, since I put it in the script that I
> use to start it. (I often make little scripts to collect my favourite
> options to common commands). Rememer that the environment variables are
> inherited only by child processes, they don't propagate up or sideways
> or anything. So once this script terminates, the value is gone. The same
> is true for the ulimit values I set below.
> 
> The full script goes like this:
> 
> #!/bin/sh
> ulimit -Sd $(ulimit -Hd)      # datasize
> ulimit -Sn 1772               # nofiles
> ulimit -Sc 0          # coredumpsize
> export TMP=/scratch/tmp
> exec /usr/pkg/bin/pan "$@"
> 
> I use "exec" at the end because the invocation of pan is the last thing
> in the script, so we don't need the shell any more and we can re-use its
> process to run pan.

Ahh! I will try that later then. Thanks. :)
-- 
Quote of the Week: "I have to sit up with a sick ant." --unknown
  /\___/\          Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |                 E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /              If crediting, then please kindly use Ant nickname
    ( )                                              and AQFL URL/link.

_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to