Skip to content
Snippets Groups Projects

main/ttyescape: new aports: a shell script and triggerhappy configuration to let mobile device users "escape" to a tty

Merged Imported Administrator requested to merge ttyescape into master
  1. Aug 10, 2021
    • Casey's avatar
      gitlab-ci: shellcheck ttyescape (MR 2309) · 9e3b3700
      Casey authored and Clayton Craft's avatar Clayton Craft committed
      [ci:skip-build] already built successfully in CI
      Unverified
      9e3b3700
    • Casey's avatar
      main/ttyescape: new aports (MR 2309) · 20f93d94
      Casey authored and Clayton Craft's avatar Clayton Craft committed
      Add ttyescape, a script and triggerhappy configuration to allow mobile device
      users to access and use a shell without having to plug in to a computer.
      
      One of the largest limitations with a mobile device is the lack of keyboard, for
      mainstream OSs like Android and iOS, this is a non-issue as the whole OS stack
      is built to automatically recover in case of a crash / hang, hiding the internal
      state of affairs from users and making use of careful design to minimise the
      impact.  When bringing Linux to mobile, we carry not only the benefits of the
      Linux desktop but also it's limitations. In the event that your desktop manager
      goes haywire or hangs completely, or your graphics drivers get unhappy, the
      ability to quickly jump to a tty and start killing bad behaving programs or
      reset your display manager is one that most of us take for granted.  But when
      hit by similar errors on a mobile device there is no such recourse available,
      users either have to reboot and hope that the issue doesn't occur again, or pull
      out a laptop and pull up a shell (assuming ssh is enabled and the rndis
      interface comes up).
      
      ttyescape proposes to solve this issues by pieceing together several already
      available tools, notably:
       - triggerhappy, a tool used to perform actions when
      certain buttons or key combinations are pressed with no dependencies on the
      display manager in use.
       - fbkeyboard, a framebuffer keyboard for tty's, it
      renders on top of the current tty and uses the device touchscreen as input.
      Unverified
      20f93d94
Loading