[Eug-lug] No value for $TERM
Bob Miller
kbob at jogger-egg.com
Thu Jan 20 17:23:42 PST 2005
Allen Brown wrote:
> I will try using a conditional like this:
>
> if [ -n "${PS1-}" -a -n "${TERM-}" -a "${TERM-}" != "dumb" ]; then
> All terminal related stuff such as stty and tputs
> fi
You can always add temporary debug output to /etc/bashrc thus.
echo TERM is "$TERM" >&2
That prints on std error, not std output.
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com kbob at jogger-egg.com
More information about the EUGLUG
mailing list