Welcome, Guest. Please login or register.

Author Topic: Wrong Number of Arguments  (Read 2920 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline FuzzyNormalTopic starter

  • Newbie
  • *
  • Join Date: Jul 2024
  • Posts: 2
  • Country: us
  • Gender: Male
    • Show only replies by FuzzyNormal
    • Path 88 Productions
Wrong Number of Arguments
« on: July 04, 2024, 11:50:48 PM »
Forgive me, it's been years since I've tried to do any maintenance on this machine, but what does the notification "Wrong Number of Arguments" mean when booting up an Amiga?

I'm assuming it doesn't know the relationship I have with my wife so that can't be it.

 

Offline kolla

Re: Wrong Number of Arguments
« Reply #1 on: July 05, 2024, 01:22:17 AM »
Some program that is attempted started from s:startup-sequence (or s:user-startup) is given too few or too many arguments. I would boot without startup-sequence, type “set echo on” and “execute s:startup-sequence” to see what causes it.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline zipper

Re: Wrong Number of Arguments
« Reply #2 on: July 05, 2024, 10:05:56 AM »
Or, probably from 3.9 and later:
One particular "nice" feature makes up today's "Shell Hack": Interactive debugging, and tracing of shell scripts. Tracing means that the shell shows you which command it is about to execute, and you may run the command, skip over it or stop tracing.

To enable tracing, use the following command in the shell:

set interactive on

If this is put top in a shell script, for example into the startup-sequence (with an editor of your choice), the shell will prompt you for each command it is going to be executed. If you press RETURN, the shell will run the command. If you press N or DEL, the shell will skip over it. If you press ESC, the shell will abort tracing and execute the rest of the script without bothering you further. If you press Control+D, the script will be aborted.