From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60206 invoked by alias); 11 Aug 2016 20:36:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 60194 invoked by uid 89); 11 Aug 2016 20:36:30 -0000 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 Received: from mail-yb0-f179.google.com (HELO mail-yb0-f179.google.com) (209.85.213.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Aug 2016 20:36:29 +0000 Received: by mail-yb0-f179.google.com with SMTP id w8so1529836ybe.0 for ; Thu, 11 Aug 2016 13:36:28 -0700 (PDT) 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) Received: from [192.168.2.101] (pool-72-74-199-241.bstnma.east.verizon.net. [72.74.199.241]) by smtp.googlemail.com with ESMTPSA id y12sm1743011ywg.46.2016.08.11.13.36.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 13:36:26 -0700 (PDT) To: cygwin@cygwin.com From: Thomas Taylor Subject: Re: tcsh version 6.19.00-3 hangs on exit Message-ID: Date: Thu, 11 Aug 2016 23:38:00 -0000 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 X-SW-Source: 2016-08/txt/msg00201.txt.bz2 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