king155 / skipfish

Automatically exported from code.google.com/p/skipfish
Apache License 2.0
0 stars 0 forks source link

bash color issue after error #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run skipfish without parameter
2. See the error : [-] PROGRAM ABORT : Scan target not specified (try -h
for help).
    Stop location : main(), skipfish.c:379
3. verify the color of your shell, it should be slightly different

Attached a patch that should correct the issue. I called the variable with
the "normal color" cRST for ReSeT. (being black, white or whatever the user
normally uses) . 
You might want to correct the #  define cNOR "\x1b[0;37m" variable, but I'm
not sure where you use that one.

Original issue reported on code.google.com by christophevandeplas@gmail.com on 20 Mar 2010 at 4:00

Attachments:

GoogleCodeExporter commented 8 years ago
The patch works fine. Thx!

Original comment by Ozwo...@gmail.com on 22 Mar 2010 at 7:30

GoogleCodeExporter commented 8 years ago
Thanks for the patch, will have a look shortly.

Original comment by lcam...@gmail.com on 22 Mar 2010 at 3:37

GoogleCodeExporter commented 8 years ago
Now fixed in the upcoming 1.11.

Original comment by lcam...@gmail.com on 22 Mar 2010 at 3:53