Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Wait for string

by Happy-the-monk (Canon)
on Apr 28, 2015 at 05:18 UTC ( #1124956=note: print w/replies, xml ) Need Help??

in reply to Wait for string

Is there a way to simulate hitting a key to continue printing the output to a file?

Send "\n" to the terminal.

However, it might be best to switch off the pager at your bash prompt:
There may be a "pager" setting in the shell, or as this is bash, there may be a "$PAGER" environment variable to unset: export PAGER=""

Unless, of course, the show out command has the pager built in. In that case, use the manual for that command to find out how to switch of paging.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1124956]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2018-07-19 14:07 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (409 votes). Check out past polls.