update termux doc

This commit is contained in:
James Feng Cao 2023-08-20 09:11:48 +08:00
parent 33d2db03b7
commit 3239bb8dec
9 changed files with 79 additions and 26 deletions

View file

@ -93,7 +93,9 @@ export default {
const url = request.url;
let iSlash = url.indexOf('/',11);
let nUrl = url.substring(iSlash+1);
if(!nUrl.startsWith(SYDNEY_ORIGIN))
let iColon = nUrl.indexOf(':',3)+3;
if(!nUrl.startsWith('syndey.bing.com',iColon) &&
!nUrl.startsWith('www.bing.com/turing',iColon))
return await goUrl(request, nUrl);
const targetUrl = new URL(nUrl);

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-06-26T08:17:34+08:00</lastmod>
<lastmod>2023-08-20T09:08:11+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -401,7 +401,7 @@
/>
</url><url>
<loc>/en/termux/</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>
<lastmod>2023-08-20T09:08:11+08:00</lastmod>
</url><url>
<loc>/en/longclick/</loc>
<lastmod>2022-09-24T14:05:13+08:00</lastmod>

View file

@ -57,10 +57,10 @@
<p>Using uweb to copy (Long pressing the following links and &quot;open in new tab&quot; to fix/send/receive):</p>
<ul>
<li>target device: install termux app.</li>
<li>(optional)<a href="d::mkdir -p /data/data/com.termux/files/home/.termux;cd /data/data/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash with &quot;updateonly&quot; versions</a></li>
<li>(optional)<a href="d::mkdir -p /data/data/com.termux/files/home/.termux;cd /data/data/com.termux/files;mkdir usr;cd home/.termux;ln -s /system/bin/sh shell:">fix termux quick crash with &quot;updateonly&quot; versions</a> by long click this link.</li>
<li>both devices: uweb to checke option &quot;Use termux&quot; in UI configuration page for long time tranferring. Uweb itself does not hold any wakelock thus may have issues for huge data transmission.</li>
<li>source device: uweb to visit &quot;files:///data/data/com.termux/&quot;, long click &quot;files&quot; folder to send to network.</li>
<li>target device: uweb to visit &quot;files:///data/data/com.termux/&quot;, long click &quot;right arrow&quot; button to receive from network.</li>
<li>source device: uweb to visit <a href="files:///data/data/com.termux/">termux folder</a> by long click, then long click &quot;files&quot; folder to send to network.</li>
<li>target device: uweb to visit <a href="files:///data/data/com.termux/">termux folder</a> by long click, then long click &quot;right arrow&quot; button to receive from network.</li>
</ul>
<h5 id="using-ssh-to-copy">Using ssh to copy</h5>
<ul>
@ -75,8 +75,8 @@
With <a href="https://github.com/rupa/z">z.sh</a> and <a href="https://github.com/shyiko/commacd">commacd</a>, user can reach any folder with few key stokes. Run &quot;v&quot; to launch uweb file manager on the current working directory, long click any file link to share.</p>
</div>
<p>Last Modified: 24 September 2022<br>
add en/.../tips.md<br>
<p>Last Modified: 20 August 2023<br>
reword in termux.md<br>
<pre></pre>
</p>
<script>