File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,14 +191,14 @@ s#\r\$## # strip trailing \r
191191s#[\x07]##g
192192s#\x1b[]>=\][0-9;]*##g
193193s#\x1bP+.\{5\}##g
194- # Mark cursor positioning codes <LA> Jr;c;
194+ # Mark cursor positioning codes \" Jr;c;
195195s#${p} \([0-9]\{1,2\}\)G#\" J;\1;#g
196196s#${p} \([0-9]\{1,2\}\);\([0-9]\{1,2\}\)H#\" J\1;\2;#g
197197
198- # Mark clear as <LA>n where n=1 is screen and n=0 is to end-of-line
198+ # Mark clear as \" Cn where n=1 is screen and n=0 is to end-of-line
199199s#${p} H#\" C1;#g
200200s#${p} K#\" C0;#g
201- # Mark Cursor move columns as <LA> Mn where n is +ve for right, -ve for left
201+ # Mark Cursor move columns as \" Mn where n is +ve for right, -ve for left
202202s#${p} C#\" M1;#g
203203s#${p} \([0-9]\{1,\}\)C#\" M\1;#g
204204s#${p} \([0-9]\{1,\}\)D#\" M-\1;#g
@@ -234,7 +234,7 @@ s#${p}¬\([34]8;5;[0-9]\{1,3\}\)m#${p}\1m#g;
234234s#${p} 9\([0-7]\)m#${p} 3\1m${p} 1m#g;
235235s#${p} 10\([0-7]\)m#${p} 4\1m${p} 1m#g;
236236
237- # change 'reset' code to <LA> R
237+ # change 'reset' code to \" R
238238s#${p} 0m#\" R;#g
239239" |
240240
@@ -486,7 +486,6 @@ END {
486486 print dump_screen();
487487 }
488488}'
489- # sed -e 's/[ĢΩ¡µ]//g' -e 's/β[^;]*;[^;]*;//g' # just strip aternative flag chars
490489)
491490
492491printf ' </pre>
You can’t perform that action at this time.
0 commit comments