in reply to Re^2: How to intercept ctrl-S/ctrl-Q characters from STDIN
in thread How to intercept ctrl-S/ctrl-Q characters from STDIN

Yes I know, but the OP did identify that he is on windows, hence I didn't see the need to qualify,


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^3: How to intercept ctrl-S/ctrl-Q characters from STDIN

Replies are listed 'Best First'.
Re^4: How to intercept ctrl-S/ctrl-Q characters from STDIN
by Mr. Muskrat (Canon) on Aug 22, 2008 at 14:56 UTC

    D'oh. I missed the PS.

    I'm actually surprised that Windows supports XON/XOFF behavior since Microsoft is known for rolling their own solutions to things.

      ^S worked on c/pm, ms/dos, os/2 95/98/ME/NT/XP et al.

      The first system I used where it worked was RSTS/E.

      One thing from RSTS/E that I've wished for on many systems since was ^T, which produced a one-line process status for the current program detailing memory & cpu usage. It was incredibly useful as a quick check that the program was still progressing. Back then, a compile that today would complete in the blink of your eye, could take tens of minutes before it produced any output at all. It also wasn't unheard of for compilers and interpreters to just disappear up their own tail-pipes and just stop doing anything.

      Of course. These days we have graphical process status tools graphing memory, cpu, threads, files, handles, ports, and dog knows what else, but that single key quick check was just sooo useful.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.