How can you turn off alternate screen in OSX's Terminal.app?

altscreen is evil. If you don't know what I'm talking about, see this page for visual demonstration.

Problem is, there doesn't seem to be a way to stop it with Terminal.app (under OSX), when you're not using screen. Yes, you can edit terminfo definition, but that's rather blunt hammer. Plus that solution might break if Apple decides to update relevant term's definition in some patch. Is there some clean way to convince Terminal.app to block altscreen usage?


Yes.

Terminal -> Preferences -> Settings -> Advanced

Change "Declare terminal as:" from xterm-color to xterm (or experiment with the other options...)

(worked for me with man, didn't try some of the others.)