http://www.perlmonks.org?node_id=103538


in reply to How can a user pause a running script?

What's wrong with hitting ctrl-S to stop the output and ctrl-Q to start the output, as we do with most other programs?
  • Comment on Re: How can a user pause a running script?

Replies are listed 'Best First'.
Re: Re: How can a user pause a running script?
by mischief (Hermit) on Aug 09, 2001 at 22:33 UTC

    Personally I hate doing that, cos you hit ctrl+s to freeze the screen, then when you hit ctrl+q again your window gets flooded with stuff if there's more than one page meaning you miss all the other data.

      That's why I prefer ctrl-Z, as it actually stops the running of the program and gives back the command prompt. Since you get the command prompt back, it seems like a better solution anyway; the user can look at the output files and then deside to "fg" the program to let it continue.

      Scott