omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. Aurelius

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Aurelius

    @Aurelius

    0
    Reputation
    469
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Aurelius Unfollow Follow

    Latest posts made by Aurelius

    • StaSh and screen, persistent ssh shell

      I'm very impressed with the functionality of Pythonista, but one feature I would really like is the ability to ssh to a server and run a script, only not a script on the server, instead one on the iDevice. The problem is: it seems to achieve what I'd like to do (and I'm sure opens up a lot of possibilities for what others want to do too) is prevented by lack of tty emulation. I've seen other discussions regarding screen, though no immediate solutions pop up. I understand tty is not included in pythonista, per the pexpect Module thread. What is preventing this?

      I just want to get the ball rolling on a discussion of what I think is an important feature for pythonista to have: the ability to go beyond the current ssh with args to run a script and disconnect when the command is issued...

      Being able to ssh, run screen, and answer console prompts from a running program seem necessary to make Pythonista capable of some pretty neat tricks. Building out a UI on top of the iDevice running script seems relatively trivial with Hydrogen (e.g. buttonX press sets string to 'cd folder/folder2/' & sends, buttonY press sets sting to 'sudo java -jar com.example.program.jar & sends)

      What are everybody's thoughts?

      posted in Pythonista
      Aurelius
      Aurelius