Closed diantahoc closed 10 years ago
Thanks man! I fixed the looping by explicitly declaring the getopt char as signed (ARM distros apparently default to unsigned), and fixed the color bleedover from the -V flag. I also added a conditional in detect_res that allows "No X Server" to appear instead of "Unknown" on headless computers.
Great! I am glad to help.
Howdy? I am the /g/uy who had issues with high CPU usage on the raspberry pi.
I had the same issues as yesterday, (high CPU usage, no output), I have tried both manual compilation and using the install.sh script, with no results (I even tried to compile with
-mfloat-abi=soft
, but that won't work since hard and soft ABI are not compatible for linking).So I decided to tinker with the code, first I modified the
while ((c = getopt(argc, argv, "mdvnsD:EVh")) != -1)
section by adding a default case to printebin
.and ran the program, and started to spam
ebin
on the output.So I commented out the
while ...
section, and compiled the program again, and it worked!And a few notes aside:
When I run
screenfetch -V
, the terminal font color is not restored to grey.