Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 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)