Comments (3)
Thank you for contributing to make this project better😎 Please keep up and follow to solve this issue. Please feel free to draft a pull request here too to resolve this issue by tapping "new" at this link. Do not worry if it is not perfect on your first attempt. This is what pull requests are for, in order to better understand and to improve the published source code.
from termuxarch.
I found a non-essential solution to this issue.
The following shellscript, which is in a termux environment, receives command from TermuxArch via a text file.
(assuming existence of ~/storage/shared/temp/termux/cmd-from-arch.tmp)
#!/data/data/com.termux/files/usr/bin/bash
tmpdir=~/storage/shared/temp/termux
if [ ! -f $tmpdir/.buf ]; then
cat $tmpdir/cmd-from-arch.tmp > $tmpdir/.buf
echo "" > $tmpdir/cmd-from-arch.tmp
source $tmpdir/.buf 1> $tmpdir/cmd-rslt-to-arch.tmp
2>&1
rm -f $tmpdir/.buf
fi
and this crontab file executes above script in every 10 seconds
* * * * * for i in `seq 0 10 59` ; do (sleep ${i}; ~/script/cmd-inter-to-arch.sh) & done;
then we can run commands like this in TermuxArch environment to use (and get output of) termux command:
# (assume that "clpfoo" is set on Android clipboard)
$ echo termux-clipboard-get > /storage/emulated/0/temp/termux/cmd-from-arch.tmp
$ sleep 10
$ cat /storage/emulated/0/temp/termux/cmd-rslt-to-arch.tmp
clpfoo
$ echo "termux-clipboard-set 'clpbar'" > /storage/emulated/0/temp/termux/cmd-from-arch.tmp
$ echo termux-clipboard-get > /storage/emulated/0/temp/termux/cmd-from-arch.tmp
$ sleep 10
$ cat /storage/emulated/0/temp/termux/cmd-rslt-to-arch.tmp
clpbar
However, I would like to emphasize that this is nonessential solution, so I wish to have such command I first mentioned.
from termuxarch.
Stale issue message
from termuxarch.
Related Issues (20)
- fresh termux install: package verification issues HOT 2
- Arch Linux and seamonkey issue solution HOT 1
- Can't copy - paste. HOT 2
- Having ls error in installation HOT 2
- TermuxArch WARNING: Generated script signal 127 near or at line number 623 by '_ADDMOTD_'! Please run 'bash setupTermuxArch.bash' again or use 'bash setupTermuxArch.bash refresh'. HOT 8
- Installer interrupts wget to check the MD5 hash, and fails due to it interrupting its own download HOT 2
- Termux crashes when using chsh to change shell to startarch HOT 1
- qemu-x86_64": library "libdl.so" not found HOT 7
- Pacman failing to install new packages HOT 3
- Error: TEXDIR - Unbound Variable HOT 2
- Makeyay Command not found
- Libreoffice doesn't work. HOT 4
- termux installation crashes termux with signal 9 HOT 12
- strange messages at the end of installation. HOT 3
- Can't figure out how to get orca running. HOT 7
- accessibility for blind users? HOT 6
- Ошибка HOT 1
- How do i uninstall it? HOT 2
- Broken archlinux after update packages HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termuxarch.