geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kees van Veen <>
Subject Re: stty echo
Date Mon, 15 Feb 2010 15:30:17 GMT
Hi Kevan,

The attached diff works for me, while still doing the 'stty echo' the 
exit status of the Java command is preserved, so my script calling would still fail when Java fails, but not when stty fails.

BTW why not do 'stty sane' (or both), as apparently exiting Java with an 
exception does not reset the terminal properly ?


-------- Original Message --------
Subject: Re: stty echo
From: Kevan Miller <>
Date: Sat 13 Feb 2010 06:25:34 PM CET

> On Feb 4, 2010, at 4:18 AM, Kees van Veen wrote:
>> Hi,
>> I just switched to geronimo-tomcat6-javaee5-2.2, and deploying our application with
a script that calls $GERONIMO_HOME/bin/ now fails (on Ubuntu 9.10) because the last
line in is 'stty echo' which causes the script to exit with a non-zero status (stty:
standard input: Invalid argument) when input/output is redirected. Removing that line solves
my problem.
>> Anyone else experiencing that ?
> No, but sounds like we've introduced a problem.
> FYI, this change was added to address --
> Perhaps you have a suggestion for a better ways of handling? Afraid my scripting-foo
is weak.
> You should creat a Jira.
> --kevan 

View raw message