DragonFly BSD
DragonFly users List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Setting terminal in single user mode


From: YONETANI Tomokazu <qhwt.dfly@xxxxxxxxxx>
Date: Thu, 6 Jan 2011 15:21:53 +0900

On Wed, Jan 05, 2011 at 10:57:54PM -0500, Francisco Reyes wrote:
> Tried to go into single user mode to fix, but TERM is not set so I
> can't use an editor.
> 
> Tried set TERM=vt100
> TERM=ansi
> TERM=cons

It's an environment variable, and at least ``cons25'' works, so you
should type either
$ export TERM=cons25	(bourne shell)
or
% setenv TERM cons25	(csh or tcsh)

However, I remember I didn't have to set it myself in the past
even in single user mode.  Not sure when it's changed, though.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]