Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Wait for string

by Happy-the-monk (Abbot)
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1124956]
help
Chatterbox?
NodeReaper wonders through a maze of twisty little sayings, all alive

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-09-23 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (273 votes). Check out past polls.

    Notices?