def load_basic_system_bindings():
 registry = Registry()
 suspend_supported = Condition((lambda cli: suspend_to_background_supported()))
 @registry.add_binding(Keys.ControlZ, filter=suspend_supported)
 def _(event):
  u'\n        Suspend process to background.\n        '
  event.cli.suspend_to_background()
 return registry

def load_basic_system_bindings ( ) : registry = Registry ( ) suspend_supported = Condition ( ( lambda cli : suspend_to_background_supported ( ) ) ) @ registry . add_binding ( Keys . ControlZ , filter = suspend_supported ) def _ ( event ) : event . cli . suspend_to_background ( ) return registry
basic system bindings .