English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 04 July 2022, 13:58   #3941
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
No sorry Carlo, but I don't want to check out any Aros x86 distros and programs.

The BoingIkonbar for OS 3.5 seems not to be available anymore and might work different (or not at all).

I don't know whether Aros x86 also has the "Status" and "Break" commands for the shell. In case that the BoingIkonbar was started from shell and would respond on Ctrl-C, Ctrl-D etc in order to quit, you could try to get the process number with the Status command first (i.e. "Status command=BiongIkonbar" or something similar), and then use this process number for the Break command, maybe something like ... (with a little luck, but not tested) ...
Code:
Break `Status command=BoingIkonbar` ALL
PeterK is offline  
Old 04 July 2022, 14:50   #3942
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Thanks Peter, meanwhile you gave me some interesting info, then if they don't work pasienza, I learned new things

The version Of BoingIconBar that I use (previously BoingIkonbar) is found in the AROS x86 ISO, and was updated years ago by the good developer Mazze Which improved BoingIconBar and added the Quit (mouse only)

Breack and Status commands exist on AROS x86, now I try to use them, more help is welcome, thanks

Have a nice day

Last edited by AMIGASYSTEM; 17 July 2022 at 21:38.
AMIGASYSTEM is offline  
Old 04 July 2022, 15:54   #3943
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Just two examples with WBDock and NewMeter.

You have to launch the programs with Run, like "Run >NIL: BiB_Aros"

Then you can check just for info whether they appear under "Status" with a process number in the list. With "Break <process number>" you could send them a Ctrl-C to ask the program to terminate, but not every program supports this. With the option ALL the other signals are send too, usually not required.

In my example I could launch WBDock and NewMeter with Run and then I terminated them successfully again with
Break `Status Command=WBDock` ALL
Break `Status Command=NewMeter`ALL

So, in your case try out
Break `Status Command=BiB_Aros`ALL
Attached Thumbnails
Click image for larger version

Name:	Break_Status.png
Views:	66
Size:	6.0 KB
ID:	75933  
PeterK is offline  
Old 04 July 2022, 17:44   #3944
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Tried it, I get this error message !

Scout with "Remove" can close BoingIconBar

Last edited by AMIGASYSTEM; 31 December 2023 at 08:53.
AMIGASYSTEM is offline  
Old 04 July 2022, 19:18   #3945
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Edit: Of course, you have to launch BoingIconbar with Run, maybe from user-startup or another shell script, but not as an icon from WBStartup.

Carlo, did you try just "Status" to get the process number?
... and then use this directly in "Break <number>".

And did you also try "Break" in Scout, not "Remove"?

In my example I'm executing the `Status Command=BoingIconbar` inside of the Break argument string, and this is usually done by enclosing a command with accent grave characters ` (this is not the apostrophe! It's the french accent, which you will get holding down <shift> and pressing the accent key, an then you also need to click onto <space>, because an accent is a "dead key").

This causes that Status is executed first and its result, the process number, is inserted into the Break argument string. Your error messages says that Break didn't get this process number.

Last edited by PeterK; 04 July 2022 at 19:34.
PeterK is offline  
Old 04 July 2022, 21:41   #3946
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by PeterK View Post
Edit: Of course, you have to launch BoingIconbar with Run, maybe from user-startup or another shell script, but not as an icon from WBStartup.
BoingIconbar is started from the dedicated User-startup, the command I used is WBRun so that they are executed the parameters in the Tooltypes

BoingIconbar does not work with Run not accept parameters from Shell (Command Tooltypes)


Quote:
Carlo, did you try just "Status" to get the process number?
... and then use this directly in "Break <number>".
No I didn't realize that "Status" was for that (I learned something else), however "Status" Command does not show "BoingIconbar" in the list of processes, If I run the "TaskList" Command instead, "BoingIconbar" is visyualized as process 0

Quote:
And did you also try "Break" in Scout, not "Remove"?
Yes, but maybe I set the command wrong, what would be the right topic? Scout "Break" does not kill the process

Quote:
In my example I'm executing the `Status Command=BoingIconbar` inside of the Break argument string, and this is usually done by enclosing a command with accent grave characters ` (this is not the apostrophe! It's the french accent, which you will get holding down <shift> and pressing the accent key, an then you also need to click onto <space>, because an accent is a "dead key").
Here is the only thing I didn't do wrong, I did copy/paste your command

