Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Wait for string

by Happy-the-monk (Canon)
on Apr 28, 2015 at 05:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1124956]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-23 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found