X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=utils%2Fpb-console;h=1c2bf62784f62f0aff6faae911063cb385dc71d3;hp=9da899fdf7b242f4c47652cd0d753c0691445253;hb=c1359507c1556ba5f6d2afd0e401abcfe66f02a9;hpb=ae3c354e844698bdb4ed35a6845aa9dca1e9205f 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