Line breaks in bash

Larry Hall cygwin-lh@cygwin.com
Fri Apr 23 00:37:00 GMT 2004


At 06:34 PM 4/22/2004, you wrote:
>When I type a long line in the bash shell it seems to get confused when it passes the first 80 character barrier and does a newline. Below is an example.
>
>C09-272-A:# why is it in bash that when I get close to typing 80 characters bash
>does som
>ething like this?


Works fine for me.


>Now set my prompt to the hostname as "\[\e]0;\w\a\e[01;33mC09-272-A:\e[0m". Could this be causing the problem?


Yes, apparently.  I could reproduce your problem using your prompt.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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