X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=A+h OQNr0BL41V3KxlA7nsexfbhyL4fjCGtqmy9RTVaOWkzuYvniTSC1+Yj5JoXhK1EE YWX/T+EFYz1g26OoWzyAztS5AtL/UzKsEvP1Jjkb7fErIsUEw87Uqyy3chH64Sj8 zlTOxW5eyJj5CEhW3vlv6uhffUHe+A/PaMY8497M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=qJxaYXKQd Xgg7ey91VoizKhcNbw=; b=pHEYxy/IwB/Z+RrewuY75803fkWvWZRgCm9nlyNcv iLBySh3zqihM3ToS4g/95++LvgEHY+9pBbipvJ7VHHHYt9qHA6rdUrIVpUM9Yc/b y7EBiUzwwrffOuGxiOGsMij7faRzzna3Ca23fGkYwWSNtYILBgqtQymUlMDX/c2r Qk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=hang, Manager X-HELO: mail-yb0-f179.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=oOAkqjrWoonuxEOXU3ypGNtmi4fugBg44JDVNpZuW0c=; b=gTacTqaI2qojq2JSkzruovVSgHeGLxCkxQA6A/p9h4uNw+sczjFN9xeU9eInplONbu W34L6mymUCgGgmUNXQ9b+5GVtATGo165IoJzZWIsLfuf4i9dPtvfXmS7a64CFGXI7Div wS7wZMG3/uTHHADcgaq7lb7IFDmIKiR0Nxi+fj84zdlILcV+jojjCNo6rKpBV2ezOiZ8 3FSbuAjncSKCSd4stfnFxFdJa4HqGSw9/U/2OIB8HriWLWxx/dvg6QMmvN4RTCrZmqQ3 Mh/Z0OmqR/hNn0dDbZveL+0qq6yao7SnsAODeKP0mjVpIvC6GPny132y2uaKiZHHcYjP PoTg== X-Gm-Message-State: AEkoouuA6GZBvogG7cnzn6DK6XHOVnN4NtuLOmldLEvLmsuVO3tuaj1COCYOoYfcRJGYVQ== X-Received: by 10.37.162.104 with SMTP id b95mr7439832ybi.124.1470947787475; Thu, 11 Aug 2016 13:36:27 -0700 (PDT) To: cygwin AT cygwin DOT com From: Thomas Taylor Subject: Re: tcsh version 6.19.00-3 hangs on exit Message-ID: Date: Thu, 11 Aug 2016 16:36:15 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I really appreciate your looking into this problem. I use the Cygwin64 Terminal icon to create one or more windows. I set my login shell to /bin/tcsh in /etc/passwd. As you suggested, I deleted ~/.logout, and do not have an /etc/csh.logout. I also deleted ~/.login, and reduced my (optional) ~/.cshrc to only the following two lines: set history=100 set savehist=($history merge lock) In this case (if I understand correctly) tcsh first sources /etc/csh.cshrc, then ~/.cshrc, then /etc/csh.login. The files /etc/csh.cshrc and /etc/csh.login are as downloaded from one of the Cygwin x86_64 mirror sites, and are unchanged by me; only the optional file ~/.cshrc (above) has been added by me. Unfortunately, all mintty windows hang upon exit, and each must be killed (along with its associated tcsh) using the Windows Task Manager. C-Shell scripts started from the command line also hang upon exit (unless their first line contains the fast startup flag "-f"), and must be killed with Control-C. The mintty windows and the C-Shell scripts do not hang if the third word "lock" is removed from the setting of savehist in ~/.cshrc. I would like to use "lock" for the reasons mentioned in the tcsh man pages. Things seemed to work fine until a couple of weeks ago, when I updated my Cygwin system. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple