Web lists-archives.com

a quick tip that sometimes saves a lot of further worries




  i'm sometimes developing code and in the process 
manage to mess it up where it isn't backed up or
in any other spot, but i do have this habit of
keeping a terminal open with text and i sometimes
cat or scroll files there so as long as i don't 
shut down the system i can go there and cut and
paste things.

  today this saved me a mild panic as i'd written
some code and then thought i'd copied it, but then 
i'd clobbered that copy doing something else.

  *whew*

  and yes, i do make backups here or there, but
sometimes i work faster than i do that.  i also
use git, but i don't always stash temporary copies
all the time.  today i actually did make a temporary
copy, but that copy i clobbered on purpose and then
said "oops"  :)

  i started looking at undelete file utilities and
then said, hey perhaps i have this scrolled in 
another terminal...

  now the really nice feature would be if i actually
made this into a system where my vi editor would
automagically scroll it for me in some window...
that will be for some other time.  i don't want to
get sidetracked any more for the moment.  gardens
are sidetracking me enough...

  just some thoughts in passing.  :)


  songbird