Re: Bash Command History Scroll Back Problem with Multi-line Commands

2005-06-23 Thread Brian Dessent
ImranKhan wrote: > Yup, thanks guys, I found out the exact source is the prompt setting: > > This does not work: export PS1="\e[32m\w$\e[0m " Change this to: export PS1="\[\e[32m\]\w$\[\e[0m\] " -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://c

Re: Bash Command History Scroll Back Problem with Multi-line Commands

2005-06-23 Thread ImranKhan
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 i

Re: Bash Command History Scroll Back Problem with Multi-line Commands

2005-06-23 Thread Brian Dessent
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

Re: Bash Command History Scroll Back Problem with Multi-line Commands

2005-06-23 Thread Eric Blake
> 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? > > What happens is that the screen doesn't get refreshed properly and the > cursor seems to placed in the wrong spot.. Please repo