you've found that exporting DISPLAY in the environment lets you use other terminal programs.

This shows you how to set up globally available environment variables:
[link|http://www.astro.washington.edu/owen/AquaEnvVar.html|http://www.astro.was...n/AquaEnvVar.html]