Seeding from the 1.2 tree.

This commit is contained in:
Dan Mashal
2013-01-01 03:00:55 -08:00
parent d8c87c4ded
commit 87b806a563
1424 changed files with 260320 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
Synopsis:
$stripansicodes(<text>)
Technical:
This function will "normalize" <text> in two ways, according to the value
of the set(4) DISPLAY_ANSI variable.
If DISPLAY_ANSI is ON, all ANSI escape codes will be either converted into
logical codes (^C colors, ^B bolds, etc) or removed entirely.
If DISPLAY_ANSI is OFF, the escape will be mangled into a reverse '['
character, and the rest of the code is left intact.
Returns:
<text> with its ANSI sequences processed according to the value of
DISPLAY_ANSI
See Also:
set(4) display_ansi; strip(6); stripansi(6); stripc(6); printlen(6)