From owner-freebsd-stable Sun Apr 22 13:48:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.bmi.net (smtp.bmi.net [204.57.191.31]) by hub.freebsd.org (Postfix) with ESMTP id 9968137B42C for ; Sun, 22 Apr 2001 13:48:28 -0700 (PDT) (envelope-from jmcoopr@webmail.bmi.net) Received: from webmail.bmi.net (dsl-154.bmi.net [207.173.60.230]) by smtp.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id NAA01766; Sun, 22 Apr 2001 13:48:27 -0700 Message-ID: <3AE3439A.32A86ECF@webmail.bmi.net> Date: Sun, 22 Apr 2001 13:48:26 -0700 From: John Merryweather Cooper X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en-US, en, en-GB MIME-Version: 1.0 To: "Robert T.G. Tan" Cc: FreeBSD-STABLE Mailing List Subject: Re: XTERM References: <20010422124046.B1075@cs.pdx.edu> <20010422222343.A384@cs.pdx.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Robert T.G. Tan" wrote: > > I tried /etc/ttys: > > ttyv5 "/usr/X11R6/bin/xdm -nodaemon" xterm-color on secure > > but I didn't get the xterm-color value for TERM. > > Also looked for some resource that would define the TERM value, but > couldn't find it.. > > tnx, rotan. > > Robert T.G. Tan(rotan@cs.pdx.edu)@2001.04.22 12:40:46 +0000: > > Where does TERM get set, if not in ~/.*rc, or /etc/whatever-default-configs > > I by-pass the X resource stuff (which I haven't quite figured out) and use the following in my .shrc # for non-X sessions use Java 1.1.8 JAVA_HOME=/usr/local/jdk1.1.8; export JAVA_HOME # adjust TERM to color xterm under X # use linux Java under X if [ $TERM = "xterm" ]; then TERM=xterm-color; export TERM JAVA_HOME=/usr/local/linux-jdk1.3.0; export JAVA_HOME fi # add appropriate java to path JAVA_PATH=$JAVA_HOME/bin PATH=$JAVA_PATH:$PATH; export PATH This allows me to do two things: 1) display color directory listings in Gnome-Term, rxvt, and/or eterm; and 2) switch my java from 1.1.8 to the linux-1.3.0 for all my X sessions (so that Star Office works somewhat better). jmc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message