coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: timeout (GNU coreutils) 8.23 - Controls Keys Not Working


From: Tarkowski Michael (FCA)
Subject: RE: timeout (GNU coreutils) 8.23 - Controls Keys Not Working
Date: Mon, 9 Mar 2015 15:22:01 +0000

Pádraig,

That was it.  I looked at the help information . . . the answer was right in 
front of me but I missed it.

Thank you


Regards,

Michael Tarkowski
Sales & Marketing Application Architecture
FCA US LLC 
Office: +01.248.838.4866   Mobile: +01.248.891.5097
Email:  address@hidden
Mobile Text: address@hidden

-----Original Message-----
From: Pádraig Brady [mailto:address@hidden] 
Sent: Monday, March 09, 2015 10:33 AM
To: Tarkowski Michael (FCA); address@hidden
Subject: Re: timeout (GNU coreutils) 8.23 - Controls Keys Not Working

On 09/03/15 14:01, Tarkowski Michael (FCA) wrote:
> Hello,
> 
>  
> 
> I'm using the timeout (GNU coreutils) 8.23 command on RedHat 6.5 Enterprise 
> server, and it is performing the timeout as planned.
> 
>  
> 
> In my scenario, the timeout command allows me to tail a log on my Putty 
> screen for 2 minutes.  Here is the command.
> 
>  
> 
> ./startup.sh ; timeout 120 tail -f ${LOG_HOME}/tomcat/instance1/catalina.out
> 
>  
> 
>  
> 
> Issue - while the log is being tailed on my Putty screen I cannot use my 
> control keys.  For example, control+c does not cancel the log tail.
> 
>  
> 
> Note - on my other RedHat 6.5 Enterprise  servers this is not an issue but 
> I'm using timeout (GNU coreutils) 8.4 instead of version 23.
> 
>  
> 
> Any suggestions on how to get the control+c to work would be greatly 
> appreciated.

Seems like the --foreground option would be appropriate for your case.
See http://www.gnu.org/s/coreutils/timeout for details.

thanks,
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]