termux-api
termux-api copied to clipboard
termux-storage-get does nothing
I am using a Google Pixelbook and have installed Termux. I have also invoked termux-setup-storage and I have installed the termux-api.
My goal is to use termux-storage-get
However, when I invoke termux-storage-get temp.txt nothing happens. I just see an empty line, and I have to enter ctrl-Z to get back to the command prompt.
I have posted a question on the forum requesting assistance, and the most recent recommendation was to post an issue here. See details of that thread at https://plus.google.com/u/0/106844796122727433808/posts/PV4mvAR2iSb?cfem=1
So please try to successfully invoke termux-storage-get on a Pixelbook or Chromebook that has Termux installed and that has the termux-api installed,
If there is a flaw in the implementation of termux-storage-get please fix it.
Also, it would be helpful to have some detailed examples of how to properly use termux-storage-get
Thank you for sharing your thoughts with us here at this thread that is created; Your response after reviewing https://wiki.termux.com/index.php?search=Storage is enlightening. It is a pleasure that you placed this issue at the correct wiki.
"I wish termux-storage-get
did something on Pixel devices, but it doesn't at present," is a suggestion. It will motivate developers, and the community as well. Can you change your title to a motivational title for development?
Output from termux-info
will be beneficial for this topic as well. Screenshots (press and momentarily hold power+volumedown buttons on your Android device. It should be similar on Pixelbook too.) are welcome also.
Here are the results from termux-info.
$ termux-info Updatable packages: All packages up to date System information: Linux localhost 4.4.79-11654-g7e0f59a105a1 #1 SMP PREEMPT Mon Nov 13 16:37:19 PST 2017 x86_64 Android Termux-packages arch: x86_64 Android version: 7.1.1 Device manufacturer: google Device model: Google Pixelbook Terminated $
One thing your post tells us now is that you are using an Android 7 with x86 architecture, notwithstanding Pixel issues. This might be why you are having trouble. Termux is available for a number of computer architectures for your convenience. Hopefully, developers will take a closer look at this issue, and find a solution soon.
@sdrausty Thanks for noticing that. Since I have a Pixelbook, I am constrained to get whatever version of Android that Google makes available when I update ChromeOS to the latest version. A quick search shows that Android 8 was released on August 21, 2017. But I don't know enough about how ChromeOS and Android interrelate to try to get Android 8. Does Termux work best on Android 8?
Termux works best with Android 5 and 6.
There was a new version of Termux released today (on Thursday, December 7, 2017) which I downloaded and installed from the Google Play Store onto my Pixelbook. With this new version, I am able to do more things with termux-storage-get and with other utilities in the termux-api. I still need to do more testing, but this is progress.
Thank you for your time and quick review. We are eagerly anticipating your throughput. ππΌπ¬π¦
When possible post your positive findings of the functional features with information for our newcomers at one of these pages https://wiki.termux.com/index.php?search=Storage Create pages when it seems appropriate for enchanting topics. Provide links to your work here at this thread. Include a quote of your work from the article in this thread too. Should you choose to enhance our Termux user experience.
More Happy Termux Users = More Happy Termux Developers
I have been trying out a number of the termux-api commands, including, but not limited to termux-storage-get. I have had varying degrees of success. This is still a learning experience for me, so I am not ready to author a wiki article about them. In my case, I am trying to learn how using the Termux environment can supplement and enhance using ChromeOS and how this compares to using Terminal on a Mac or on an Ubuntu machine, and using the Command prompt, Power Shell, or the Windows Subsystem for Linux on a Windows 10 machine.