Re: [htdig] TMPDIR problem

Subject: Re: [htdig] TMPDIR problem
From: Gilles Detillieux (
Date: Tue Dec 21 1999 - 09:30:20 PST

According to KHumpf@IITRI.ORG:
> I found that on our UNIX machine, we use the followin to set an environment
> variable:
> setenv TMPDIR=/path/to/directory
> So I've tried this, followed by the htmerge command. While htmerge is
> running, I do a "ps" to see the processes, and I see that htmerge has been
> re-mapped to the correct place:
> username 7135 7134 21 12:24:53 pts/4 0:05 /bin/sort -T
> /path/to/directory/htdig/temp= /old/wordlist/path/db.wordlist
> BUT... when I watch the amount of disk space, it eats it up from the "/var"
> directory... instead of the "/home" directory that I've re-routed it to?!
> Shouldn't it just use the new "TMPDIR" for storage? Is setenv the correct
> command?

For csh or tcsh, setenv is the correct command, but you're using it
incorrectly. The setenv command doesn't use an equals sign (=). The
correct usage is

        setenv TMPDIR /path/to/directory

as 3 separate arguments (extra space added for emphasis only)

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Tue Dec 21 1999 - 09:44:38 PST