improved modularization and ioctl, add [repeat] command to column processing