wsh color escape sequences
Peter Jaspers-Fayer
SOFPJF at VM.UOGUELPH.CA
Thu Mar 28 02:41:02 AEST 1991
I don't know anything about rulers in wsh, but as for wsh <ESC> character
colours, these (ported from an IBM PC running ANSI.SYS, yet!) may help.
Have a look at the file below (just `cat` it, then peek with `vi`.) It's
UUEncoded, 'cause I dunno what MAIL would do to it (suspect the results
would not be salubrious!). Use `uudecode` this_thing to use it.
In conjunction with the "wshcolor" escape sequence, ("\033""[101;$1/y")
you can do just about anything you want.
------ *snip* ------ *snip* ------ *snip* ------ *snip* ------ *snip* ------
begin 644 colors
M5&AI<R!F:6QE(&-O;G1A:6YS('1H92`\15-#/B!S97%U96YC97,@=&\@<V5T
M(&-O;&]U<G,@;VX at 82!S=&%N9&%R9"!!3E-)"G1E<FUI;F%L+B`@5&AE>2!A
M<F4@;V8@=&AE(&9O<FTZ"@IE<V-;:3LT0CLS9FT*"E=H97)E(&5S8STQ0B`H
M9&5C:6UA;"`R-R!O<B`B7#`S,R(@;V-T86PI"B`@("`@(&D],"P@,2`H;W(@
M-2!F;W(@8FQI;FLI"B`@("`@($(]8F%C:V=R;W5N9"!C;VQO=7(@*#`M-RD*
M("`@("`@9CUF;W)G<F]U;F0 at 8V]L;W5R("@P+3<I"B`@("`@(&T](&ES(&$@
M;&ET=&5R86P@(FTB"@II($)F9F9F9F9F9D)F9F9F9F9F9D)F9F9F9F9F9D)F
M9F9F9F9F9D)F9F9F9F9F9D)F9F9F9F9F9D)F9F9F9F9F9D)F9F9F9F9F9 at H;
M6S`[,S<[-#!M,"`;6S`[,S<[-#!M,!M;,#LS,#LT,&TP&ULP.S,Q.S0P;3$;
M6S`[,S([-#!M,AM;,#LS,SLT,&TS&ULP.S,T.S0P;30;6S`[,S4[-#!M-1M;
M,#LS-CLT,&TV&ULP.S,W.S0P;3<;6S`[,S<[-#!M,1M;,#LS,#LT,6TP&ULP
M.S,Q.S0Q;3$;6S`[,S([-#%M,AM;,#LS,SLT,6TS&ULP.S,T.S0Q;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