Problem
When entering single user mode (or System Maintenance mode) custom,
scoadmin, vi, or other utilities will not run. They fail with the
following error (the details may vary):Sorry, I need to know a more specific terminal type than "unknown". Fatal error: (vTcl interp) Failed reading Receive Msg length - Unknown error Error Information logged to: /tmp/tclerror.16652.log
Cause
By default, while in single user mode, the environment variable
TERM is not set. Many utilities require a valid TERM type for
them to run. Setting this TERM variable and exporting it will
solve the problem. Solution
You must set your TERM type and export it for scoadmin or custom to run at all. scoansi or ansi are two of the many valid TERM types for scoadmin and custom. Type:
# TERM=ansi; export TERMYou may now run your desired utility.