I succeeded in using pacman to download some files from jal on iphone. But there is a problem that zlib cannot deflate the tar.gz format file. If that can be done or if we can allow hosting tar format files for iOS, then pacman can be a reality.
Вт, 24 сен 2013, Joey K Tuttle писал(а): > This is my third attempt to get a response to the forum - prior ones > frustrated by various email clients on various machines … > > I'm looking forward to having jal on iOS. I have also been thinking of > writing a sockets app on iOS so the looking fiddling wasn't wasted. > > The bit below was originally written on the iPad in question > > ~~~~~~~~~~~~ > > IOS 7 on iPad 2 - > > Using iExplore on my iMac, I dropped a file "blam.ijs" into the JiOS > "Documents" folder - Then, without a restart of J, got the following result: > > load'blam.ijs' > HTTP/1.1 200 OK > Date: Tue, 24 Sep 2013 15:37:04 GMT > Server: Apache/2.2.22 (Ubuntu) > Last-Modified: Mon, 08 Dec 2008 02:52:08 GMT > ETag: "85852e-65-45d801cd8a600" > Accept-Ranges: bytes > Content-Length: 101 > Vary: Accept-Encoding > Connection: close > Content-Type: text/plain > > Congratulations! This is the contents of the file: > http://www.jsoftware.com/download/testsock.txt > > - joey iPa… > > > On 2013 Sep 24, at 10:20 , bill lam <[email protected]> wrote: > > > I ran the following script it retrieved a file from jsoftware > > website, please test if it can also work. > > > > NB. ============= > > cocurrent 'base' > > load 'socket' > > coinsert 'jsocket' > > > > wget=: 3 : 0 > > sk=. 1{:: sdsocket'' > > sdconnect sk;PF_INET;'23.21.67.48';80 > > head sdsend sk;0 > > z=. sdrecv sk,1000 > > smoutput 1{::z > > ) > > > > head=: 0 : 0 > > GET /download/testsock.txt HTTP/1.0 > > > > ) > > > > wget'' > > NB. ============= > > > > Вт, 24 сен 2013, bob therriault писал(а): > >> On my non jail broken 3gs I get 0;15 > >> > >> On the 3gs I am running iOS 5.1.1 :) > >> > >> Cheers, bob > >> > >> On 2013-09-23, at 11:25 PM, Joey K Tuttle wrote: > >> > >>> On my iPad2 (not jb) it works and returns 0;18 > >>> > >>> I get the same result in my not jb iPhone4, i.e. 0;18 > >>> > >>> Both are running iOS7 > >>> > >>> > >>> On 2013/09/23 22:24 , bill lam wrote: > >>>> socket seems work in my jb iphone 3gs with the following test > >>>> script. Can anyone confirm if it will work in a non-jb devices? > >>>> > >>>> cocurrent 'base' > >>>> load'socket' > >>>> coinsert 'jsocket' > >>>> smoutput k=: sdsocket'' > >>>> > >>>> if it returns a box like 0;17 then socket probably works. > >>>> Using pacman should be feasible if socket is supported. > >>>> > >>> ---------------------------------------------------------------------- > >>> For information about J forums see http://www.jsoftware.com/forums.htm > >> > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
