21 improve scan serial output for linux

True... it was wrong :)