From owner-freebsd-questions Sat Aug 5 9:26:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from www3.pacific-pages.com (www3.pacific-pages.com [192.41.48.219]) by hub.freebsd.org (Postfix) with ESMTP id 86E1F37BA03; Sat, 5 Aug 2000 09:26:11 -0700 (PDT) (envelope-from David@www3.pacific-pages.com) Received: from www3.pacific-pages.com ([216.191.61.118]) by www3.pacific-pages.com (8.8.5) id KAA00389; Sat, 5 Aug 2000 10:26:01 -0600 (MDT) Message-ID: <398C3FD7.2E163758@www3.pacific-pages.com> Date: Sat, 05 Aug 2000 12:24:55 -0400 From: David Banning Reply-To: David@SkytrackerCanada.com Organization: Sky-Tracker of Canada Inc. X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Mark Ovens Cc: David@SkytrackerCanada.com, bsd Subject: Re: Subject: setting of TERM variable in X References: <398B43E8.FD986CCC@www3.pacific-pages.com> <20000805011750.A239@parish> <398C2EC4.91146CF6@www3.pacific-pages.com> <20000805164416.E254@parish> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark, I am awfully sorry - I had a setenv TERM cons25 in my .cshrc all is fine now that I have taken it out. Next time I will spend more time looking before posting. cheers- Mark Ovens wrote: > > On Sat, Aug 05, 2000 at 11:12:04AM -0400, David Banning wrote: > > On review - I realize my problem was not from a standard $TERM setting > > but rather when I "su -" to root - then TERM is set to 'cons25' > > Well, I created a file .Xdefaults and put 'XTerm*TermName: xterm-color' > > in it > > as you suggested - which does not work, > > > > but I realize now that since my question was wrong - maybe your answer > > won't work. > > > > Let me get this right. You start X and an xterm as a normal user and > $TERM is set to ``xterm'', yes? > > You then ``su -'' to root and $TERM is now ``cons25''? > > If so then that's not what happens here: > > /usr/marko{115}% echo $TERM > xterm-color > /usr/marko{116}% su - > Password: > /usr/root{101}# echo $TERM > xterm-color > /usr/root{102}# > > Can you post what the above shows on your machine? > > > > > > > Mark Ovens wrote: > > > > > > On Fri, Aug 04, 2000 at 06:30:00PM -0400, David Banning wrote: > > > > > > > > My TERM variable is still set to cons25 even when I am in X > > > > How can I change to xterm - (other than doing it manually) > > > > > > > > Is there a .profile type script for X which I could > > > > 'setenv TERM xterm' ? > > > > > > Try adding this to ~/.Xdefaults or ~/.Xresources: > > > > > > XTerm*TermName: xterm-color > > > > > > remove ``-color'' if you really want a mono xterm :) > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > If I buy a copy of WinDelete, and it doesn't delete Windows, > am I entitled to my money back? > ________________________________________________________________ > 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org > 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark > mailto:marko@freebsd.org http://www.radan.com -- Logicians have but ill defined As rational the human kind. Logic, they say, belongs to man, But let them prove it if they can. -- Oliver Goldsmith To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message