.history file is truncated to N lines upon startup + myip() and shorten: are moved to modules