delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/26/15:55:57

X-Spam-Check-By: sourceware.org
X-BigFish: V
MIME-Version: 1.0
Subject: RE: Tcsh .history file growing out of control
Date: Thu, 26 Jan 2006 12:55:53 -0800
Message-ID: <B7392353E4C4DE4ABC4EC255DB4CA04003471229@EXCHVS1.spimageworks.com>
From: "Bruce Dobrin" <dobrin AT imageworks DOT com>
To: <reid DOT thompson AT ateb DOT com>, <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k0QKttdM025809

I'll give it a try,  but I took it to mean that the history was limited
to 100 events by default.  Which seemed to be the case:

dobrin AT tiburon:/home/dobrin> cat .history | wc -l
100

I'm still a bit worried about tcsh appearing to close but going insane
instead.  But as I said,  this is very rare.  I just hoped someone had
some experience or insight into it. 

Bruce D.

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Reid Thompson
Sent: Thursday, January 26, 2006 12:39 PM
To: cygwin AT cygwin DOT com
Subject: Re: Tcsh .history file growing out of control

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/




--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019