Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Title says all. (the one when you use the scrollwheel to see the old commands and results)

I do not wish to clear it for sure as some data I have lost is within some old scrollback.

share|improve this question
    
I don't even have a Mac, but did you try the Page Up / Page Down buttons (represented by symbols with arrows on a page on Mac keyboards)? Or maybe it's an option hidden somewhere within the application menu on the top of the screen. Or the window's contextual menu (ctrl-click). With Macs, things are often where you least expect them. –  Ariane Jan 8 '13 at 3:13
add comment

1 Answer

up vote 1 down vote accepted

Somewhere in memory or maybe the data files in ~/Library/Saved Application State/com.apple.Terminal.savedState/. (sudo opensnoop -n Terminal shows what files are accessed by Terminal.)

I don't know any way to see the scrollback history of old tabs. This shows lines that are cleared with C-l but not ⌘K:

osascript -e 'tell application "Terminal" to history of window 1'
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.