summaryrefslogtreecommitdiffstats
path: root/utils/pb-console
diff options
context:
space:
mode:
Diffstat (limited to 'utils/pb-console')
-rw-r--r--utils/pb-console7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/pb-console b/utils/pb-console
index 9da899f..1c2bf62 100644
--- a/utils/pb-console
+++ b/utils/pb-console
@@ -96,6 +96,13 @@ do
fi
done
+# we force local terminals to use the linux termcap definition
+case "$(tty)" in
+/dev/tty[0-9]*)
+ export TERM=linux
+ ;;
+esac
+
verbose_opt=
sysinfo_bin=$(dirname $0)/pb-sysinfo
if [ -x $sysinfo_bin ] && $sysinfo_bin --debug-enabled
OpenPOWER on IntegriCloud