unprintable characters in PS1 different on 5.0.3 vs. 5.0.18?
From:
n952162
Subject:
unprintable characters in PS1 different on 5.0.3 vs. 5.0.18?
Date:
Sun, 7 Feb 2021 17:51:13 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0
Hi,
I use this string as my prompt:
$?${boldon}$UCODE\w${boldoff}>
where boldon and boldoff are gotten from "tput smso" and "tput rmso".
Works fine on my x86_64 boxes at 5.0.18(1) but on my raspberry-pi, at
5.0.3(1), I need to use \[ and \].
Am I not seeing something?