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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=Gk G3ZJGMWliH1C8TLJkZHCl9mQ197BMxpSORzPNWdWICnOi3NZt5qienec5wLjRVbo RqYftOva2lEeqggOt/9M+CrwAA5jczLccCw5Q6JnC/qk+OKh042QQw3zZQxPqMBn WVwhMJF+BK2j1WkYmGEvM26pqCGYYLxh+27GxDV9o= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=+3EKEDtr br0GhknnzEg/T4x7QFg=; b=PLNj5sqzeR8fft7giRNhM1Xan/uSmjMVUnOMtqRJ Ur+AVZejGmnhKOZxuzc4dhjpGSOwt5MU7rcnyadtK2GsE+mCmPXkHTjL4fGPf4LH qnDxeWaIUcHJL+8xnrHla/nL1gT7j8w4WbM/j3ISIGkQXztsqHsUeyvGHR159NyC gRM= 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=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com MIME-Version: 1.0 X-Received: by 10.66.232.129 with SMTP id to1mr4918225pac.29.1389743427148; Tue, 14 Jan 2014 15:50:27 -0800 (PST) In-Reply-To: <52D56BB4.2050806@cygwin.com> References: <52D56BB4 DOT 2050806 AT cygwin DOT com> Date: Tue, 14 Jan 2014 17:50:27 -0600 Message-ID: Subject: Re: Interactive non-login shell and tilde expansion From: Steven Penny To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes On Tue, Jan 14, 2014 at 10:54 AM, Larry Hall (Cygwin) wrote >> Problem reports: http://cygwin.com/problems.html After running cygcheck -s -v -r on both a "good" and "bad" Cygwin.bat I ran a "git diff" and noticed this +PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' So I tried it and that looks to be the issue. However it doesnt make much sense because even with "bad" Cygwin.bat PS1 seems to be already defined $ echo "$PS1" \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ $ ~/foo.sh /home/Steve0^G $ export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' $ ~/foo.sh /home/Steven -- 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