telnet protocol support?

763 views
Skip to first unread message

Jiachen Yang

unread,
Jan 19, 2013, 1:02:01 PM1/19/13
to chromiu...@chromium.org
Dear everyone

Now that we have ssh protocol, can we have telnet support?
It should be easier considered that telnet is almost raw tcp packet.
It will be useful when configuring routers or diagnose http server.
Or any idea on how to implement such one?

Thank you very much

Jeff Bailey

unread,
Jan 20, 2013, 12:46:35 PM1/20/13
to Jiachen Yang, chromiu...@chromium.org
Implementing this shouldn't be that hard.  I don't know that I'd do it in the same app, though versus just re-using the terminal.

Jeff Bailey | Software Engineer | jeffb...@google.com | Google

Robert Ginda

unread,
Jan 23, 2013, 1:37:24 AM1/23/13
to Jeff Bailey, Jiachen Yang, chromium-hterm
I agree with Jeff here, this probably belongs in its own extension.

There are a few webstore apps that repackage hterm.  Here's a recent one: https://chrome.google.com/webstore/detail/beagle-term/gkdofhllgfohlddimiiildbgoggdpoea


Rob.

Jeff Bailey

unread,
Jan 23, 2013, 5:54:02 PM1/23/13
to Robert Ginda, Jiachen Yang, chromium-hterm
Reminds me I should update the version in Nethack and figure out a good way to get \n from the terminal instead of \r.

Jeff Bailey | Software Engineer | jeffb...@google.com | Google



macton

unread,
Feb 3, 2013, 6:24:30 AM2/3/13
to chromiu...@chromium.org, Jeff Bailey, Jiachen Yang
I agree with Jeff here, this probably belongs in its own extension.
There are a few webstore apps that repackage hterm.  Here's a recent one: https://chrome.google.com/webstore/detail/beagle-term/gkdofhllgfohlddimiiildbgoggdpoea

Wouldn't creating a new app pose a problem with the NaCl tcp socket API whitelist? (How is that done, btw?)
Although you could still enable it in chrome://flags right?

Jeff Bailey

unread,
Feb 3, 2013, 2:24:28 PM2/3/13
to macton, Jiachen Yang, chromiu...@chromium.org

Iirc, there's at least an experimental API for TCP sockets from JavaScript.  I don't think if bother with NaCl for this. 

Robert Ginda

unread,
Feb 4, 2013, 11:37:45 PM2/4/13
to Jeff Bailey, macton, Jiachen Yang, chromium-hterm

Sungguk Lim

unread,
Feb 13, 2013, 12:11:06 PM2/13/13
to chromiu...@chromium.org, Jeff Bailey, macton, Jiachen Yang
Hi folks,

This is Sungguk who made Beagle term(RS232 Serial term). with hterm library

Is there anybody who interested in starting new project, hterm for telnet. 

Initially I like to create a repository at github and next merge them to chromium apps repository (If possible)

2013년 2월 5일 화요일 오후 1시 37분 45초 UTC+9, Robert Ginda 님의 말:

Robert Ginda

unread,
Feb 13, 2013, 1:05:34 PM2/13/13
to Sungguk Lim, chromium-hterm, Jeff Bailey, macton, Jiachen Yang
I'm working on some changes to secure shell to move out some common library code.  I'd like to factor hterm itself into a reusable library too.  The work-in-progress starts here: https://gerrit.chromium.org/gerrit/#/c/41911/ and continues on for a few changelists (follow the Needed By links, and feel free to ignore the champ stuff, that's a different app).

So you're welcome to build a telnet from hterm in the same way you've built beagle term, but I wouldn't expect it to be merged into the chromium repo.  Instead, you'll eventually have a supported way to get hterm-as-a-library from the chromium repo.  At that point you'd (hopefully) refactor beagle term and the telnet app so that they could be more easily kept up to date with hterm fixes.


Rob.

Jeff Bailey

unread,
Feb 13, 2013, 8:49:01 PM2/13/13
to Robert Ginda, macton, Sungguk Lim, Jiachen Yang, chromium-hterm

Would you consider making a version compatible with x-tags.org?  It would be nice to just put one or more x-hterm elements on a page and then just postMessage to them as needed.

Robert Ginda

unread,
Feb 14, 2013, 6:44:49 PM2/14/13
to Jeff Bailey, macton, Sungguk Lim, Jiachen Yang, chromium-hterm
I'm not morally opposed to it, but finding the time may be difficult.  Once it's easier to use hterm as a lib, I'd probably accept a patch :)

Jeff Bailey

unread,
Feb 14, 2013, 6:55:18 PM2/14/13
to Robert Ginda, macton, Sungguk Lim, Jiachen Yang, chromium-hterm
Sounds lovely.  I'll watch for librarification. =)

Jeff Bailey | Software Engineer | jeffb...@google.com | Google



macton

unread,
Feb 25, 2013, 3:06:49 AM2/25/13
to chromiu...@chromium.org, Robert Ginda, macton, Sungguk Lim, Jiachen Yang
I thought I'd take a look. Ended up doing a quick and dirty mashup of hterm and the telnet example in chrome-app-samples (which isn't complete telnet support.)

Most of the time was spent just trying to figure out the webapp manifest, extensions, etc. There's still a bunch of stuff in there I still don't know how to do just with launching the app. Either my google-fu is totally broken today or this is really an esoteric process with lots of incomplete and conflicting docs and examples. :/

Anyway, it at least does what it says on the tin. Pull requests welcome. ;)

Mike.
Reply all
Reply to author
Forward
0 new messages