the problem with this logic is that there are numerous curses programs: less, top, systat, vi; just to name the ones i recall from base.
surely retrofitting them with prompts isn't an option, specially when having TERM unset isn't the norm On Thu, Jul 26, 2012 at 4:33 AM, Mo Libden <m0lib...@mail.ru> wrote: > Tue, 24 Jul 2012 18:46:55 +0000 от Alexander Polakov <polac...@gmail.com>: >> * HvN <huubvanniek...@gmail.com> [120724 17:17]: >> > I booted into single user mode, mounted / and /usr according to FAQ 8. >> > However, when I try to use vi to change fstab, it says "unknown terminal >> > type". Any suggestions ? >> >> export TERM=vt220 > > may be vi can be modified to ask for terminal type if it is not defined, something like the following: > > vi: unknown terminal type, please enter the type of the terminal [vt220]: _