[Gambas-user] removing xterm escape codes from terminal text

Brian G brian at westwoodsvcs.com
Fri Jun 10 01:25:31 CEST 2022

> Cheers Brian but Benoit just came up with an OUTRAGEOUSLY simple solution lol :)

> Thanks for looking though :)
> BruceS

> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
Don't know if this helps, from my archives, Runs a background server executing SUDO level commands etc. 
I added the filter regexp.remove( source,"\x1B\[.*[mnupsHJKABCDEFG]","") to the responses... 
LOL little to late I guess. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220609/d3362a55/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PowerShell-1.0.1.tar.gz.gmail.txt
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220609/d3362a55/attachment-0001.txt>

More information about the User mailing list