Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1ScN0i-0006e7-22 for bitbake-devel@lists.openembedded.org; Wed, 06 Jun 2012 22:39:20 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail1.windriver.com (8.14.3/8.14.3) with ESMTP id q56KSq7t014059 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 6 Jun 2012 13:28:52 -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, 6 Jun 2012 13:28:51 -0700 From: Jason Wessel To: Date: Wed, 6 Jun 2012 15:28:37 -0500 Message-ID: <1339014519-9972-14-git-send-email-jason.wessel@windriver.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1339014519-9972-1-git-send-email-jason.wessel@windriver.com> References: <1339014519-9972-1-git-send-email-jason.wessel@windriver.com> MIME-Version: 1.0 Subject: [PATCH v3 13/15] 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: Wed, 06 Jun 2012 20:39:21 -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..ca94e73 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -92,6 +92,13 @@ class Rxvt(XTerminal): command = 'rxvt -T "{title}" -e {command}' priority = 1 +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') + class Screen(Terminal): command = 'screen -D -m -t "{title}" -S devshell {command}' -- 1.7.10