From 0a354c68052576d875a444e5421813717bdd894a Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sun, 30 Mar 2025 18:26:11 +0800
Subject: [PATCH] enhance termux tools
---
en/_posts/index.xml | 2 +-
en/cmds/index.html | 6 +++---
en/index.xml | 2 +-
en/sitemap.xml | 10 +++++-----
en/termux/index.html | 18 ++++++++++++++----
en/topposts/index.xml | 2 +-
misc/ebrowser/search.json | 3 ++-
sitemap.xml | 4 ++--
termux/bashrc | 2 +-
zh/cmds/index.html | 6 +++---
zh/index.xml | 2 +-
zh/sitemap.xml | 6 +++---
zh/topposts/index.xml | 2 +-
13 files changed, 38 insertions(+), 27 deletions(-)
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 02c3a370..2d56f9c9 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -6,7 +6,7 @@
Recent content in _Posts on uweb browser: unlimited power
Hugo
en
- Sat, 15 Mar 2025 21:03:38 +0800
+ Sun, 30 Mar 2025 18:24:04 +0800
-
popup menu for Long pressed link and downloading
diff --git a/en/cmds/index.html b/en/cmds/index.html
index eb9b6ebc..291c3171 100644
--- a/en/cmds/index.html
+++ b/en/cmds/index.html
@@ -60,7 +60,7 @@
copy cookie:/clip:printf '%c'
config in Download::cd /data/data/info.torapp.uweb;toybox rm -rf files;toybox mkdir -p /sdcard/Download/uweb;toybox ln -s /sdcard/Download/uweb files
html5 in Download::cd /data/data/info.torapp.uweb/files;toybox rm -rf app;toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app
-tgz install::toybox tar -xzf %f -C /
+tgz install::cd /;toybox tar -xzf %f
Users should change the IP addresses in the following menus accordingly. In all cases, TV side needs to execute "wait for network msg" first. Send message to network (ex. for android TVs):
clip2PC:clip:cat|/system/bin/toybox nc 192.168.1.120 1500
PC2clip:/clip:/system/bin/toybox nc 192.168.1.120 1500
@@ -119,8 +119,8 @@ Clipboard2QR needs libqrencode.
-Last Modified: 16 March 2025
-update AI engines
+
Last Modified: 30 March 2025
+tar -C / raised permission denied error
diff --git a/en/index.xml b/en/index.xml
index 3de84b5d..8f785f47 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -6,7 +6,7 @@
Recent content on uweb browser: unlimited power
Hugo
en
- Sun, 16 Mar 2025 14:57:04 +0800
+ Sun, 30 Mar 2025 18:24:04 +0800
-
popup menu for Long pressed link and downloading
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 54f27f11..c7887069 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
https://jamesfengcao.gitlab.io/uweb/en/_posts/
- 2025-03-15T21:03:38+08:00
+ 2025-03-30T18:24:04+08:00
https://jamesfengcao.gitlab.io/uweb/en/
- 2025-03-16T14:57:04+08:00
+ 2025-03-30T18:24:04+08:00
https://jamesfengcao.gitlab.io/uweb/en/topposts/
- 2025-03-16T14:57:04+08:00
+ 2025-03-30T10:33:26+08:00
https://jamesfengcao.gitlab.io/uweb/en/cmds/
- 2025-03-16T09:56:20+08:00
+ 2025-03-30T10:33:26+08:00
https://jamesfengcao.gitlab.io/uweb/en/termux/
- 2024-08-22T08:08:49+08:00
+ 2025-03-30T18:24:04+08:00
https://jamesfengcao.gitlab.io/uweb/en/useragents/
2024-07-10T11:21:12+08:00
diff --git a/en/termux/index.html b/en/termux/index.html
index f4eb3814..ace41e7f 100644
--- a/en/termux/index.html
+++ b/en/termux/index.html
@@ -55,9 +55,19 @@
.inputrc
z.sh
commacd.sh
-.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)
Copy existing termux installation to other devices
-Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
+Copy/init from bootstrap.zip (expert only)
+
+- Extract bootstrap.zip to "/data/data/com.termux/files/usr".
+- Make sure all symbolic links are unzipped properly, especially those to coreutils.
+Note:
+
+- "/system/bin/unzip" fails to extract all files and does not handle symbolic links.
+- Some file managers have full access on termux internal folders.
+
+
+
+Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
- target device: install termux app.
- (optional)fix termux quick crash with "updateonly" versions by long click this link.
@@ -78,8 +88,8 @@
With z.sh and commacd, user can reach any folder with few key stokes. Run "v" to launch uweb file manager on the current working directory, long click any file link to share.
-Last Modified: 22 August 2024
-add more download sites
+
Last Modified: 30 March 2025
+bashrc: fix tdict LD_LIBRARY_PATH
diff --git a/en/topposts/index.xml b/en/topposts/index.xml
index 2e1098f0..c073c763 100644
--- a/en/topposts/index.xml
+++ b/en/topposts/index.xml
@@ -6,7 +6,7 @@
Recent content in Topposts on uweb browser: unlimited power
Hugo
en
- Sun, 16 Mar 2025 14:57:04 +0800
+ Sun, 30 Mar 2025 10:33:26 +0800
-
Search engine query URLs
diff --git a/misc/ebrowser/search.json b/misc/ebrowser/search.json
index 080ec166..ed6a48f6 100644
--- a/misc/ebrowser/search.json
+++ b/misc/ebrowser/search.json
@@ -2,7 +2,8 @@
"b":"https://www4.bing.com/search?q=%s",
"n":"https://n.cn/search/?q=%s",
"bda":"https://chat.baidu.com/search?word=%s",
- "bdic":"http://cn.bing.com/dict/search?q=%s", "ki":"https://kimi.moonshot.cn/_prefill_chat?force_search=true&send_immediately=true&prefill_prompt=%s",
+ "bdic":"http://cn.bing.com/dict/search?q=%s",
+"ki":"https://kimi.moonshot.cn/_prefill_chat?force_search=true&send_immediately=true&prefill_prompt=%s",
"hk":"i:0/js/uweb2ta.js:https://heck.ai/#10uweb=%s%0D",
"xb":"i:0/js/uwebset.js:https://www.wenxiaobai.com/chat/200006?10uweb=%s%0D",
"qw":"i:0/js/uweb2ta.js:https://chat.qwenlm.ai#uweb=%s",
diff --git a/sitemap.xml b/sitemap.xml
index 0e3cb8ff..65f1f847 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,14 +4,14 @@
https://jamesfengcao.gitlab.io/uweb/en/sitemap.xml
- 2025-03-16T14:57:04+08:00
+ 2025-03-30T18:24:04+08:00
https://jamesfengcao.gitlab.io/uweb/zh/sitemap.xml
- 2025-03-27T23:14:44+08:00
+ 2025-03-30T10:33:07+08:00
diff --git a/termux/bashrc b/termux/bashrc
index 8c29fc26..90fe76e5 100644
--- a/termux/bashrc
+++ b/termux/bashrc
@@ -27,7 +27,7 @@ v(){
d(){
word=$1
dict=${2:-ahd}
- tdict ~/share/dict/$dict $1
+ LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib tdict ~/share/dict/$dict $1
}
z(){
diff --git a/zh/cmds/index.html b/zh/cmds/index.html
index ebb843d1..f0f5dd05 100644
--- a/zh/cmds/index.html
+++ b/zh/cmds/index.html
@@ -61,7 +61,7 @@
清空logcat::logcat -c
输出logcat.log::logcat -d > logcat.log
复制cookie:/clip:printf '%c'
-tgz install::toybox tar -xzf %f -C /
+tgz install::cd /;toybox tar -xzf %f
以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。
发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
@@ -96,8 +96,8 @@
剪贴板_二维码需安装libqrencode.
-Last Modified: 17 March 2025
-update AI engines
+
Last Modified: 30 March 2025
+tar -C / raised permission denied error
diff --git a/zh/index.xml b/zh/index.xml
index 85334324..149f700f 100644
--- a/zh/index.xml
+++ b/zh/index.xml
@@ -6,7 +6,7 @@
Recent content on 超微浏览器: 威、快、高效、极致优化
Hugo
zh
- Thu, 27 Mar 2025 23:14:44 +0800
+ Sun, 30 Mar 2025 10:33:07 +0800
-
常用链接
diff --git a/zh/sitemap.xml b/zh/sitemap.xml
index 334ef5e5..1b1bd3cc 100644
--- a/zh/sitemap.xml
+++ b/zh/sitemap.xml
@@ -29,7 +29,7 @@
/>
https://jamesfengcao.gitlab.io/uweb/zh/
- 2025-03-27T23:14:44+08:00
+ 2025-03-30T10:33:07+08:00
https://jamesfengcao.gitlab.io/uweb/zh/topposts/
- 2025-03-27T23:14:44+08:00
+ 2025-03-30T10:33:07+08:00
https://jamesfengcao.gitlab.io/uweb/zh/cmds/
- 2025-03-17T21:21:55+08:00
+ 2025-03-30T10:33:07+08:00
Recent content in Topposts on 超微浏览器: 威、快、高效、极致优化
Hugo
zh
- Thu, 27 Mar 2025 23:14:44 +0800
+ Sun, 30 Mar 2025 10:33:07 +0800
-
搜索引擎搜索查询URL汇总