21 improve scan serial output for linux