Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2001 04:58:00 +0300
From:      Giorgos Keramidas <charon@labs.gr>
To:        David Loszewski <stealth215@mediaone.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: making the shell more entertaining
Message-ID:  <20010922045759.B4624@hades.hell.gr>
In-Reply-To: <005b01c142fc$d48da910$3000b1d8@sickness>
References:  <20010921191932.D58688@switchblade.cyberpunkz.org> <005b01c142fc$d48da910$3000b1d8@sickness>

next in thread | previous in thread | raw e-mail | index | archive | help
David Loszewski <stealth215@mediaone.net> wrote:
> Um...k...I think I just screwed things up...first mistake is that I was
> playing around with the root terminal, I know, big mistake.  Well, in
> the .profile file, the part that says TERM=<terminal type>, I changed
> that to TERM=<xterm-color>, big mistake, because now every time I log in
> as root and try to use vi it comes up saying 'vi: No terminal database
> found'.  So I do 'TERM=cons25' and then 'export TERM' and that
> temporarily works but the editors are all screwed up.  So what do I do
> now to get myself out of this mess?

Set TERM=cons25 temporarily in your environment, and use an editor to remove
the offending line from your shell startup file.

And for DAEMON's shake, read the bloody manual before making future changes!

With the `ls --classify ..' thing, that's two silly things in one day.  One
too many...

-giorgos

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?20010922045759.B4624>