Terminal Function Key Escape Codes (2005)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • zsh-vi-mode

    💻 A better and friendly vi(vim) mode plugin for ZSH.

  • I recently walked into a pretty esoteric issue for people who don't with terminal emulation often :

    Having rebound at firmware level my `Left Ctrl` key to `F13`, I found that while the key was appropriately grabbed at the OS and terminal emulation level, it wasn't really making it to my weird Zsh setup[1] and it couldn't be bound through `bindkey`. And I couldn't really change the keyboard binding to anything else because everything's already configured to use `F13`.

    I ended up looking everywhere for what scancode I should be reading on the command line, and found this endlessly useful little cheatsheet.

    In the end I configured the terminal emulator to output `\u001b[25~` on `F13` inputs and now it kinda mostly works.

    [1]: The culprit is [Zsh Vi Mode](https://github.com/jeffreytse/zsh-vi-mode). It's great !

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts