English Amiga Board


Go Back   English Amiga Board > Main > Amiga scene

 
 
Thread Tools
Old 06 March 2022, 12:22   #101
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
Does the test script I pasted above work with the old execute?

Testscript:
Code:
.KEY SOMEARG
echo "<SOMEARG>"
wait 10
echo "done!"
Also, which console replacement are you running? KingCON, Vinced or something? Try disabling that and see if you get the same result with the original console.
patrik is offline  
Old 21 March 2022, 21:45   #102
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
Quote:
Originally Posted by DisasterIncarna View Post
another question, can/will the "aget" command support https at any point? tried to get my UHC gui to support other amiga/c64 related websites such as remix64/kwed/amigaremix but all their webpages redirect from http to https so i cant search those sites for files.
Please give this test version a go: http://megaburken.net/~patrik/pt/aget

When taken the TLS/SSL plunge, I also added gemini:// support.
patrik is offline  
Old 22 March 2022, 00:33   #103
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,183
Quote:
Originally Posted by patrik View Post
Please give this test version a go: http://megaburken.net/~patrik/pt/aget

When taken the TLS/SSL plunge, I also added gemini:// support.
works flawlessly, amazing job thanks With this, one of the things i can try and add to my UHC Gui frontend is to also include search results from AmigaRemix, remix.kwed and anything else that isnt normal or standard with UHC Tools to add to the list of sites to search/download from, just have to sift through a hell of a lot of html.

DisasterIncarna is offline  
Old 22 March 2022, 11:10   #104
Firestone
Registered User
 
Firestone's Avatar
 
Join Date: Apr 2013
Location: Norway
Posts: 249
Hi everyone...

I got a question related to aget.
Isn't it possible to pass parameters in the url?
For example "aget http://testsite.com/index.php?variable=1"
Firestone is offline  
Old 22 March 2022, 11:55   #105
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,864
Quote:
Originally Posted by patrik View Post
Please give this test version a go: http://megaburken.net/~patrik/pt/aget

When taken the TLS/SSL plunge, I also added gemini:// support.
Tusentack!
Jope is offline  
Old 22 March 2022, 19:21   #106
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
Quote:
Originally Posted by Firestone View Post
Hi everyone...

I got a question related to aget.
Isn't it possible to pass parameters in the url?
For example "aget http://testsite.com/index.php?variable=1"
It does, but you need to put the url inside double quotes, else dos.library/ReadArgs() will eat up the equals sign:
Code:
9.Ram Disk:> echo value=1 
value 1
9.Ram Disk:> echo "value=1" 
value=1
Same with aget - observe the path on the HTTP request row beginning with GET:
Code:
9.Ram Disk:> run type tcp:12345 
[CLI 1]
9.Ram Disk:> aget http://localhost:12345/index.php?variable=1 QUIET 
GET /index.php?variable HTTP/1.0
Host: localhost:12345
User-Agent: AsyncHTTPGet/0.52 (AmigaOS-m68k; Kickstart 47.7; Workbench 47.3)

recv(): Interrupted system call (4)
9.Ram Disk:> 9.Ram Disk:> run type tcp:12345 
[CLI 1]
9.Ram Disk:> aget "http://localhost:12345/index.php?variable=1" QUIET 
GET /index.php?variable=1 HTTP/1.0
Host: localhost:12345
User-Agent: AsyncHTTPGet/0.52 (AmigaOS-m68k; Kickstart 47.7; Workbench 47.3)

recv(): Interrupted system call (4)
9.Ram Disk:>
And a real working example:
Code:
9.Ram Disk:> aget "http://aminet.net/search?query=nikom" searchresult.html 
Buffer size: 128kB
Sent HTTP GET request!
Done parsing HTTP header
Server response: 200 OK
Receiving file: 0% - [oooooooooooooooooooooooooooooooo] - 100% (26.47kB)
26.47kB received in 705ms - 37.51kB/s
patrik is offline  
Old 22 March 2022, 21:05   #107
Firestone
Registered User
 
Firestone's Avatar
 
Join Date: Apr 2013
Location: Norway
Posts: 249
Ahh! Of course!

Thanks a lot patrik! Works perfectly!
Firestone is offline  
Old 13 April 2022, 21:50   #108
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
The new aget version with HTTPS and Gemini support has been released - run uhcupdate or download at:
http://uhc.a1k.org/aget
http://uhc.a1k.org/aget.os4
http://uhc.a1k.org/aget.mos
http://uhc.a1k.org/aget.aros-i386
patrik is offline  
Old 14 April 2022, 00:02   #109
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Thanks patrik, too bad that on AROS x86 there is no UHC-GUI
AMIGASYSTEM is offline  
Old 14 April 2022, 15:32   #110
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
Quote:
Originally Posted by AMIGASYSTEM View Post
Thanks patrik, too bad that on AROS x86 there is no UHC-GUI
A chance to create something great .
patrik is offline  
Old 14 April 2022, 20:24   #111
nogginthenog
Amigan
 
Join Date: Feb 2012
Location: London
Posts: 1,311
Is there any reason you are not uploading these tools to Aminet?
nogginthenog is offline  
Old 14 April 2022, 21:09   #112
jayminer
Registered User
 
jayminer's Avatar
 
Join Date: Jun 2015
Location: Umeå / Sweden
Posts: 266
The main reason is for our own sanity. We have a pretty advanced build system where we can just push changes to a git repository to automatically build a new release. Maintaining aminet versions of everything would be a real hassle and quickly be outdated, that's why we only have the base package on aminet and then download the rest from our own mirrors.
jayminer is offline  
Old 14 April 2022, 22:34   #113
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,183
just glad uhc still gets updates, probably the most useful package/set of tools i use for an online amiga/emulated amiga.
DisasterIncarna is offline  
Old 16 April 2022, 17:53   #114
jayminer
Registered User
 
jayminer's Avatar
 
Join Date: Jun 2015
Location: Umeå / Sweden
Posts: 266
Me and patrik did a small video trying to show of some of the features of UHC Tools
[ Show youtube player ]
jayminer is offline  
Old 18 April 2022, 10:18   #115
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Hi jayminer,your video inspired me to create something.
I am an old 68 years old Amiga and Aros enthusiast as well as Windows, I am not a developer but I would say a good geek.

Yesterday I used an old GUI4CLI script and then I adapted it for UHC Tools, I would say it works well see attached video, it could be improved but I can not do it because I do not know the GUI4CLI commands

http://eab.abime.net/zone/UHC-ToolG4C.zip
AMIGASYSTEM is offline  
Old 18 April 2022, 18:01   #116
jayminer
Registered User
 
jayminer's Avatar
 
Join Date: Jun 2015
Location: Umeå / Sweden
Posts: 266
Quote:
Originally Posted by AMIGASYSTEM View Post
Hi jayminer,your video inspired me to create something.
I am an old 68 years old Amiga and Aros enthusiast as well as Windows, I am not a developer but I would say a good geek.

Yesterday I used an old GUI4CLI script and then I adapted it for UHC Tools, I would say it works well see attached video, it could be improved but I can not do it because I do not know the GUI4CLI commands

http://eab.abime.net/zone/UHC-ToolG4C.zip

That's cool, I actually thought about trying to make something similiar for Directory Opus 4 for users who aren't as fond of the shell as myself



Keep up the good work!
jayminer is offline  
Old 18 April 2022, 23:31   #117
Firestone
Registered User
 
Firestone's Avatar
 
Join Date: Apr 2013
Location: Norway
Posts: 249
I'm curious about a few things...
These aminetsearch and whdownsearch-commands... how do they fetch the list of packages from Aminet and Whdownload?
Do they talk to any apis on these sites, or do you parse the html-response you get from them...?
Firestone is offline  
Old 19 April 2022, 00:11   #118
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by jayminer View Post
That's cool, I actually thought about trying to make something similiar for Directory Opus 4
With Dopus4 is much easier, done in a short time, see my video

http://eab.abime.net/zone/UHCTools-Dopus4.zip
AMIGASYSTEM is offline  
Old 19 April 2022, 08:21   #119
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 925
Quote:
Originally Posted by Firestone View Post
I'm curious about a few things...
These aminetsearch and whdownsearch-commands... how do they fetch the list of packages from Aminet and Whdownload?
Do they talk to any apis on these sites, or do you parse the html-response you get from them...?
The sites we offers searchers for are all quite different - for example aminet has a nice index file with a consistent format, but for whdownload we parse the html of their page with all packages.

For each searcher we create a new index file on our search servers every day, which is what aminetsearch, whdownsearch etc then query through a consistent api.
patrik is offline  
Old 19 April 2022, 09:09   #120
jayminer
Registered User
 
jayminer's Avatar
 
Join Date: Jun 2015
Location: Umeå / Sweden
Posts: 266
Quote:
Originally Posted by AMIGASYSTEM View Post
With Dopus4 is much easier, done in a short time, see my video

http://eab.abime.net/zone/UHCTools-Dopus4.zip

Exactly something like that, nice!
jayminer is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for some basic IP tools en SDK tools Roland007 support.WinUAE 0 28 November 2012 22:34
Tools alexh support.Hardware 15 05 August 2010 23:27
What tools to use? Zetr0 GCA.Usefull Programs 10 03 February 2009 23:52
Need a few tools Phantomz request.Apps 6 22 November 2008 03:15
Tools? Kada project.Amiga Game Factory 1 05 February 2008 09:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:20.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11885 seconds with 17 queries