hterm: update Chromebook media bindings

Now that the clashing Firefox bindings have been isolated, we can
add bindings for the remaining Chrome OS mediakeys and flesh out
the top row.  Especially now that the volume keys can be captured
and processed.

It seems we can see the power button too now, but we just pass it
as we can't stop it.

On the Pixelbook (eve), the media keys are different: the forward
button is missing, and there's a new play/pause button.  So a few
of the keys are mapped incorrectly.  Fixing this will require more
thought.

We capture and eat the assistant key by default.  It doesn't seem
to be that useful for devs at the terminal, and they can always
add to their keybindings {"153":"PASS"} to keep it.  If it makes
more people unhappy, we can see about adding a dialog/preference.

BUG=chromium:807513

Change-Id: Ia97349b51a4f699c8bcfdaf497ba764483106ef3
Reviewed-on: https://chromium-review.googlesource.com/899455
Reviewed-by: Vitaliy Shipitsyn <vsh@google.com>
Tested-by: Mike Frysinger <vapier@chromium.org>
1 file changed
tree: 3bba3feec8998182b34ccb1eb2119fe1e9a67fff
  1. hterm/
  2. libdot/
  3. nassh/
  4. saltpig/
  5. ssh_client/
  6. wam/
  7. wash/
  8. .clang-format
  9. .eslintrc.js
  10. .gitignore
  11. HACK.md
  12. LICENSE
  13. package.json
  14. README.md
README.md

Hello

This repository contains the libdot JavaScript library and some web applications that make use of it.

The official copy of this repository is hosted at https://chromium.googlesource.com/apps/libapps.

There is also a mirror on github at https://github.com/libapps/libapps-mirror. A few subprojects are also extracted out into their own git repo and mirrored. Keep in mind that these mirrors may occasionally be behind the official repository.

All changes must go through the Gerrit code review server on https://chromium-review.googlesource.com. Github pull requests cannot be accepted. Please see the HACK.md document in this directory for the details.

Top level directories

  • libdot/ is a small set of JS libraries initially developed as part of hterm, now available as shared code.

  • hterm/ is a JS library that provides a terminal emulator. It is reasonably fast, reasonably correct, and reasonably portable across browsers.

  • nassh/ is the Secure Shell Chrome App (currently a “v1.5” app, soon to become a “v2” or platform app) that combines hterm with a NaCl build of OpenSSH to provide a PuTTY-like app for Chrome users.

  • ssh_client/ is the NaCl port of OpenSSH. It is used by nassh to create the Secure Shell App.

  • wash/ is a library for cross-origin virtual filesystems, similar to the Plan 9 filesystem. This directory also contains a simple bash-like shell environment for exploring these filesystems. The code in this directory is a work-in-progress.