Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com To: cygwin@cygwin.com From: "ImranKhan" Subject: Re: Bash Command History Scroll Back Problem with Multi-line Commands Date: Thu, 23 Jun 2005 14:59:05 -0400 Lines: 30 Message-ID: References: <42BB0603.20745D88@dessent.net> X-RFC2646: Format=Flowed; Original X-IsSubscribed: yes Yup, thanks guys, I found out the exact source is the prompt setting: This does not work: export PS1="\e[32m\w$\e[0m " This works fine: export PS1="\w$ " I inherited this bashrc, so the first settings are hieroglyphics to me. Seeing as I don't care much about colour anyway, I'll just remove it. Thanks so much! "Brian Dessent" wrote in message news:42BB0603.20745D88@dessent.net... > ImranKhan wrote: > >> This falls in the annoyance category. Anyone have problems using scroll >> back history with commands that are long and split over muliple lines in >> the >> terminal? > > No problem at all here. This is usually caused by improper use (or lack > of) \[ and \] in the prompt to tell bash which characters are > nonprinting. > > Brian > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/