Giter Club home page Giter Club logo

Comments (5)

krishnasrinivas avatar krishnasrinivas commented on May 29, 2024

Does windows ptys support *nix terminal emulation? I have no idea. Maybe you can explore and see if a PR is possible.

from wetty.

Slind14 avatar Slind14 commented on May 29, 2024

pty.js is an inactive project. Not even pull reqs are being considered for months. There is an open pull req which adds windows support (chjj/pty.js#111) and there is a "maintained" fork, too: https://github.com/JamesMGreene/node-partty
But I already stated that, so I'm not entirely sure what you mean. :(
If you mean if it is wrapping the windows terminal with the nix layout, I would say no.

from wetty.

krishnasrinivas avatar krishnasrinivas commented on May 29, 2024

Sorry, by "window ptys" I meant "windows virtual terminals", not pty.js.
Basically linux has virtual terminals (/dev/pts/0,1,2,4) and terminal emulators (xterm/konsole etc) to talk to the virtual terminals, the protocol being defined by the environmental variable TERM (which can be vt100, vt102, xterm, etc)
I don't know how wetty's terminal emulator will behave when it talks to a windows terminal. Maybe you can try it out. And send a pull-request if it works :-)

from wetty.

Slind14 avatar Slind14 commented on May 29, 2024

I couldn't get it to work, sorry. :(
JamesMGreene/node-partty#2

from wetty.

BenoitDuffez avatar BenoitDuffez commented on May 29, 2024

Did you try screen /dev/whatever 115200? It worked out of the box for me with a ttyUSB created by an FTDI device

from wetty.

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.