Lines Matching full:terminal

11 logger = logging.getLogger('BitBake.OE.Terminal')
33 class Terminal(Popen, metaclass=Registry): class
47 fmt = {'title': title or 'Terminal', 'command': sh_cmd, 'cwd': os.getcwd() }
53 class XTerminal(Terminal):
55 Terminal.__init__(self, sh_cmd, title, env, d)
60 command = 'gnome-terminal -t "{title}" -- {command}'
64 # Recent versions of gnome-terminal does not support non-UTF8 charset:
67 # Once fixed on the gnome-terminal project, this should be removed.
73 command = 'mate-terminal --disable-factory -t "{title}" -x {command}'
77 command = 'xfce4-terminal -T "{title}" -e "{command}"'
111 class Screen(Terminal):
117 Terminal.__init__(self, sh_cmd, title, env, d)
118 msg = 'Screen started. Please connect in another terminal with ' \
126 class TmuxRunning(Terminal):
142 Terminal.__init__(self, sh_cmd, title, env, d)
144 class TmuxNewWindow(Terminal):
157 Terminal.__init__(self, sh_cmd, title, env, d)
159 class Tmux(Terminal):
178 Terminal.__init__(self, sh_cmd, title, env, d)
181 …msg = 'Tmux started. Please connect in another terminal with `tmux att -t {0}`'.format(window_name)
187 class Custom(Terminal):
196 Terminal.__init__(self, sh_cmd, title, env, d)
197 logger.warning('Custom terminal was started.')
199 logger.debug('No custom terminal (OE_TERMINAL_CUSTOMCMD) set')
215 """Spawn the first supported terminal, by priority"""
216 for terminal in prioritized():
218 spawn(terminal.name, sh_cmd, title, env, d)
223 bb.warn("Terminal %s is supported but did not start" % (terminal.name))
229 """Spawn the specified terminal, by name"""
230 logger.debug('Attempting to spawn terminal "%s"', name)
232 terminal = Registry.registry[name]
244 …sh_cmd = bb.utils.which(os.getenv('PATH'), "oe-gnome-terminal-phonehome") + " " + pidfile + " " + …
245 pipe = terminal(sh_cmd, title, env, d)
315 if ver.startswith('GNOME Terminal'):
317 if ver.startswith('MATE Terminal'):