[bitbake-devel,v4,16/18] meta/lib/oe/terminal.py: Add an additional reference to screen called screen_inline

Submitted by Jason Wessel on June 8, 2012, 1:41 p.m. | Patch ID: 29513


Message ID 1339162913-23759-17-git-send-email-jason.wessel@windriver.com
State New
Headers show

Commit Message

Jason Wessel June 8, 2012, 1:41 p.m.
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

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
 meta/lib/oe/terminal.py |    7 +++++++
 1 file changed, 7 insertions(+)

Patch hide | download patch | download mbox

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}'