screenbuf output optimized