3

In DragonflyBSD, I need to edit /etc/rc.conf in single user mode, but

# mount -u /
# mount -a  
# vi /etc/rc.conf  
vi: unknown: unknown terminal type  
# ee /etc/rc.conf  
Error opening terminal: unknown.  
# mc
The TERM environment variable is unset!  

Any hints?

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
Mirco
  • 111
  • 1
  • 12

1 Answers1

4

export TERM=vt100 did the job.

Mirco
  • 111
  • 1
  • 12