X-Spam-Check-By: sourceware.org Message-ID: <43D93365.502@ateb.com> Date: Thu, 26 Jan 2006 15:39:01 -0500 From: Reid Thompson Reply-To: reid DOT thompson AT ateb DOT com User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Tcsh .history file growing out of control References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Bruce Dobrin wrote: > > Hi All, > > This is generally a minor headache, But routinely for about the last 2 > years while running rxvt and tcsh, I'll have a problem where I can't > start a new shell and I'll find that I have a .history file that is 4 to > 5 gig's. I blow the thing away and all is once again right in the > world. It seems to often correspond with a user ( often myself) having > closed a shell that not only doesn't really close but starts spinning > out of control, using 100% CPU. Obviously it is doing something that is > filling the history file, but usually when I notice it, the history > file is too big to open or move and I need to solve the problem so I > just end up blowing it away. I think this started cropping up when > Cygwin moved from 1.3 to 1.5 and has happened with every version since. > I'd like to try just using bash or something else, but my facility > standard for all flavors of UNIX is tcsh and my changing to bash > wouldn't help the 1000 other people in the facility that occasionally > get burned by this when on their windows boxes. I hit it a couple of > times a month, most users much less, but it's been burning us more and > more as our users move transparently between windows, Linux and Irix. > > I hoped I'd see something crop up on the list, none of my searches have > turned up anything. > > Thanks > Bruce > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > If you set your history file to contain only 1000 events, does that fix the issue. from the tcsh man page: history The first word indicates the number of history events to save. The optional second word (+) indicates the format in which his- tory is printed; if not given, `%h\t%T\t%R\n' is used. The format sequences are described below under prompt; note the variable meaning of `%R'. Set to `100' by default. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/