Comments (15)
Ditto for Wget command.
from a-shell.
Related to wget, there is curl, which was much easier to port and has the same functionalities. But I'll add it to the TODO list.
from a-shell.
Curious if wget was ever added? I'm locked out of most directories, too, and most commands, even those listed with help -l, are "operation not permitted". No su or sudo, and not sure how to proceed!
otoh, looks pretty amazing -> once I can crack the egg a little bit and access commands and some of the environment.
from a-shell.
These are different issues. wget is covered by the GPL, and the FSF official position is that the GPL is incompatible with AppStore distribution. The only solution would be to distribute a WebAssembly version of wget. I tried, but it uses setjmp()/longjmp(), which makes it incompatible with WebAssembly at the moment.
Short version: wget is going to take a long time. curl provides a similar functionality.
All commands saying "operation not permitted" sounds like a major issue on the other hand, and I'd like to solve it quickly. There is a possibility that you started in the "/" directory, instead of "~/Documents". What does "pwd" say? What is the effect of "cd"?
from a-shell.
A small screen-capture of a few commands. Copy+Paste from the terminal window was a no-go, and there does not seem to be an image posting facility here. Direct link to image,
https://postimg.cc/TpP6Cjpf
I'd be glad to test more. I'll be in & out today. ([edit]Looks like the link code provided the image, good)
from a-shell.
Thanks for the screen capture, it really helps. I'm not sure at all what is happening (I reinstalled the app on one of my devices to be sure, and I had the normal behaviour).
cd works, but cd is an internal command (so is help). The behaviour of pwd is even stranger, because it was "command not found" at first, and then it worked.
I have a few more questions:
- is that a-Shell or a-Shell mini?
- is that the AppStore version or the TestFlight version?
- are you running a jailbroken device? (no judgment from me, I had one a while ago, but it could be a cause)
- which version of iOS are you running?
None of these should have an impact, but then again what happens to you should not happen, so... Anything that helps me in narrowing it down and reproducing it will help me in fixing it.
Right now, my most likely explanation is that the install was somehow corrupted, and the signature of some commands don't match the proper signature. If that was the case, un-installing then re-installing could help.
from a-shell.
Another possible issue: are you using a specific keyboard? If the keyboard has inserted invisible characters in the string, that could explain the "command not found".
from a-shell.
I'll put the info up today, in a while. I can run some commands too, see what is working.
From watching, it looks like some commands load...slowly before they can run. I'll re-install, too, if it's not correct again. The mode is as though I were a highly restricted user, FWIW.
Eq:
Ipad Pro (4th gen), OS: iPadOS 14.6 - all Apple, not j/b I may try that dome day on older gear
The keyboard is the built in (on screen) English(US) / default, though a few others are installed (*I like UniChar a lot ✔︎)
I was using a-shell full. I do have a/s mini installed, as well as ish, but they should have separate lib's and I had hard-rebooted before the cap you saw.
Great explanation about wget -- curl should be an excellent alternative, I'll learn it!
from a-shell.
App store version of a-shell, I don't have TestFlight installed- haven't ever tried it yet.
from a-shell.
I still have no ideas what's going on. I'll try it in the simulator with your settings, see if I can reproduce the bug.
If you want to test: history, help, clear, credits, pickFolder, config, jsc, play, view, newWindow, exit, showmarks, alias, cd, unalias, pbcopy and pbpaste are internal commands (they don't require loading an external library), so they should load immediately (of course, "exit" closes the window, so use with caution).
file, tree, ctags, jsi are commands using an external file and an internal command, so they should also load without problem.
The other commands require loading an external file and checking the permission with iOS, an operation that is supposed to be instantaneous but could be taking time. If the command says "command not found" several time, then works (as it does with pwd in your screenshot), then that's where I'm going to investigate.
from a-shell.
from a-shell.
Hi, I suspect github has not taken your full contribution. The only thing I can see is "Here's a start".
from a-shell.
Iwill uninstall a-shell mini and a-shell, then reinstall just a-shell. If there is a problem with library confusion this might clear it up.
from a-shell.
2021.07.12:09:47 - after removing a-shell, a-shell mini and ish apps, then hard rebooting iPad, then re-installing a-shell app. I will try anumber of other commands, screenshot and post.
from a-shell.
Hi,
Thanks for the tests and the images. The latest image corresponds to the expected behavior: iOS has very restrictive user permissions. / can be read, but nothing under / can (but /System/Library can...).
Inside ~, you can read everything, but only create files and directories inside ~/Library, ~/Documents and ~/tmp. "cd" with no arguments takes you to ~/Documents.
I still have no idea why it wasn't working the first time.
from a-shell.
Related Issues (20)
- Extension no longer has access to folders from `pickFolder` HOT 6
- caps-lock key ≠ escape anymore HOT 2
- Failed building wheel for zeroconf HOT 1
- Question/Discussion: Future Sideloading on iOS and Ipad OS HOT 2
- Just updated (1.12.3) and yt-dlp no longer runs HOT 13
- Username HOT 1
- Perl script that open up a webserver does not show up on local web browser, hang and does not respond to ctrl-C HOT 5
- Feature Suggestion: “Find within a page” and “Back” button in the Internal Browser? HOT 2
- get file only works the 2nd time
- Shell scripts get wrong count of arguments HOT 2
- Add tectonic (XeLaTeX) command HOT 2
- Bump ffmpeg version HOT 5
- YouTube is broken in internalbrowser HOT 5
- pip install not accessible in shortcut HOT 7
- Pasting to terminal strips out line breaks. Intended? HOT 2
- Support for loop operators HOT 1
- Tlmgr Update error with a-Shell on Ipad Pro HOT 14
- Codemirror not saving changes HOT 2
- Can a-shell use Python packages built for Mac? HOT 2
- shortcut can't import python package
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 a-shell.