Re:Go Replace - simple and fast search and replace tool for ...
by swah on Wednesday May 22, 2013 @07:46AM
(#5750104)
Working! Do you use colors? They don't work the same in DOS, I believe. I'm seeing some escape sequences.
[ Parent
| on HN ]
Re:Go Replace - simple and fast search and replace tool for ...
by to3m on Wednesday May 22, 2013 @12:15PM
(#5751844)
It's been a while but those look like ANSI escapes so I think if you add something like DEVICEHIGH=C:\DOS\ANSI.SYS to your CONFIG.SYS then you should find it starts to interpret them correctly. I think ANSI.SYS uses up less than 30K.
Re:Go Replace - simple and fast search and replace tool for ...
by piranha on Wednesday May 22, 2013 @08:08AM
(#5750181)
Eh, it's not very easy to fix that unfortunately. I opened an issue and will try to work on this a bit, but then in a meanwhile... Maybe I can strip colors for outputting things on windows.
Edit: argh, outputting colors on windows means making system calls. Which means cgo and good-bye cross-compiling. I'll probably just strip all colors...