save 12000 lines of terminal history