Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Sa075-0004zn-T8 for bitbake-devel@lists.openembedded.org; Thu, 31 May 2012 09:48:08 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id q4V5EKmF000577 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 30 May 2012 22:14:20 -0700 (PDT) Received: from ord-jrw.wrs.com (172.25.32.41) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Wed, 30 May 2012 22:14:19 -0700 From: Jason Wessel To: Date: Thu, 31 May 2012 00:14:01 -0500 Message-ID: <1338441241-32230-7-git-send-email-jason.wessel@windriver.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1338441241-32230-1-git-send-email-jason.wessel@windriver.com> References: <1338441241-32230-1-git-send-email-jason.wessel@windriver.com> MIME-Version: 1.0 Subject: [PATCH 6/6] meta/lib/oe/terminal.py: Add an additional reference to screen called screen_inline X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2012 07:48:08 -0000 Content-Type: text/plain This is a new mode for screen with the explicit purpose of invoking screen on the same terminal that you started bitbake. The bitbake knotty will attempt to launch screen directly when using this setting for OE_TERMINAL. Signed-off-by: Jason Wessel --- meta/lib/oe/terminal.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 43639d5..5b17f76 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -100,6 +100,13 @@ class Screen(Terminal): logger.warn('Screen started. Please connect in another terminal with ' '"screen -r devshell"') +class Screen_inline(Terminal): + command = 'screen -D -m -t "{title}" -S devshell {command}' + + def __init__(self, command, title=None, env=None): + Terminal.__init__(self, command, title, env) + logger.warn('Screen Connect Command: screen -r devshell') + def prioritized(): return Registry.prioritized() -- 1.7.10