Summary: In Terminal.app, if your prompt is long because of a long path name, resizing the Terminal window can erase the end of your output text. This is a very bad bug if you've run a command-line tool and the last line of the tool's output text says whether the tool has succeeded or failed, for example. There seems to be no way to get the erased text back -- data loss. Steps to Reproduce: 1. Create the file .bash_profile in your ~ directory and add this line: export PS1='\h:\w \u\$ ' 2. Relaunch Terminal 3. Make your window size 80 columns wide. 4. cd /System/Library/Frameworks/WebKit.framework/Versions/A/Resources 5. ls -al 6. Notice that the last line of output contains the file "zh_TW.lproj". See the attached "Picture1.png". 7. With the mouse, drag the Terminal window until it's wider. Expected Results: The output of ls -al is preserved. Actual Results: The last line of the output of ls -al is erased. See the attached "Picture2.png". Notice that the line containing "zh_TW.lproj" is gone. Regression: This problem can be reproduced on two different machines running Mac OS X 10.5.5. It cannot be reproduced on Mac OS X 10.4.11, so it seems to be a Leopard regression. Note that export PS1='\h:\w \u\$ ' was chosen to match the setting in Tiger's "/etc/bashrc". It doesn't matter whether you use '\h' or '\H', the problem occurs either way; in my screenshots, I used the setting export PS1='\H:\w \u\$ '. Notes: Attached a series of 5 time-lapse screenshots "Picture1.png" through "Picture5.png". You can see that as I repeatedly widen and narrow the Terminal window, the lines of output get erased one by one. In Pictures 4 and 5 you can see that the prompt is being displayed incorrectly.