Suport "gm4" command for BSD like OS.