From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32551 invoked by alias); 15 Jan 2014 00:15:16 -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 32535 invoked by uid 89); 15 Jan 2014 00:15:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173025pub.verizon.net Received: from vms173025pub.verizon.net (HELO vms173025pub.verizon.net) (206.46.173.25) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Jan 2014 00:15:15 +0000 Received: from [192.168.1.231] ([unknown] [74.104.179.122]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MZF006FS218E3C0@vms173025.mailsrvcs.net> for cygwin@cygwin.com; Tue, 14 Jan 2014 18:15:13 -0600 (CST) Message-id: <52D5D30E.2070606@cygwin.com> Date: Wed, 15 Jan 2014 00:15:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-version: 1.0 To: cygwin@cygwin.com Subject: Re: Interactive non-login shell and tilde expansion References: <52D56BB4.2050806@cygwin.com> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2014-01/txt/msg00154.txt.bz2 On 1/14/2014 6:50 PM, Steven Penny wrote: > 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 My PS1 is also set. I'm wondering why it doesn't show up in your output above though. Perhaps it's time to add 'set -x' to your ~/.bash_profile and ~/.bashrc to see what gets invoked on your end. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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