set history purging to cut 100 when hitting 400 lines