[colug-432] bash history broken

Rick Troth rmt at casita.net
Fri Dec 30 22:36:34 EST 2011


On Thu, Dec 29, 2011 at 8:51 PM, Rick Hornsby <richardjhornsby at gmail.com> wrote:
>
> Odd, the IBM doc I found said \e[0;36 etc was the way to go, but if tput is more readable (and isn't the source of my problem) then I'll probably switch back to using it.


I've only ever used the  "<Esc>[nn;nn;...m"  form because 'tput' and
friends were not widely available back in my day ... er, uh ... back
when I first learnt this stuff.  Obviously, it's smarter to use a
standardized program for these things.  (Not all terminal types will
honor the same escape sequences.)  But it's good to know the X3.64
standard.  VT100 and VT220 are related (not a superset, but mostly).

The trouble with X3.64 is that most references identify a wide range
of possible codes and few identify the more popularly implemented (and
de-facto required) codes.  Want a list of likely codes?

-- R;   <><



More information about the colug-432 mailing list