Thanks for the help, I'll see what I can do

Last edited by AMIGASYSTEM; 05 July 2022 at 15:05.
AMIGASYSTEM is offline  
Old 05 July 2022, 15:15   #3947
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by AMIGASYSTEM View Post
the command I used is WBRun so that they are executed the parameters in the Tooltypes

BoingIconbar does not work with Run not accept parameters from Shell
It's required to start it with Run, not WBRun, because it must create a shell process. Break uses the shell process number, not the task pointer.

Quote:
... however "Status" Command does not show "BoingIconbar" in the list of processes
That's because you didn't use Run from a shell or shell script.

Quote:
Scout "Break" does not kill the process
Bad luck , because not every program can be terminated by sending a Ctrl-C signal, the program must support this. So Break will probably never work with BoingIconBar. Another example: I also couldn't terminate VisualPrefs with Break, but WBDock and NewMeter can be killed (see previous screenshot).
PeterK is offline  
Old 05 July 2022, 18:12   #3948
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
HINT: about Scout, on the AmigaOS 68K don't use latest version 3.6 (or 3.5) if you care about Workbench stability, because it's seriously buggy for the NList handling with Tasks window and its sub-windows.

Use this latest stable version:


Archive: https://sourceforge.net/projects/sco...s/Scout-Amiga/
Scout 3.5+ are mainly maintenance versions with rewritten sources for multi-platform (MOS, AOS4, OS3...) compile anyway.
I've contacted Thore many times about this issue but he didn't care that much unfortunately (he uses AOS4 I guess).

Last edited by hexaae; 05 July 2022 at 18:22.
hexaae is offline  
Old 05 July 2022, 18:51   #3949
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
@PeterK

Unfortunately BoingIconBar does not work with Run, it has to be run from Icon to fuync well, thanks for the help

I also tried these commands with Scout but they did not work:

Usage: ActivateTask task
If task task was frozen, it will be activated, otherwise an error
occured. task is again a task’s name or an address.
‘RemoveTask’

Usage: RemoveTask task
This command removes the task task. It’s lost forever.
‘BreakTask’


@hexaae

The AROS x86 version of Scout is 37.296 Release 3.7 (GCC 6.5.0)

Last edited by AMIGASYSTEM; 05 July 2022 at 19:22.
AMIGASYSTEM is offline  
Old 05 July 2022, 19:52   #3950
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by hexaae View Post
HINT: about Scout, on the AmigaOS 68K don't use latest version 3.6 (or 3.5) if you care about Workbench stability, because it's seriously buggy for the NList handling with Tasks window and its sub-windows.
No, I can't confirm this. I'm using Scout v37.390 release 3.6 (and used 3.5 for many years before) together with MUI 3.8 and I never noticed any problems with instability, very often even running debugging tools like WinUAEenforcer in the background. But I think that I don't have the latest MUI classes installed, because as you know, you should never change a running system (muimaster.library v19.35, NList.mcc v20.122, NListtree.mcc v18.29, NListview.mcc v19.77).

I have little doubt that Thor uses OS4. No, he once said that he can't understand what the point is to have AmigaOS running on a PPC (the same as my opinion).Sorry, you meant Thore Böckelmann, not Thomas Richter (alias Thor).

