Giter Club home page Giter Club logo

mosh's Introduction

#iOSClient for Mosh These are a set of small changes to make Mosh compile for iOS as a separate library that can be linked into applications. Please do not use to compile mosh-client or mosh-server. You can use a separate script Build Mosh and it is currently being used in Blink.

There are four main changes to the original Mosh code, that we hope to integrate at some point with the main branch:

  • iOSClient as a new main loop for the library.
  • Multithread code suppport.
  • Makefiles support for the iOS version.
  • Bug fixes (sockets, etc...)

Original Mosh can be found on Mosh

mosh's People

Contributors

achernya avatar ahroach avatar airblade avatar alvatar avatar andersk avatar barosl avatar blblack avatar cgull avatar danielo avatar ddrown avatar edschouten avatar elyscape avatar eminence avatar geofft avatar glance- avatar ibukanov avatar jcourreges avatar kaduk avatar keithw avatar kmcallister avatar lexande avatar lukem avatar niieani avatar piannucci avatar quentinmit avatar saurik avatar sirainen avatar sqweek avatar the-compiler avatar tracerneo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mosh's Issues

Static variables with __thread instead/POSIX

To make mosh multithreaded I had to transform all of the static variables into per thread ones. I used to routes to do this, using POSIX thread variables as much as I could as it is compatible with more iOS versions. Unfortunately some of them couldn't be done in this way and where triggered at the compiler level with __thread.

It would be great to remove this two implementations and either go with one for everything, or even better, fix mosh from the root.

license query

I thought the reason why no one supports [email protected] and [email protected] in iOS are because essentially everyone is using libssh2, due to license reasons. I've read that libssh being LGPL cannot be statically linked, and AAPL mandates static linking.

Is this not true? If not, could blink from license POV use libssh? If this is true, how is GPL 3.0 licensed mosh possible?

Error building with Xcode 9.1, because "system" call has been removed

Should affect Xcode 9.X generally. The error occurs on line 88 of src/frontend/iosclient.cc (int unused __attribute((unused)) = system( "locale" );).

A quick workaround is to just comment out the line -- its apparent purpose is to output locale information to the user, in case the locale is not UTF-8 native.

I was able to build and run the blink shell successfully under iOS 11.2.2 after making the above change, but I have not tested the mosh functionality yet (ssh works fine).

Keep up the great work on this awesome project! :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.