Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-check pyte features against GateOne #93

Open
superbobry opened this issue Jul 9, 2017 · 3 comments
Open

Cross-check pyte features against GateOne #93

superbobry opened this issue Jul 9, 2017 · 3 comments

Comments

@superbobry
Copy link
Collaborator

GateOne is a mature web terminal emulator supporting many more features than pyte. This issue is to check what features exactly pyte is missing to be on par with GateOne.

@superbobry superbobry changed the title Cross-check pyte features agains GateOne Cross-check pyte features against GateOne Jul 9, 2017
@Wramberg
Copy link

Hey @superbobry sorry for the late reply. Continuing our discussion from https://github.com/Wramberg/TerminalView/issues/13 heres a few notes.

I think the top feature I am missing in my plugin right now which gateone has to offer is 256 colors. It seems you may already support that but if you do I cannot figure out how to use it :-( see #92

Besides this it seems like TERM=xterm results in some weird sequences being printed. See https://github.com/Wramberg/TerminalView/issues/17 for example. If we could make simple text work with xterm I think that would be a good step. Then pyte would at least support TERM=xterm for basic usage.

I'll drop more notes as I encounter some things I might find useful. Take them as suggestions and let me know what you think and if it is feasible to include in pyte :-)

@acroz
Copy link
Contributor

acroz commented Oct 31, 2017

We are developing a web terminal around pyte, mainly for its ability to maintain screen state on the server side. We found that as we wanted to push generation of control character sequences to the backend (in most web terminals, e.g. xterm.js, it happens in the frontend), that was the main effort that was required. This allowed both input and output from the terminal not to require any detailed knowledge of terminal emulation in javascript.

@ralsina
Copy link

ralsina commented Oct 13, 2020

One feature GateOne has which would be nice in Pyte is mouse modes so when the app requests mouse support then we can start sending the control sequences from the frontend.

Just sending them inconditionally "works" but if you click on an app that doesn't support mouse (like bash) you get all the control sequences.

The relevant code in GateOne starts from here: https://github.com/liftoff/GateOne/blob/master/terminal/terminal.py#L2040

I am willing to give it a shot in Pyte if you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants