[Gllug] Detecting X in cshrc

Ian Norton bredroll at atari.org
Tue Apr 29 18:17:36 UTC 2003


you could just see if the DISPLAY variable is defined?

On Tue, Apr 29, 2003 at 03:43:37PM +0100, Juan AMIGUET wrote:
> Hi,
> 
> Just a quick hack for most of you but a hassle for me.
> 
> I want to set the term variable in two different ways one for when I 
> am inside an xterm. 
> 
> most likely to vt220-color or xterm-color
> 
> and another value preferably with colours that does not mess up 
> my vi in text mode.
> 
> cheers.
> 
> -------------------------------
> Juan Amiguet Vercher
> Finest society punishment since 1978
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS dpu s--: a-- C++++ UL++ P+++ L+++ E--- W-- N+ o K w---
O M-- V-- PS++ PE-- Y+ PGP+ t+++ 5++ X++ R+++ !tv b DI D----
G++ e+ h++ r++ y+++
------END GEEK CODE BLOCK------
----- Message of the Hour ------
Moooo :-)


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list