cmderというのをインストールしました。
背景としてはmsys2とpowershellの操作ログを残したいなぁ、、と思って (ってダメな人程、ログを残さない気がするのは何でだろう、、)
ログが取れるのは良いけれど、そのままじゃ読めない、、 対応するviewerってあるんかな、、
]9;11;"cmd.exe: SetConsoleTextAttribute(0x07)"\ [1;32;40mD:\tools\cmder ]9;11;"cmd.exe: ExtSetAttributes(0x0A)"\[1;39;40mλ [0m]9;11;"cmd.exe: ExtSetAttributes(0x0F)"\]9;11;"cmd.exe: ExtSetAttributes(0x07)"\]9;11;"cmd.exe: SetConsoleCursorPosition(3,2)"\l]9;11;"cmd.exe: SetConsoleCursorPosition(4,2)"\s]9;11;"cmd.exe: SetConsoleCursorPosition(5,2)"\ ]9;11;"ls.exe: SetConsoleTextAttribute(0x07)"\]9;11;"ls.exe: SetConsoleTextAttribute(0x0A)"\Cmder.exe]9;11;"ls.exe: SetConsoleTextAttribute(0x07)"\* LICENSE 'Version 1.3.6.678' ]9;11;"ls.exe: SetConsoleTextAttribute(0x09)"\bin]9;11;"ls.exe: SetConsoleTextAttribute(0x07)"\/ ]9;11;"ls.exe: SetConsoleTextAttribute(0x09)"\config]9;11;"ls.exe: SetConsoleTextAttribute(0x07)"\/ ]9;11;"ls.exe: SetConsoleTextAttribute(0x09)"\icons]9;11;"ls.exe: SetConsoleTextAttribute(0x07)"\/ ]9;11;"ls.exe: SetConsoleTextAttribute(0x09)"\vendor]9;11;"ls.exe: SetConsoleTextAttribute(0x07)"\/]9;11;"ls.exe: SetConsoleCursorPosition(0,4)"\
んー、、less -PでANSI COLOR は展開できたけども、、SetConsoleTextAttributeとかは除外出来ないのか、、 それともログに記録しないように設定できるんかなぁ、、