Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 36051 invoked from network); 14 Oct 2010 15:38:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Oct 2010 15:38:59 -0000 Received: (qmail 40936 invoked by uid 500); 14 Oct 2010 15:38:59 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 40900 invoked by uid 500); 14 Oct 2010 15:38:59 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 40892 invoked by uid 99); 14 Oct 2010 15:38:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 15:38:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Oct 2010 15:38:57 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9EFcZYB010612 for ; Thu, 14 Oct 2010 15:38:35 GMT Message-ID: <8020220.143101287070715272.JavaMail.jira@thor> Date: Thu, 14 Oct 2010 11:38:35 -0400 (EDT) From: "Derek Baum (JIRA)" To: dev@felix.apache.org Subject: [jira] Resolved: (FELIX-2661) [Gogo] It should be easier to start Gogo shell non-interactively In-Reply-To: <32163020.142341287066157547.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Derek Baum resolved FELIX-2661. ------------------------------- Resolution: Fixed added --nointeractive flag to gosh, so no interactive startup can now be achieved using: $ java -Dgosh.args=--nointeractive bin/felix.jar It is no longer necessary to specify a dummy command like '-sc echo'. The gosh_profile is not run in non-interactive mode (so the gogo banner will not be displayed). However, new sessions created by telnet or ssh, will be interactive and thus run gosh_profile and show gogo banner. > [Gogo] It should be easier to start Gogo shell non-interactively > ---------------------------------------------------------------- > > Key: FELIX-2661 > URL: https://issues.apache.org/jira/browse/FELIX-2661 > Project: Felix > Issue Type: Improvement > Components: Gogo Shell > Affects Versions: gogo-0.6.1 > Reporter: Richard S. Hall > Assignee: Derek Baum > Fix For: gogo-0.8.0 > > > To start the Gogo shell non-interactively, you have to specify a dummy command and tell it not to shutdown in its configuration...something like this: > gosh.args=--noshutdown -c noop=true > This is not necessarily the most straightforward approach and it also results in the gosh_profile being executed and the MOTD being displayed, which doesn't really make sense in the non-interactive use case. > It seems like it would be better to have an explicit flag to tell the Gogo shell to start up non-interactively (e.g., --noninteractive), which would also imply not shutting down, but wouldn't require a dummy command, nor execute the gosh_profile. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.