Skip to content
Commits on Jan 16, 2016
  1. @matsen @cgull
  2. @andersk @cgull

    debian: Update GitHub URLs from keithw/mosh to mobile-shell/mosh

    andersk committed with cgull
    Signed-off-by: Anders Kaseorg <>
  3. @andersk @cgull

    debian/rules: Allow parallel build

    andersk committed with cgull
    Signed-off-by: Anders Kaseorg <>
  4. @andersk @cgull

    debian/rules: Use dh_perl -d

    andersk committed with cgull
    By informing Debhelper that the mosh wrapper script only uses modules in
    perl-base (dh_perl -d), we cause ${perl:Depends} to change from ‘perl’
    to empty, which silences this build warning:
    dpkg-gencontrol: warning: package mosh: unused substitution variable ${perl:Depends}
    Signed-off-by: Anders Kaseorg <>
  5. @andersk @cgull

    debian/mosh.maintscript: Remove extra -- "$@"

    andersk committed with cgull
    That is already added by dh_installdeb, so it was being added twice.
    Signed-off-by: Anders Kaseorg <>
  6. @cgull

    Fix Cygwin compile warning.

    cgull committed
Commits on Jan 13, 2016
  1. @cgull

    pty-deadlock.test: use background write, not non-blocking reads

    cgull committed
    Non-blocking reads turn out not to work so well on Cygwin
    which has an older version of bash.
Commits on Jan 11, 2016
  1. @cgull
  2. @cgull
  3. @cgull
Commits on Dec 25, 2015
  1. @cgull
  2. @cgull
Commits on Dec 7, 2015
  1. @cgull
  2. @cgull
  3. @cgull
  4. @cgull

    Remove display-posterizing code. It's been dead 3 years.

    cgull committed
    Signed-off-by: John Hood <>
Commits on Dec 6, 2015
  1. @cgull

    Don't send empty HostBytes strings.

    cgull committed
    This allows more Resize instructions to be elided.  It also keeps the
    server from sending empty updates when the screen has been written but
    not changed.
  2. @cgull

    mosh-server: skip redundant resize requests

    cgull committed
    This might reduce redraw activity on window resize, especially for
    slow servers.
  3. @cgull
  4. @cgull
  5. @cgull

    e2e-test: Cleanup tmux sockets.

    cgull committed
  6. @cgull
  7. @cgull
  8. @cgull

    Test ASCII and ISO-8859-1 output.

    cgull committed
  9. @cgull

    Add VT100/color attributes tests.

    cgull committed
  10. @cgull
  11. @cgull

    Improve roundtrip verification tests and debug dump.

    cgull committed
    Add another round-trip verification.  For both original and generated
    state, generate a diff from an initial, empty state.  Verify that
    these two diffs are the same.
  12. @cgull

    Move grapheme printing from FrameState::append_cell() to Framebuffer:…

    cgull committed
  13. @cgull

    Fix for UTF-8 roundtrip verification bug.

    cgull committed
    The problem was that the round-trip verification code copies the
    current state, which may contain intermediate Parser state for
    multibyte characters and ANSI escape sequences.  It then applies diffs
    to that copy, which may appear as badly formed input.
    Also removes some dead, never-used code.
  14. @cgull

    Avoid wcwidth(), wcrtomb() and mbrtowc() on ASCII/ISO8859-1 characters.

    cgull committed
    ASCII <-> UTF has trivial mappings.  Avoid wcrtomb() and mbrtowc().
    ISO-8859-1 is all narrow characters, and cheap to test for.  It might
    be possible to cheaply test other popular UTF blocks and/or planes as
    These two changes get 2-3x faster input processing on Linux and
    FreeBSD.  Performance improvement in actual usage is more modest but
    still significant.
  15. @cgull
  16. @cgull
  17. @cgull

    Make Terminal::Framebuffer::Rows shared and copy-on-write.

    cgull committed
    * Support both std:: and std::tr1:: shared_ptr. FreeBSD 10 now uses C++11 by default.
    * Remove Framebuffer pointers in STMClient
  18. @cgull

    Rework Terminal::Display to improve performance and treat passed Fram…

    cgull committed
    …ebuffers as const.
    * Refactor put_cell() and parts of new_frame(), and associated state, into put_row().
    * Optimize display and line wrap handling code/output.
    * Make last_frame a const ref, to eliminate a costly copy of the framebuffer on every screen refresh.
    * In new_frame()'s scroll optimization, don't copy rows, use pointers instead.
    * Don't check entire frame buffer for scrolling if first line hasn't scrolled.
    * Add a generation counter on Row objects to allow quicker/better identification of scroll regions
    * Use at() for bounds-checking on framebuffers, because they can be resized.
    * Copy and resize scroll buffer on window resize.
  19. @cgull

    Change Framebuffer's containers/methods to improve performance.

    cgull committed
    * Reduce the size of Terminal::Cell.
    * Change colors and attributes in Terminal::Rendition to bitfields/bitmask.
    * Change Cells to use UTF-8 strings instead of vector<wchar_t>.  Store Rows in a vector instead of a deque.
    * Add various Framebuffer::append() methods for more efficient passing of single and repeated characters.
    * Change title/icon strings from deques to a vector typedef-- this is more for tidiness than any real performance.
Something went wrong with that request. Please try again.