You're viewing a comment by Peteris Krumins and its responses.

June 04, 2010, 18:06

It actually depends on your terminal. clear, which internally does the same as tput clear, outputs the CSI 2 J escape sequence that instructs the terminal to erase the data on the screen. There may or may not be line scrolling depending on terminal capabilities.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "coding": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.