Xref: utzoo comp.unix.questions:17096 comp.unix.wizards:18831 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!decwrl!nsc!taux01!amos From: amos@taux01.UUCP (Amos Shapir) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: ksh dumping core Message-ID: <2725@taux01.UUCP> Date: 21 Oct 89 13:32:18 GMT References: <834@fozzy.UUCP> Organization: National Semiconductor (IC) Ltd, Israel Home of the 32532 Lines: 14 Hdate: 22 Tishrey 5750 It seems all your sessions use the same history file; one of them adds to it, making the other's current pointer into it invalid. It is easy to fix: just define HISTFILE=.hist$HOST$TTY in your .profile (make sure $TTY and $HOST are defined first, of course). I do not use it since it's sometime useful to keep history around from other sessions; just pressing RETURN every now and then makes sure a session re-reads the history file, so it does not stay behind too much. -- Amos Shapir amos@taux01.nsc.com or amos@nsc.nsc.com National Semiconductor (Israel) P.O.B. 3007, Herzlia 46104, Israel Tel. +972 52 522261 TWX: 33691, fax: +972-52-558322 34 48 E / 32 10 N (My other cpu is a NS32532)