Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-11-24 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (343 votes). Check out past polls.

    Notices?