mod: use unix style line model