Any way to fix screen's mishandling of line wrap? (Maybe only Terminal.app)

Solution 1:

Success! I tried the suggestion from here:

https://serverfault.com/questions/272818/screen-not-dropping-down-a-line

which is to add:

termcapinfo xterm* ti@:te@

to your .screenrc and restart screen. This changes screen's scrollback behavior to something probably better for my average use case (eg, I can use Terminal's scrollback as long as I stay in the same window), in addition to fixing OP's problem.

Also, I can confirm the problem in 10.7's Terminal.app.

Solution 2:

It could be readline's 'horizontal-scroll-mode'. Run the following command:

bind 'set horizontal-scroll-mode off'

and see if your symptoms change. If so, you can set that in ~/.inputrc