Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!utcsri!utegc!utai!garfield!john13 From: john13@garfield.UUCP Newsgroups: comp.sys.amiga Subject: ADD (new) and UNTIL Message-ID: <3597@garfield.UUCP> Date: Sun, 19-Apr-87 15:31:06 EST Article-I.D.: garfield.3597 Posted: Sun Apr 19 15:31:06 1987 Date-Received: Mon, 20-Apr-87 03:35:23 EST Organization: CS Dept., Memorial U. of Newfoundland, St. John's Lines: 240 Keywords: utilities executables resources DISK-SEEKING Here is a leaner & meaner version of ADD, and a new utility, UNTIL. Add is now smaller, works with any arrangement of screens, and allows you to delete shortcuts as well as add them. Forbid() and Permit() are used around the delicate sections. Eg: add VT100 1 1 C ;create new shortcut add VT100 2 1 3 -kill ;get rid of an existing one As before, only the first word of the window name need be specified. Until may turn out to have more uses than I envisioned. I intended to use it in the context of waiting for a run task to finish loading before adding keyboard shortcuts, as opposed to having to "wait" some small number of seconds; waiting can get you into trouble if you have to swap disks, etc. It also seems to solve (at least for stuff that opens windows) the problem of excessive disk seeking when running many tasks; ideally it should be run out of ram: to avoid *any* clashing whatsoever. Eg: run df1:vt100 ;start task _loading_ until VT100 60 -m ;wait until window named VT100 appears _and sets a ;menustrip_ or 60 seconds, whichever comes first addbuffers df0: 20 add VT100 1 1 C ;now do as many adds as you want Eg: run clock until Clock 30 ;wait for "Clock" window to appear or 30 seconds. ;we don't care about the menu here run DME ;nice to have an editor always loaded until DME 45 ;again no menu run vt100 ;etc. Although all tasks are independent, we don't ;load the next until the current one is started John Russell john13@garfield.mun.cdn 5 Alderdice Place john13@garfield.UUCP St. John's, NF (Canada) A1B 2P8 (709) 726-7847 ----CUT HERE------------------- begin 600 add M #\P # ( .# O0 /I #@TZY # M?DY5_^(F+0 (4X,K0__B0J=(>@&N3KH-E%!/*4""7DJ 9A)(>@&N3KH"X%A/ M0J=.N@@P6$\L;()>*VX //_\3KH-0DJM__QG %F+&W__"MN 3_^$JM__AG M %(+&W_^"\N " L;0 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"=N @ I"\L M@EI"ITZZ].A03T*G82A83TS?#'!.74YU9&]S+FQI8G)AA*K(&^ M9P8L;(&^3I9*K(+R9PHO+(+R3KH!W%A/2JR"[F<*+RR"[DZZ R":B1 U3N[_RDSO P !"QL@EY.[O[X #[ $ M @ /Q @ #\@ ^H "1 M 0 ! $! 0 M ! @ $ M M M M M M M M @(" @(" @ M(" P,# P," @(" @(" @(" @(" @(" @()! 0$! 0$! 0$! 0$! 0$ ,# P, M# P,# P,0$! 0$! 0 D)"0D)"0$! 0$! 0$! 0$! 0$! 0$! 0$!0$! 0$! M"@H*"@H* @(" @(" @(" @(" @(" @(" @) 0$! ( _( /K % _(* end ----CUT HERE------------------- begin 600 until M #\P # ( -J O0 /I #:DZY # M*$Y5__1"ITAZ .!.N@U44$\I0()>2H!F$DAZ .!.N@*46$]"ITZZ!^183PRM M P (;0H,K0 0 "&\<2'H T4ZZ FY83R\L@EY.N@S 6$]"ITZZ![18 M3RQM PO+@ (3KH!KEA/*T#_^$*M__1@4"QM PO+@ $3KH XEA/*T#__$J M9RPL;?_\2JX '&8@#*T # AG%DAZ )TL;0 ,+RX #$ZZ 1A03TJ 9P)@ M)DAX !E.N@O86$]2K?_T)BW_^..#)"W_]+2#;:)(>@!L3KH!W%A/+RR"7DZZ M#"Y83TY=3G5I;G1U:71I;VXN;&EB0!.;R!I;G1U:71I;VX@;&EB2X* %5S86=E.B!U;G1I;" \=VEN9&]W/B \*VX //_\8$(L;?_\*VX !/_X8"@O+0 (+&W_^"\N "!A-E!/2H!F#$ZZ M"^ @+?_X3EU.=2QM__@K5O_X2JW_^&;2+&W__"M6__Q*K?_\9KA.N@NX< !@ MV$Y5 L;0 (%A9(@TC#2H-G.BQM @6%DB#2,.VO "!G*"QM @6%DB# M2,,L;0 ,%!9(@DC"MH)G!G !3EU.=5*M A2K0 ,8+AP &#N3E4 $CG#" D M;0 (%A)(@TC#MKP @9PX6$DB#2,.VO EF!%**8.!Z !822(-(P[:\ M +68&>@%2BF 0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