English Amiga Board


Go Back   English Amiga Board > Main > Nostalgia & memories

 
 
Thread Tools
Old 17 November 2018, 13:27   #2001
Peter
Still an Amiga user
Peter's Avatar
 
Join Date: Nov 2006
Location: Kent
Age: 50
Posts: 2,686
I see - I might have a play with Deficons if that's the case (I can see it on aminet) but the copy icon is a good idea.

I don't know why I thought Workbench could do this but there are work arounds it seems - thanks.
Peter is offline  
Old 17 November 2018, 18:36   #2002
NLS
Ancient User
 
Join Date: Apr 2007
Location: GREECE
Age: 44
Posts: 535
You need DefIcons indeed.
Although I think I remember some commodity that handles extensions automatically.

Natively Amiga OS does not handle extensions the same way (MS) DOS does. It is not limited by the extension. There can very well be a "whatever.exe" that is actually an IFF picture.
NLS is offline  
Old 18 November 2018, 12:36   #2003
B14ck W01f
m68k all the way
 
Join Date: Aug 2011
Location: Koalaland
Posts: 501
What are the chances that someone out there will develop an open source port of WB called OpenWB?
B14ck W01f is offline  
Old 18 November 2018, 13:30   #2004
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,679
Is the name really that important?
idrougge is offline  
Old 18 November 2018, 16:35   #2005
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 3,506
Quote:
Originally Posted by Peter View Post
I don't know why I thought Workbench could do this but there are work arounds it seems - thanks.
DefIcons is built into OS 3.9, so maybe you've seen that in action?
Daedalus is offline  
Old 18 November 2018, 16:44   #2006
demolition
Unregistered User
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 38
Posts: 3,772
Quote:
Originally Posted by Peter View Post
I see - I might have a play with Deficons if that's the case (I can see it on aminet) but the copy icon is a good idea.

I don't know why I thought Workbench could do this but there are work arounds it seems - thanks.
Which WB are we talking about here? 3.1 cannot do natively do what you ask, but 3.9 can.
demolition is offline  
Old 18 November 2018, 17:15   #2007
Peter
Still an Amiga user
Peter's Avatar
 
Join Date: Nov 2006
Location: Kent
Age: 50
Posts: 2,686
Yep - you guys are right, I used 3.9 years ago but now I have a WB3.1 set up on WinUAE - gone backwards I guess but I like to add my own bits and bobs to 3.1
Peter is offline  
Old 19 November 2018, 03:57   #2008
Leandro Jardim
Registered User
Leandro Jardim's Avatar
 
Join Date: Nov 2009
Location: Legoland
Age: 39
Posts: 1,291
Quote:
Originally Posted by Peter View Post
Here's a question...

I thought I would use "ExtractHere" from Daedalus's website - great little piece of useful software.

SO, how do I create a default icon which will instruct my Amiga to use ExtractHere every time I double click on an icon that has the extension .lha
There is Associate from Aminet. It puts an icon on the Workbench and it changes automatically the icon of a file you dropped over it. It works with file types, so you can have an icon for MOD music, another for DPaint pictures and so on. It's a commodity and comes with a preferences editor.

Another commodity is EasyWB from Aminet which complements Associate. It puts an icon on the Workbench and it executes an associated program when you drop an icon over it. It works with file types too. It is a commodity, and it comes with a preferences editor. Currently it does not associate programs with long file paths and files with the extension at the start of the file name (like "MOD.#?"). And another advice - this needs StackAttack.

Look also this thread because I am looking for a program similar to EasyWB called ExApp, but I could find the program or the author.

Definitively AmigaOS needs more programs like these!

Last edited by Leandro Jardim; 19 November 2018 at 04:18.
Leandro Jardim is offline  
Old 19 November 2018, 23:43   #2009
Peter
Still an Amiga user
Peter's Avatar
 
Join Date: Nov 2006
Location: Kent
Age: 50
Posts: 2,686
Great, thank you - will check out these progs - good old Aminet!!
Peter is offline  
Old 04 December 2018, 10:17   #2010
spudje
Registered User

 
Join Date: Dec 2014
Location: Netherlands
Posts: 872
Just out of curiousity and maybe finding me a hobby project. Would it be possible to expose AREXX ports of Amiga applications over IP and use them from something like a python/php (web) server that can turn it into a RestFULL API?
spudje is offline  
Old 04 December 2018, 10:39   #2011
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,734
An ARexx "port" is not a port in the sense of TCP/IP. It is rather an AmigaOS MsgPort which can only be accessed through exec.library. You would have to write a proxy program which opens a listener in TCP/IP and forwards any incoming request to the ARexx port.

As ARexx requests are text-based, this is well possible. With the help of tcp-handler, which should be included with every Amiga TCP/IP stack, it can even be done in ARexx. There is an ARexxWebServer on Aminet, you can use it as an example.

Handling results might be a bit more difficult. Not so much for standard requests. They retrung a numeric return code (RC) and possibly an alphanumeric secondary result (RESULT).

But programs offering ARexx ports can also supply additional results in form of Rexx variables. This method is specific to each Arexx port and would have to be mapped for each port seperately in the proxy program.

Scaling under load might be a problem. AFAIK tcp-handler can only handle one request at a time. The listener is busy while the request is being processed and needs to be closed/reopened for the next request.
thomas is online now  
Old 04 December 2018, 10:45   #2012
Daedalus
Registered User

Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 3,506
I'm sure it would be relatively simple to write a daemon that passes requests back and forth, but that's a colossal security hole so I personally wouldn't be too fond of the idea. Back in the day I had a simpler program that would pass ARexx messages back and forth across a serial cable for remote controlling certain software from another Amiga, and it worked fine.

If you're not aware, there's a web server that's implemented in ARexx which can use server-side ARexx scripts as well as inline commands. It's called W3S and it's on Aminet in two different versions, one more feature-rich than the other. It might be worth a look as an alternative approach.

Edit: Good point from thomas regarding scaling and multiple requests and results variables...
Daedalus is offline  
Old 05 December 2018, 16:32   #2013
spudje
Registered User

 
Join Date: Dec 2014
Location: Netherlands
Posts: 872
Thanks guys, maybe something to take a look at some time in the near future, just as a hobby. It's mainly to see if I can integrate my Amiga(s) in a domotica/IoT setup. Not that I have a real use case, just for experimenting purposes.
spudje is offline  
Old 12 December 2018, 19:27   #2014
Gordon
Settler

Gordon's Avatar
 
Join Date: Feb 2007
Location: Serf City
Posts: 1,234
What is the best way to glue down an Amiga case badge?
Gordon is online now  
Old 12 December 2018, 19:54   #2015
ajk
Registered User
ajk's Avatar
 
Join Date: May 2010
Location: Helsinki, Finland
Posts: 1,179
Thin double sided tape.
ajk is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gamebase Amiga - 2 Questions Fiery Phoenix New to Emulation or Amiga scene 8 13 August 2012 13:31
Amiga CD32 questions pubzombie New to Emulation or Amiga scene 26 24 January 2010 17:27
A few general Amiga questions. Hougham support.Hardware 6 30 April 2008 23:13
Amiga A4000 Questions mfletcher support.Hardware 8 29 April 2008 11:51
Amiga 600 Questions JDunlap support.Hardware 14 20 January 2008 20:13

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 12:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.14751 seconds with 15 queries