Re: flushing to logfile

2012-08-21 Thread Borja Soutullo
Not way either. I have also tried that. And it seems that the response of the command is sometimes lost in the meanwhile... Thanks for the idea Stephane :P 2012/8/21 Stephane Chazelas > 2012-08-21 10:04:03 +0200, Borja Soutullo: > > Is there any way to force the flushing of the screen buffer to

Re: flushing to logfile

2012-08-21 Thread Borja Soutullo
Thanks Bruno... Indeed a redirect is not possible either. In the screen I am running a propietary shell which its own commands (like sql for example) therefore I can send the proper command via screen stuff and I want to read the output, (via log) there is no possibility to redirect. The only one p

Re: flushing to logfile

2012-08-21 Thread Stephane Chazelas
2012-08-21 10:04:03 +0200, Borja Soutullo: > Is there any way to force the flushing of the screen buffer to the logfile? > I want to execute a command and immediately after that, get the logfile and > check the result of the command. > > I know I can set the logfile to be flushed every second with

Re: flushing to logfile

2012-08-21 Thread Bruno Cudini
On Tue, Aug 21, 2012 at 01:19:24PM +0200, Borja Soutullo wrote: > It seems that hardcopy only provides you with some information if you have > ever accessed the terminal screen. > I mean, I always a screen in detached mode, and if I try to hardcopy it, it > will always be empty. As soon as I access

Re: flushing to logfile

2012-08-21 Thread Borja Soutullo
It seems that hardcopy only provides you with some information if you have ever accessed the terminal screen. I mean, I always a screen in detached mode, and if I try to hardcopy it, it will always be empty. As soon as I access the screen, it will not be empty any more... therefore it is not valid.

Re: flushing to logfile

2012-08-21 Thread Bruno Cudini
Hi, On Tue, Aug 21, 2012 at 10:04:03AM +0200, Borja Soutullo wrote: > Is there any way to force the flushing of the screen buffer to the logfile? > I want to execute a command and immediately after that, get the logfile and > check the result of the command. Not sure of the differences, but isn't

flushing to logfile

2012-08-21 Thread Borja Soutullo
Is there any way to force the flushing of the screen buffer to the logfile? I want to execute a command and immediately after, get the logfile and check the result of the command. I know I can set the logfile to be flushed every second with the logfile flush 1 command But I am looking for somethin

flushing to logfile

2012-08-21 Thread Borja Soutullo
Is there any way to force the flushing of the screen buffer to the logfile? I want to execute a command and immediately after that, get the logfile and check the result of the command. I know I can set the logfile to be flushed every second with the logfile flush 1 command But I am looking for som