Bash Command History Scroll Back Problem with Multi-line Commands

Eric Blake ericblake@comcast.net
Thu Jun 23 18:53:00 GMT 2005


> 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 report more information:

> Problem reports:       http://cygwin.com/problems.html

Are you using bash-2.05b-17 or bash-3.0-2?  If you are using the older one, try the experimental new version to see if it was an upstream bug that has already been fixed by the new release.  Which terminal are you using (Windows, rxvt, or xterm)?  Also, report what "echo $TERM $PS1" shows - I know that if you tell bash the wrong information as to which characters in the prompt are actually printing characters, bash is bound to be confused.  Also, the style of history completion can be controlled by various shell options, so report the output of "shopt | grep hist" and "env | grep HIST".

--
Eric Blake
cygwin bash maintainer



--
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/



More information about the Cygwin mailing list