Last edited by PeterK; 05 July 2022 at 20:04.
PeterK is offline  
Old 05 July 2022, 21:44   #3951
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
It's a proven bug with new NLists. Only up to 3.4 was not affected. Still not completely clear instead if it's a Scout or NList itself issue (but since I've never seen this kind of issue except with Scout 3.5+...). It's reproducible also on WinUAE with WB3.1 fresh install + MUI3.8 + NList + Scout 3.5+.
Follow the bug-repot on GitHub for the repro-steps...

Last edited by hexaae; 05 July 2022 at 22:00.
hexaae is offline  
Old 06 July 2022, 12:22   #3952
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
I tried to reproduce but with the steps you provided I didn't get hits. However, while doing a lot of things with Scout I got the hits. At the moment it is random. If I remember right I seldom noticed hits in the past from Scout but always random hits. This would need more investigation.
daxb is offline  
Old 06 July 2022, 12:32   #3953
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by daxb View Post
I tried to reproduce but with the steps you provided I didn't get hits. However, while doing a lot of things with Scout I got the hits. At the moment it is random. If I remember right I seldom noticed hits in the past from Scout but always random hits. This would need more investigation.
It happens on opening + closing background console tasks single windows.

1. run Scout 3.5+ 68k
2. open Tasks (button), should show CPU usage "in %" at default
3. run Multiview from shell/WB Execute, in other words not by double-clicking Multiview icon but from command line...
4. find the task in the Tasks window of Scout ("Shell Process [SYS:Utilities/Multiview]") and double-click to open properties details
5. close this window and repeat 4-5 'till the Enforcer hits

As I said this has been tested even on WB3.1 fresh install and NOTHING else except MUI3.8 from Aminet + latest NList from Aminet...
It's a problem introduced since Scout 3.5 where the author rearranged sources for multi-platform compile, at least in the 68k executable. Not tested under OS4 or Aros or MorphOS...

Sources of Scout are available but I'm not a programmer unfortunately
hexaae is offline  
Old 06 July 2022, 12:49   #3954
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Ok, maybe I will check that Scout issue later ...

Edit: could reproduce this issue now, but won't try to fix it.

Last edited by PeterK; 07 July 2022 at 12:15.
PeterK is offline  
Old 07 July 2022, 11:45   #3955
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by hexaae View Post
It happens on opening + closing background console tasks single windows.

1. run Scout 3.5+ 68k
2. open Tasks (button), should show CPU usage "in %" at default
3. run Multiview from shell/WB Execute, in other words not by double-clicking Multiview icon but from command line...
4. find the task in the Tasks window of Scout ("Shell Process [SYS:Utilities/Multiview]") and double-click to open properties details
5. close this window and repeat 4-5 'till the Enforcer hits
I know because I followed your github bugreport description. I repeated at least 10 times without a hit. The hit(s) came later while doing other stuff in between. Maybe it depends on other things like window size (list entries) or CPU refresh time.
daxb is offline  
Old 08 July 2022, 01:27   #3956
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Use Scout 3.4 in the meanwhile, AFAICS Scout 3.5+ have no important changes
hexaae is offline  
Old 26 July 2022, 21:08   #3957
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Icon.library build #564 was removed due to a bug reported here! Please, don't use #564.

Last edited by PeterK; 27 July 2022 at 19:43.
PeterK is offline  
Old 27 July 2022, 12:22   #3958
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Peter but the TC020 (build #564), does it have any restriction on AfA OS? basically after looking at an icon, your Icon.library self-destructs (deletes itself).

Now I don't know from which of your latest versions of Icon.library, still on AfA OS on old Glow Icons 3.9 I see a background, see screenshot.

I don't know maybe it is my fault that I changed something, I will investigate.

Last edited by AMIGASYSTEM; 05 January 2023 at 22:25.
AMIGASYSTEM is offline  
Old 27 July 2022, 13:02   #3959
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Thanks for reporting, Carlo.

I've removed the update again and will check it soon. I don't know what went wrong, maybe something done by the assembler?

Use my latest Aminet version again until this bug is fixed. Sorry!

Edit: Concerning the background, this could also be caused by one of the newer rtg.libraries of P96 v3. I had strange colored backgrounds on AfA_OS with a certain rtg.library version, too.

Last edited by PeterK; 27 July 2022 at 14:36.
PeterK is offline  
Old 27 July 2022, 19:39   #3960
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Update to icon.library build #565 (Bugfixes for TC020, FastWB, HB020, LD020 only):

Enabled the PhxAss code optimization again in #565. My library protection didn't like the #564 code modifications.

On a Hi/TrueColor Workbench the selected icons of bad disks were not displayed correctly. The "Disabled" 2. images appeared with a too small overlay bar-pattern.

On DOpus5 some very tiny ColorIcons with a height of only 1-4 pixels could cause memory trashing, although nobody usually has such small ColorIcons.
PeterK 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
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 8 05 August 2018 13:57
WB library conflict/versions Amiga1992 support.Apps 3 22 July 2010 18:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 15:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01: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 20:24.

Top

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