Date: Sat, 05 Aug 2000 12:24:55 -0400 From: David Banning <David@www3.pacific-pages.com> To: Mark Ovens <marko@freebsd.org> Cc: David@SkytrackerCanada.com, bsd <questions@freebsd.org> Subject: Re: Subject: setting of TERM variable in X Message-ID: <398C3FD7.2E163758@www3.pacific-pages.com> References: <398B43E8.FD986CCC@www3.pacific-pages.com> <20000805011750.A239@parish> <398C2EC4.91146CF6@www3.pacific-pages.com> <20000805164416.E254@parish>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?398C3FD7.2E163758>