[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

3778.0. "Help with "EXECUTE: No K directive" error" by RLAV::LITTLE (Just trying to catch up) Sat May 12 1990 02:23

    What does the following mean?
    
    EXECUTE: No K directive
    C:Execute failed returncode 20
    
    
    I was bringing up the Matt Dillon UUCP package on my 500 last night and
    changed the second part of my startup sequence (hd-start) to add the
    new mounts and assigns and got the above error upon rebooting.  I have
    a C-Ltd non-autobooting controller so I use this as my startup-sequence
    on the floppy disk:
    
C:Devinstall @DF0:Devs/Devsetup -Quiet
C:Mount DH0:
DH0:C/DefDisk dh0:
C:CD RAM:
C:Execute S:HD-Start
    
    And it is the execute in that file that failed.  My startup-sequence
    was not changed (the floppy has been write protected for longer than I
    can remember).  I only changed dh0:s/hd-start.  Now the really weird
    thing is that after the command fails, I can issue the exact command
    from the keyboard and it works fine!  Here is my modified hd-start
    
path dh0:arp reset
c:SetPatch >NIL: ;patch system functions
cd c:
echo "Todd Little's A500 Workbench disk.  Release 1.3 version 34.20*N"
Sys:System/FastMemFirst ; move C00000 memory to last in list
BindDrivers
SetClock load ;load system time from real time clock (A1000 owners should
              ;replace the SetClock load with Date
FF >NIL: -0 ;speed up Text
resident CLI L:Shell-Seg SYSTEM pure add; activate Shell
mount newcon:
;
makedir ram:env ; set up ENV: directory
assign ENV: ram:env
makedir ram:clipboards ;set up CLIPS: assign
assign CLIPS: ram:clipboards
assign t: ram:t
assign utilities: dh0:utilities
mount speak: ;just mounting doesn't take much ram at all
mount aux:
mount pipe:
;
SYS:System/SetMap usa1 ;Activate the ()/* on keypad
path sys:utilities sys:system s: add ;set path for Workbench
stack 2000
noclick3.6
snap
;dmouse -A0 -C newshell "newcon:0/60/640/140/amiga-shell"
;runback -1 DLineArt -a -n 3 -c2500 -l30
runback dh0:utilities/qmouse -Fs:qmouse.cfg
virusx
stack 8192
;stack 20000 
;runback c:spudclock -m mister poetaytoe head says -f
;
; Mount any standard disks
;
mount dh6:	; develop and downloads

;
; Now create all needed assignments
;
assign downloads: develop:downloads
assign doc: dh0:utilities/doc
assign sedt$dir: utilities:sedt
assign sedt$tmp: dh0:t
assign tcpip: dh0:tcpip
assign UUCP: dh0:UUCP
assign UULIB: UUCP:lib
assign UUSPOOL: UUCP:spool
assign UUMAIL: UUCP:mail
assign UUNEWS: UUCP:news
assign UUPUB: UUCP:pub
assign UUPUBW: UUCP:pub
assign MAN: UUCP:man
Assign Getty:	    UUCP:Lib
assign tmp: ram:

mount null:
mount uuser:
path UUCP:c add

run <nil: >nil: Getty -B2400 -A -Md -x9 -c0 -7
wait 4
run <nil: >nil: dcron T:dcron.log

path develop:lc/c add			; For Lattice C
assign lc:      develop:lc/c		;   "
assign lib:     develop:lc/lib		;   "
assign include: develop:lc/include	;   "
assign quad:    RAM:
LoadWB
newshell
endcli
assign >NIL: RAD: exists
if warn
   echo "Mounting RAD:..."
   mount RAD:
   if not exists RAD:c
      if exists RAD:.info
         delete RAD:.info
      endif
      echo "setting up..."
      relabel drive RAD: name RamDrive
      makedir RAD:c
      copy c:Devinstall|Mount RAD:c quiet
      makedir RAD:devs
      copy devs:system-configuration|SCSI.handler|HardDisk.driver RAD:devs quiet
      copy devs:Cltd.device|RamDrive.device|devsetup RAD:devs quiet
      copy devs:rad-mountlist RAD:devs/mountlist quiet
      makedir RAD:L
      copy L:disk-validator|FastFileSystem RAD:L quiet
      makedir RAD:Libs
      copy Libs:icon.library RAD:Libs quiet
      makedir RAD:s
      copy s:floppy.startup-sequence RAD:s/startup-sequence quiet
   endif 
endif
endcli
    
    
T.RTitleUserPersonal
Name
DateLines
3778.1WJG::GUINEAUSat May 12 1990 09:189
I think thats a bug with calling a script from a script. There is
a workaround. Randy Meyers knows! Randy?

(it's in a note in here somewhere...)

john

P.S. How's UUCP working? I seem to be running mail ok now. Now to get 
News up!
3778.2Haven't tried newsRLAV::LITTLEJust trying to catch upSat May 12 1990 11:2814
    Ok, but why would it show up now as opposed to earlier, since I didn't
    modify the calling script and the called script never even appears to
    get started?  Maybe file size of the called script?
    
    UUCP for mail and file copies is working GREAT!  I've been able to
    copy ZOO files from a VAX/VMS system to an Ultrix system and then
    UUCP them to my 500.  From the timestamps on some large transfers, it
    appears to get about 180 bytes/sec throughput over a 2400 bps modem.
    Great for unattended file transfers.
    
    I'm using a Scholar and it appears that I'll have to modify the uucico
    modem.c routine to get UUCP to dial it.
    
    -tl
3778.3Solved!RLAV::LITTLEJust trying to catch upSat May 12 1990 12:3928
    Well I found the problem and I guess you could call it a bug.  It
    certainly wasn't obvious, although trying to debug it at 3:30 in the
    morning after panicking and madly backing up/restoring my disk and
    kv'ing my entire drive thinking it might be hardware or a virus, was
    tough.  I had files that I could LIST but reported "No such object"
    when attempted to be COPY'd or TYPEd.  Not sure what caused that, but
    apparently was unrelated.
    
    It turns out the EXECUTE scans the entire file before executing any
    lines.  The following line that was added was part of the problem:
    
run <nil: >nil: Getty -B2400 -A -Md -x9 -c0 -7
    
    Apparently EXECUTE ignores spaces, newlines, everthing in it's scan for
    brackets.  So it thought "<nil: >" was a key that wasn't defined. 
    Furthermore, I changed the line to:
    
run >nil: <nil: Getty -B2400 -A -Md -x9 -c0 -7
    
    and it still failed, apparently because I have another "<" further up
    in the file.
    
    The moral of the story is:  
    
    "Use .BRA and .KET directives to redefine the standard < > brackets
    when using EXECUTE."
    
    -tl
3778.4some more...FRSOLD::ZIMMERMANNWer von Euch Kerls ist KowalskiSun May 13 1990 08:086
    sssssssss
    saw this topic too late. I had the same problem some weeks ago.
    Read 3229.0-5 for additional infos.
    
    Ralf
    ====
3778.5WJG::GUINEAUSun May 13 1990 10:4836
    
>    UUCP for mail and file copies is working GREAT!  I've been able to
>    copy ZOO files from a VAX/VMS system to an Ultrix system and then
>    UUCP them to my 500.  From the timestamps on some large transfers, it
>    appears to get about 180 bytes/sec throughput over a 2400 bps modem.
>    Great for unattended file transfers.

Why copy them to unix then uucp? Just uuencode them on VMS and mail them 
to your uucp 'server', which will them get them to you. Not sure if the 
uucp mail transfers are faster or slower (or the same) as uucp copies.

    
>    I'm using a Scholar and it appears that I'll have to modify the uucico
>    modem.c routine to get UUCP to dial it.


If your using Matt Dillon's AmigaUUCP, then just put the scholar in 
'AT' mode and it will work fine.

(from term emulator connected to your modem)
^B
Ready.
enable at
(something about modem's access password): scholar

Now regular dialing goes like this:

(used to be ^B dial xxxxxxx)

^B
ATDT xxxxxx

Simple!

john

3778.6RLAV::LITTLEJust trying to catch upTue May 15 1990 01:4020
    re: .4    Oh well... that's what I get for not keeping up on all of
    the notes in here.
    
    re: .5
    
    Well I'm not that familiar with uuencode, but doesn't that turn a
    binary file into a plain ASCII text file by using a limited portion of
    the the ASCII character set?  That would suggest at least a 25% or
    greater increase in file size.  The actual transfers for mail and uucp
    copies use the same protocol (I think) and should give equivalent
    throughput.  The real solution (and the one in the works) is to
    properly configure the VMS/Ultrix Connection software such that I can
    mount my VMS disks on my puny Ultrix system and access the files
    transparently.
    
    As for the Scholar modem.  What you suggest I think only works on a
    Scholar Plus, not the normal Scholar (DF224).  I'll try it in any case
    and report back here if I find out otherwise.
    
    -tl
3778.7WJG::GUINEAUTue May 15 1990 09:1314
I think you reported 180 bytes/sec uucp copy. I measured a 2400 baud
ZMODEM xfer using VLTjr the other night and got 230 bytes/sec - thats about
 30% faster...

I guess having uucp handle the details makes it worth while.

Yes, uuencode does increase the file size a bit. But mailing is real easy 
and unnattended downloads wvia uucp are painless anyway. (so what if it 
finishes at 4 am instead of 3 !)

Once I get News up and running, it's gonna be a wash anyway since News volumes
can get huge!

john