This programm designed to be in core distribution,
so port is slightly ugly.