From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4194 invoked by alias); 14 Jan 2014 23:50: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 4165 invoked by uid 89); 14 Jan 2014 23:50:30 -0000 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 Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 14 Jan 2014 23:50:29 +0000 Received: by mail-pd0-f178.google.com with SMTP id y13so321113pdi.9 for ; Tue, 14 Jan 2014 15:50:27 -0800 (PST) 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) Received: by 10.68.95.133 with HTTP; Tue, 14 Jan 2014 15:50:27 -0800 (PST) In-Reply-To: <52D56BB4.2050806@cygwin.com> References: <52D56BB4.2050806@cygwin.com> Date: Tue, 14 Jan 2014 23:50:00 -0000 Message-ID: Subject: Re: Interactive non-login shell and tilde expansion From: Steven Penny To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00151.txt.bz2 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