Add terminal-related environment variables.

Change-Id: I10a3a9c0dbf72391a662cc5df96a30ce00fd4555