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=lys tUN4VaAWMwiS0YytFLtwBSfzTWQTAjO1Yd2fez5SQCeDOQEW9UJwHAxT8mg3ioXo mPhunS8/Y00GbYCWp9026gfS82eBbVvMh4c0LYlkDFcOrLzH5K1c/sCDJaZgzGwK 5QPg9BRsjBoxX/ow0BwbOVZa0kPbwJY/Vra7fgFQ= 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=OeprvGevr cUCJ6MUy9OCi2R8djQ=; b=EJav7NbrMA0EjekEZt+YDoG+yU4R2aSKuSmaNvnH5 /grbbBnr3hOBpw+FPjX6eeJkE43+ki+fOB2va7fCg1ZxldQ0g0BM2k/cXv1m0vZ1 d7mwxD7rz07dbxkyEWy+pkXipH5atfwAJ+DmMbYdTljas0srbPeCI1K05AyB8tLF kk= 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=0.1 required=5.0 tests=BAYES_40,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=fish, ash, Sample, 32m X-HELO: forward11j.cmail.yandex.net Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 To: cygwin AT cygwin DOT com From: Evgeny Grin Subject: Subshell lost ANSI colors Openpgp: id=289FE99E138CF6D473A3F0CFBF7AC4A5EAC2BAF4 Message-ID: <4c9c752a-adbd-c0b1-35ed-59d293c395d8@yandex.ru> Date: Thu, 20 Oct 2016 22:06:25 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi! Noticed some time ago: most of subshells lost colors and prints some codes. Sample output: ==================================================================================== User AT PcName ~ $ dash \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n$ exit User AT PcName ~ $ ash \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n$ exit User AT PcName ~ $ zsh \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ exit User AT PcName ~ $ bash User AT PcName ~ $ exit exit User AT PcName ~ $ mksh \[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n$ exit User AT PcName ~ $ fish Welcome to fish, the friendly interactive shell Type help for instructions on how to use fish User AT PcName ~> exit User AT PcName ~ $ sh User AT PcName ~ $ exit exit User AT PcName ~ $ ==================================================================================== Default shell started with installed desktop shortcut (mintty). bash, sh and fish shells print colorized prompt. The rest prints ANSI codes. Same happens in Windows standard console. Am I doing incorrectly something? -- Best Wishes, Evgeny Grin -- 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