Hello,

I noticed a bug that appeared in bash recently.
Everything worked OK on this version:
GNU bash, version 2.05b.0(1)-release (i386-portbld-freebsd4.10)
Copyright (C) 2002 Free Software Foundation, Inc.

Now I'm having troubles on this version:
GNU bash, version 3.1.17(0)-release (i386-portbld-freebsd6.2)
Copyright (C) 2005 Free Software Foundation, Inc.

How to reproduce (used PUTTY and konsole to test):
Save the uuencoded bash_profile file and load it into bash:

# . bash_profile

You'll get the command prompt like this:

0 [EMAIL PROTECTED]:ttyp3 ~ 23:05:52 1>

Now type anything of such length that the cursor will be below the command
prompt:

1 [EMAIL PROTECTED]:ttyp3 ~ 23:09:19 1> this is a test string that will be 
wrapped
 down

Now hit HOME END HOME END keys.

The command prompt will be messed up in the newer bash versions.

It worked OK in older versions, e.g. bash 2.05b.0(1)



--
Best regards,
Alexander Renn

Phone: +380632311922
E-mail/Jabber: [EMAIL PROTECTED]
ICQ: 50088883

Attachment: bash_profile
Description: Binary data

Reply via email to