Instructions in the demo for ZMODEM.

This commit is contained in:
Felipe Gasper
2017-10-17 08:57:18 +02:00
parent ef62b3bf55
commit 1ee6af2f82
+5 -3
View File
@@ -23,7 +23,9 @@
<body> <body>
<h1>xterm.js: xterm, in the browser</h1> <h1>xterm.js: xterm, in the browser</h1>
<div id="zmodem_controls"> <div id="terminal-container"></div>
<div id="zmodem_controls">
<form id="zm_start" style="display: none" action="javascript:void(0)"> <form id="zm_start" style="display: none" action="javascript:void(0)">
ZMODEM detected: Start ZMODEM session? ZMODEM detected: Start ZMODEM session?
<label><input id="zmstart_yes" name="zmstart" type=radio checked value="1"> Yes</label> <label><input id="zmstart_yes" name="zmstart" type=radio checked value="1"> Yes</label>
@@ -59,9 +61,8 @@
<label>Choose file(s): <input id="zm_files" type="file" multiple></label> <label>Choose file(s): <input id="zm_files" type="file" multiple></label>
<button type="submit">Send</button> <button type="submit">Send</button>
</form> </form>
</div> </div>
<div id="terminal-container"></div>
<div> <div>
<h2>Actions</h2> <h2>Actions</h2>
<p> <p>
@@ -115,6 +116,7 @@
</div> </div>
</div> </div>
</div> </div>
<p>ZMODEM file transfers are supported via an addon. To try it out, install <a href="https://ohse.de/uwe/software/lrzsz.html"><code>lrzsz</code></a> onto the remote peer, then type <code>rz</code> to send from your browser or <code>sz &lt;file&gt;</code> to send from the remote peer.</p>
<p><strong>Attention:</strong> The demo is a barebones implementation and is designed for xterm.js evaluation purposes only. Exposing the demo to the public as is would introduce security risks for the host.</p> <p><strong>Attention:</strong> The demo is a barebones implementation and is designed for xterm.js evaluation purposes only. Exposing the demo to the public as is would introduce security risks for the host.</p>
<script src="main.js" defer ></script> <script src="main.js" defer ></script>
</body> </body>