Subject: Re: First two Dumb Questions of May
To: None <shsrms@bellatlantic.net>
From: Simon Burge <simonb@netbsd.org>
List: port-alpha
Date: 05/03/2000 09:59:46
HerbalGypsy/justbobthebard wrote:

> Dumb Questions:
> How do I set my environment so that my video console is seen as 
> a vt100? and directly related - Can I use the video console to run vi?
> 
> With the system booted, mount -a after booting in single user, got all
> my stuff, but want to do some edits on various things.  I try to do 
> a env TERM=vt100, I get the env display, with vt100 at the bottom of
> the env list, but if I then try vi, i get kicked out cause term is
> not defined.  do an env, get no vt100 on the list.

In sh, you want to:

	$ TERM=vt100
	$ export TERM
	$ vi ...

The "export TERM" makes sure that the TERM variable is really in the
environment.

Simon.