Comments (10)
It might have to do with readline6. Readline7 might work. I'll check it out.
from proxspace.
It the same for me. I dont know why.
from proxspace.
Is there an existing command that should have a colored output?
from proxspace.
you can modify "showBanner" function in client/proxmark.c (for RRG or iceman based repo) It has colors
from proxspace.
MinGW is a toolchain to compile on Windows natively with no POSIX emulation layer. That means if you want colored output, you need to do it the Windows way. Prior to Windows 10 there were no ansi sequences. The only way is:
SetConsoleTextAttribute( GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED );
printf("Hello World!");
SetConsoleTextAttribute( GetStdHandle(STD_OUTPUT_HANDLE), 0x0f);
The reason why there is colored output when you start Proxspace is that the MinGW packages are compiled with msys2 as POSIX emulation layer. Here is a pretty good summery MSYS2 Shell or MinGW-w64 Shell
There are some possibilities to enable colored output:
- Handle all coloring in the Proxmark source code, with the method described above
- Changing Proxspace from MinGW shell to msys2 shell, this comes at a performance
penalty - Shipping ProxSpace with a different terminal
from proxspace.
Does that setconsoletextattribute work? I tried a somewhat similar techneque with enableing vt escapes but it didn't work.
from proxspace.
and yes, that did work, to answer my own question.
from proxspace.
mingw is compiled with msys2 and proxmark3 client is compiled with mingw-toolchain (which doesn't have that ansi stuff).. It makes more sense now. However I have a hard time seeing the SetConsoleTextAttribute in a simple define macro way like on linux/apple.
from proxspace.
I tried to compile the Proxmark client with msys2 to see what would happen. The problem is that every Makefile and .c/.h file that differentiate between mingw and linux/macOS need to be changed as msys does set other variables that mingw does. I might look into it again when I have more time available.
from proxspace.
how about we drop this one?
from proxspace.
Related Issues (20)
- [SOLVED] getting error arm-none-eabi-gcc: No such file or directory during make clean && make all HOT 7
- autobuild.sh HOT 2
- Different size between compiled files HOT 28
- outdated mirrorlist HOT 1
- Could not find libicuin65.dll when run Go.bat in the win32 folder HOT 1
- Installing ProxSpace for Proxmark3 to Windows 10 HOT 1
- build error HOT 4
- autobuild.bat - mingw32: key is unknown / database 'mingw64' is not valid HOT 2
- Autobuild script missing a couple DLL's. HOT 1
- Err with pgp keys HOT 7
- Most of the links are for Chinese sites HOT 1
- Still unable to Flash bootrom or Firmware HOT 11
- Updating git w/ perm issues HOT 3
- Uninstalled the usb driver HOT 4
- Dumps go to working directory, dispite `prefs set savepaths` HOT 2
- when i run .pm3 HOT 1
- Feature: Include ‘vi’ in space HOT 1
- invalid or corrupted package
- MSYS2 not finishing the initial setup HOT 1
- Seek help. I encountered an error while initializing proxspace
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxspace.