xterm.dart icon indicating copy to clipboard operation
xterm.dart copied to clipboard

Support dartssh2

Open lupohirp opened this issue 3 years ago • 6 comments

Hi,

in your example you are using an old version of dartssh2. If i try to use the latest version of dartssh2, it stucks on connecting unfortunately and the xterm doesn't refresh. Is possibile to use the latest version of xterm with the latest version of dartssh2? In particular, i mean the SSH implementation. The SSH implementation is totally different on dartssh2 page. On your example is reported totally differently

lupohirp avatar Feb 07 '22 15:02 lupohirp

Sorry for the delayed response. Currently the example is based on dartssh2 v1.x, you can find the documents about v1.x here.

I'm currently working on the next major release of xterm.dart. The example will be updated at the same time when the new version is released, perhaps within a week.

xtyxtyx avatar Feb 09 '22 15:02 xtyxtyx

Sorry for the delayed response. Currently the example is based on dartssh2 v1.x, you can find the documents about v1.x here.

I'm currently working on the next major release of xterm.dart. The example will be updated at the same time when the new version is released, perhaps within a week.

Thanks.

Perhaps i've managed to print on TerminalView the output of the SSH. I've report here if you need:

image

Unfortunately i can't send commands to SSH via TerminalView, because it has a different object type (StreamSink<Uint8List> instead of Stream<Uint8List>) and i don't know how to convert it

edit:

ouch, maybe i was tired but i have managed on how to send data :) :

image

lupohirp avatar Feb 09 '22 17:02 lupohirp

Really looking forward to!

evan-cai avatar Feb 16 '22 07:02 evan-cai

me too! Really looking forward to!

yxlwfds avatar Feb 26 '22 13:02 yxlwfds

Really looking forward to!

chincccc avatar Mar 30 '22 02:03 chincccc

Are there particular commits in xterm and dartssh 1.x that together allow us to run the browser-based version of these? Like the others I'm very much looking forward to the final release!

berkeleynerd avatar Jun 30 '22 07:06 berkeleynerd