Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make terminal escape character configurable using environment #425

Closed
wants to merge 8 commits into from

Commits on May 16, 2013

  1. Make terminal escape character configurable using environment

    variable MOSH_ESCAPE_KEY. Defaults to current Ctrl-^ which is
    somewhat problematic for many non-US keyboards.
    
    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 16, 2013
    Configuration menu
    Copy the full SHA
    5def55a View commit details
    Browse the repository at this point in the history

Commits on May 17, 2013

  1. Removed warning.

    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    f2032cf View commit details
    Browse the repository at this point in the history
  2. Variable names.

    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    b1c5442 View commit details
    Browse the repository at this point in the history
  3. If escape key is a printable character, require it to be immediately

    after newline.  Also don't allow setting escape key to Ctrl-C, Ctrl-D,
    Newline, or Carriage Return.
    
    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    be94e6e View commit details
    Browse the repository at this point in the history
  4. Removed compilation warning generating always true comparison.

    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    b1eb37f View commit details
    Browse the repository at this point in the history
  5. Elaborated the warning removal and made it still explicitly

    check that the escape key character is less than 128.
    
    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    e4d615d View commit details
    Browse the repository at this point in the history
  6. Invalid escape key defaults to Ctrl-^ but empty escape

    key causes there being no escape key at all.
    
    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    dce460f View commit details
    Browse the repository at this point in the history
  7. Set escape pass key correctly in default case.

    Signed-off-by: Timo J. Rinne <tri@iki.fi>
    rinne committed May 17, 2013
    Configuration menu
    Copy the full SHA
    daa6a2f View commit details
    Browse the repository at this point in the history