mangle_types
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | mangle_types [2010/10/06 23:17] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Description====== | ||
+ | Mangle types are used by: | ||
+ | * /[[lastlog command|lastlog]] -mangle | ||
+ | * /[[log command|log]] mangle | ||
+ | * /[[set mangle_inbound]] | ||
+ | * /[[set mangle_outbound]] | ||
+ | * The status bar | ||
+ | |||
+ | ======Options====== | ||
+ | All characters are grouped into one of 9 " | ||
+ | ^Type number | ||
+ | |0 | Normal chars |32-127, 160-255 | ||
+ | |1 | High bit control chars |128-159 | ||
+ | |2 | Escape char | ||
+ | |3 | Color char |%%^C%% | ||
+ | |4 | Highlight toggle | ||
+ | |5 | Unsafe char | ||
+ | |6 | Control char |%%^@ ^A ^D ^H ^K ^L ^N ^P ^Q ^R ^T ^U ^W ^X ^Y ^Z ^\ ^] ^^%% | | ||
+ | |7 | Beep |%%^G%% | ||
+ | |8 | Tab | ||
+ | |9 | Non-destructive Space |%%^S %% | | ||
+ | |||
+ | There are the 12 following mangle types: | ||
+ | |||
+ | | ESCAPE | ||
+ | | UNDERLINE | BOLD | BLINK | ND_SPACE | ||
+ | | ALT_CHAR | ||
+ | |||
+ | The mangle types transform the characters, according to this table: | ||
+ | |||
+ | | A | Character or sequence converted into an attribute | ||
+ | | M | Character mangled (ie, %%^A into ^VA^V%%) | ||
+ | | S | Character stripped, sequence (if any) NOT stripped | ||
+ | | X | Character stripped, sequence (if any) also stripped | ||
+ | | T | Transformed into other (safe) chars | | ||
+ | | - | No transformation | ||
+ | |||
+ | ^Mangle type ^ 0 ^ 1 ^ 2 ^ 3 ^ 4 ^ 5 ^ 6 ^ 7 ^ 8 ^ 9 ^ | ||
+ | |(default) | ||
+ | |NORMALIZE | ||
+ | |ESCAPE | ||
+ | |COLOR | ||
+ | |(The rest of them) | - | - | - | - | X | - | - | - | - | - | | ||
+ | |UNPRINTABLE | ||
+ | |OTHER | ||
+ | |(/SET ALLOW_C1) | ||
+ | |||
+ | There are only *three* ambiguous cases: | ||
+ | * Type 2: \\ ESCAPE has first priority, then NORMALIZE, and finally UNPRINTABLE | ||
+ | * Type 3: \\ UNPRINTABLE has first priority, then NORMALIZE, and COLOR. | ||
+ | * Type 6: \\ UNPRINTABLE has first priority over NORMALIZE. | ||
+ | |||
mangle_types.txt · Last modified: 2010/10/06 23:17 by 127.0.0.1