Updated to latest Chrome/Safari/wsProxy. #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
setProxyEncoding('binary');
Issues: #45 , #43 , #38
Probably #36 , #29 , #28
Long comments on the changes
css/xterm.css
css/main.css
is now appended to css/main.css
js/xterm-addon-fit.js
translated from typescript (then tidied).
js/src/xterm.js
version, which was originally called js/src/xterm.min.js
js/settings.js
"Themes" was one of those.
js/SSHyClient.js
using onkeydown. This meant that the feeder also had to translate key
events into xterm escape codes. This used a private function which is now
inaccessible. The code was changed to mostly
use the onData event from xtermjs, which does all the transation for you.
We still use an event handler though to get the username and password, and
switch to onData once the connection is authenticated. Rather than use
onkeydown, we now use xtermjs attachCustomKeyEventHandler. This greatly
simplifies the code too. The code for local echo was lost in the update,
but I dont think that worked anyway.
xtermjs processes the paste. So moved the Split code into onData to protect
from any transmission of large blocks.
base64. But now you can
setProxyEncoding('binary');
after loading the scripts to change to binary mode.
It is much harder than it appears to do the string to arraybuffer
conversion. Encode and decode do not work here.
fastbuild
debugging. This trivial script seems to do the job
wrapper.html
index.html
the old wsproxy which is in this distribution (too many out of date
dependencies). But I tested some of it, and it seems to be
right. Works fine with the latest wsproxy in binary mode
setProxyEncoding('binary');
This is the default here as it then works with the latest wsproxy
It is much harder than it appears to do the string to arraybuffer
conversion. Encode and decode do not work here.