title: Why do Windows consoles lose command-line history (up arrow) after a time?
body: <p>It seems random: after some amount of time / usage of any console I use on Windows Vista, I lose the ability to use the command-line history (or command buffer, if you prefer...), and hitting the up or down arrow no longer does anything at all, meaning there are essentially 0 items available in the history.</p>
  
  <p>I've seen this behavior in Cygwin, CMD, and PowerShell. </p>
  
  <p>Sometimes this behavior applies to processes running inside the console - Python, MySQL client, etc.</p>
  
  <p>Is this an inherent problem in Windows? A setting somewhere? Are there other consoles that don't have this problem?</p>
  
  <p>ps - if you think this is non-programming related, please see other questions regarding programming tools, for instance, nearly anything tagged "eclipse" which deal with how to use the IDE rather than programming for it.</p>