ducky.devices.terminal module¶
Terminal is a device that groups together character two input and output devices, thus forming a simple channel for bidirectional communication between VM and user.
- Terminal has two slave frontends:
- input, usually a keyboard
- output, from simple TTY to more powerful devices
Terminal then manages input and input streams, passing them to its slave devices, which then transports events between streams and VM’s comm channel.
-
class
ducky.devices.terminal.
StandardIOTerminal
(machine, name, input_device=None, output_device=None, *args, **kwargs)[source]¶
-
class
ducky.devices.terminal.
StreamIOTerminal
(machine, name, input_device=None, output_device=None, *args, **kwargs)[source]¶
-
class
ducky.devices.terminal.
Terminal
(machine, name, echo=False, *args, **kwargs)[source]¶ Bases:
ducky.devices.DeviceFrontend