title: Caching output of last few shell-run command sans 'script'?
body: <p>Can I cache the output of the last few commands I ran from tcsh? Notes: </p>
  
  <ul>
  <li><p>I often run a slow and verbose command from tcsh, forget to 
  redirect/tee the output, and have the results scroll off the 
  screen. Solutions I've considered: </p>
  
  <ul>
  <li><p>Run everything inside 'script'. This seems like overkill, since 
  it saves the output of everything, not just the last few 
  commands. I suppose you could cleverly rotate script output files 
  somehow, but this seems ugly. </p></li>
  <li><p>Screen/rxvt/xterm scrollback. This actually works fairly well, 
  unless the output is voluminous (which it often is). </p></li>
  <li><p>Run the command again. Obviously, this is what I'm hoping to 
  avoid (though, thanks to filesystem caching, the rerun is often 
  quicker than the first run). </p></li>
  <li><p>Try to stop being so damn stupid. No hope whatsoever. </p></li>
  </ul></li>
  </ul>
  
  <p>EDIT: One thought: can I make tcsh run a "post command" on everything 
  I type in? For example, if I say "ls", it secretly runs "ls | tee 
  /tmp/lastout.txt" or something? Is there some setenv variable that 
  does this? </p>