From 96e4df5d0b4e27e40a2a6b5d7db2631b9c203010 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 29 Mar 2011 12:53:19 -0700 Subject: Rework how the devshell functions In the new implementation, each known terminal is defined as a class in oe.terminal, as a subclass of bb.process.Popen. It obeys the OE_TERMINAL variable, which is a 'choice' typed variable. This variable may be 'auto', 'none', or any of the names of the defined terminals. When using 'auto', or requesting an unsupported terminal, we attempt to spawn them in priority order until we get one that's available on this system (and in the case of the X terminals, has DISPLAY defined). The 'none' value is used when we're doing things like automated builds, and want to ensure that no terminal is *ever* spawned, under any circumstances. Current available terminals: gnome konsole xterm rxvt screen Signed-off-by: Chris Larson --- meta/lib/oe/classutils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/lib/oe/classutils.py') diff --git a/meta/lib/oe/classutils.py b/meta/lib/oe/classutils.py index 58188fdd6e..42b0f49bc3 100644 --- a/meta/lib/oe/classutils.py +++ b/meta/lib/oe/classutils.py @@ -1,3 +1,5 @@ +__author__ = 'kergoth' + class ClassRegistry(type): """Maintain a registry of classes, indexed by name. -- cgit 1.2.3-korg