On Jun 6, 2013, at 9:04 AM, Travis Thornhill wrote:

> 
> 
> On Jun 5, 2013, at 4:18, "Nemana, Satya" <snem...@sonusnet.com> wrote:
> 
>> Hi
>>  
>> I am having a slight difficulty in getting this accomplished.
>> When my perl program keeps running, I sometimes need to pause the screen 
>> output and check some things on the output.
>> But, I want my program to still keep running  while I pause the screen. 
>> (using ctrl+s on putty)
>> But the program also is pausing.(I tested this with a simple program which 
>> prints number from 1-100 sleeping 1 second after each print , but the main 
>> program I am trying to get this working is much complex, so will try things 
>> here first before modifying the original program)
>>  
>> 
> 
> Your program should still be running, and it should still accept keyboard 
> input. After ctrl-s, you just can't see any input/output. Try ctrl-q to 
> recover.

The program will keep running, but at some point, if the program is writing 
bytes to the standard output stream, the buffer for that stream will fill up. 
At that point, the program will block doing a write until the buffer has been 
depleted and output can resume. Otherwise, some output would be lost.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to