Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 1998 13:57:19 +0200
From:      Gunnar Flygt <gunnar@pluto.sr.se>
To:        questions@FreeBSD.ORG
Subject:   shellscript
Message-ID:  <19980508135719.60843@sr.se>

next in thread | raw e-mail | index | archive | help
Is there (of course there is but, how) a smart way of setting an 
environment variable that is one value when not using X and another when the 
shell script is run from X? example: when not running in X one may want 
$TERM=vt220 and when running in X $TERM=xterm-color. The shell used is bash.

-- 
regards, Gunnar
email: flygt@sr.se


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980508135719.60843>