I am working on a script that will behave differently depending on if a user is running or if it is run by cron. One thing that I noticed is that the TERM environment variable is not set when run from ...