From owner-freebsd-questions Sat May 18 19:54:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 6ABB137B401 for ; Sat, 18 May 2002 19:54:31 -0700 (PDT) Received: from hades.hell.gr (patr530-b181.otenet.gr [212.205.244.189]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g4J2sRQJ025182; Sun, 19 May 2002 05:54:29 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g4J2sRIu010613; Sun, 19 May 2002 05:54:27 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g4J2sOMK010612; Sun, 19 May 2002 05:54:24 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 19 May 2002 05:54:24 +0300 From: Giorgos Keramidas To: lewiz Cc: freebsd-questions@FreeBSD.ORG Subject: Re: TERM type. Message-ID: <20020519025424.GA10418@hades.hell.gr> References: <1021753320.1364.1.camel@turtle.lewiz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1021753320.1364.1.camel@turtle.lewiz.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-05-18 21:21, lewiz wrote: > Hey guys, > > I am wondering if there is any way to have the TERM variable set in > .cshrc based on the type of shell? > > I use aterm under X and I need TERM to be xterm-color but from the > console I need to have cons50. Is there any way to do this? I don't knwoo about aterm but even the good old xterm(1) has an X11 resource that can be set to the desired terminal type of new windows. Hint: hades+charon:~$ grep termName .Xresources XTerm*termName: xterm hades+charon:~$ grep userresources= .xinitrc userresources=$HOME/.Xresources hades+charon:~$ grep xrdb .xinitrc | grep user xrdb -merge $userresources -- Giorgos Keramidas - http://www.FreeBSD.org keramida@FreeBSD.org - The Power to Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message