Giter VIP home page Giter VIP logo

Comments (10)

paultag avatar paultag commented on June 9, 2024

I'd use it like crazy :)

from butterfly.

coderaiser avatar coderaiser commented on June 9, 2024

I saw that big part of it (82.6%) wrote in Coffee Script maybe there is some way to make all this amazing terminal as node module)?

from butterfly.

paultag avatar paultag commented on June 9, 2024

why node? I'd rather use this on it's own? No reason to tie to to a backend
language

On Sat, Mar 1, 2014 at 2:52 PM, coderaiser [email protected] wrote:

I saw that big part of it (82.6%) wrote in Coffee Script maybe there is
some way to make all this amazing terminal as node module)?

Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-36434584
.

:wq

from butterfly.

coderaiser avatar coderaiser commented on June 9, 2024

@paultag, for extending existing node.js applications without using things like iframes, and complicate the simple things (start and use a couple applications instead one).

from butterfly.

paultag avatar paultag commented on June 9, 2024

so you can include the external stuff, no need to track it in npm

On Sat, Mar 1, 2014 at 2:56 PM, coderaiser [email protected] wrote:

@paultag https://github.com/paultag, for extending existing node.js
applications without using things like iframes, and complicate the simple
things (start and use a couple applications instead one).

Reply to this email directly or view it on GitHubhttps://github.com//issues/19#issuecomment-36434725
.

:wq

from butterfly.

coderaiser avatar coderaiser commented on June 9, 2024

Thing is not npm, I'm talking about flexible using.

from butterfly.

paradoxxxzero avatar paradoxxxzero commented on June 9, 2024

If you want to use a client side module just go with term.js / pty.js
As for your resize problem this line might interest you: https://github.com/paradoxxxzero/butterfly/blob/master/butterfly/routes.py#L234

from butterfly.

coderaiser avatar coderaiser commented on June 9, 2024

Thank you, but I don't quite understand what does this line mean.

from butterfly.

paradoxxxzero avatar paradoxxxzero commented on June 9, 2024

It's an ioctl to resize the pseudo terminal, see http://en.wikipedia.org/wiki/Ioctl#Terminals

from butterfly.

coderaiser avatar coderaiser commented on June 9, 2024

Alright, in this function native work with ioctl is occured. Anyway when I call pty.resize Pty module call native function with fd parameter.

So I use resize function on server and client side. Which is call ioctl. Looks like problem not in this code. Why you call this function by yourself in python and not use resize of pty? Is it works wrong? For work with ioctl in node.js I should write native extension on c++ I do not think that I can do it better then author of pty module. Maybe problem in something else?

from butterfly.

Related Issues (20)

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.