Date: Sun, 22 Apr 2001 13:48:26 -0700 From: John Merryweather Cooper <jmcoopr@webmail.bmi.net> To: "Robert T.G. Tan" <rotan@cs.pdx.edu> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@FreeBSD.ORG> Subject: Re: XTERM Message-ID: <3AE3439A.32A86ECF@webmail.bmi.net> References: <20010422124046.B1075@cs.pdx.edu> <20010422222343.A384@cs.pdx.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AE3439A.32A86ECF>