[comp.sys.amiga] new "why" CLI command

bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) (05/18/87)

This is a replacment "WHY" command.  Compared to the standard AmigaDOS
version it:

1> Gives more information.

   Fail code 20, error code 218; device (or volume) not mounted

3> Can be translated from what ever language it is in now, to German, 
   French, Italian, Russian or even English.
   
2> Is faster since the old "why" actually just called "c:fault"

3> Gives useful information even if the C: directory is not on-line
 
4> Can be made "RESIDENT" since it does not call c:fault

5> Is innocent of the ->weird<- ways that BCPL programs work.


See the source which will appear in a few days in comp.sources.amiga for
the full scoop.  (C)1987 Bryce Nesbitt

---------- start ------------
begin 777 why
M```#\P`````````!``````````````$3```#Z0```1-Z%"QX``1#^@$83J[^1
M:"P`9U"3R4ZN_MHJ0"AM`*S9S-G,+$9.KO_$+`!G+$'Z`/YV"F$R("P`#&%F+
M0?H`^G81820@+```85A!^@#]=@)A%B`L``!A*'H`(DXL>``$3J[^8B`%3G4D\
M""(&3J[_T+:`9_)8CTZN_WPK0`"48-IR"D/Z`-P@27;_LAE7R__\1(-3@PP0U
M`/]G!+`09NA2B&#&=/Q=CUV/($]*@&<N:@80_``M1(!8@K"[*#QE^"([(#9G;
M''+_4H&0NR`L9/C0NR`F``$`,!#!6()@XA#\`#"1SR8()`\B!DZN_]!<CUR/(
MMH!F@$YU.YK*``7UX0``F):```]"0``!AJ```"<0```#Z````&0````*````/
M`0````!D;W,N;&EB<F%R>0!&86EL(&-O9&4@+"!A;F0@97)R;W(@8V]D92`[@
M("A#*3$Y.#<@0G)Y8V4@3F5S8FET=&=I;G-U9F9I8VEE;G0@9G)E92!S=&]RS
M90II=&%S:R!T86)L92!F=6QL"GAA<F=U;65N="!L:6YE(&EN=F%L:60@;W(@;
M=&]O(&QO;F<*>69I;&4@:7,@;F]T(&%N(&]B:F5C="!M;V1U;&4*>FEN=F%L\
M:60@<F5S:61E;G0@;&EB<F%R>2!D=7)I;F<@;&]A9`K(:6YT97)N86P@97)RA
M;W(*R6YE=V5R(&]P97)A=&EN9R!S>7-T96T@<F5Q=6ER960*RF]B:F5C="!I8
M;B!U<V4*RV]B:F5C="!A;')E861Y(&5X:7-T<PK,9&ER96-T;W)Y(&YO="!F+
M;W5N9`K-;V)J96-T(&YO="!F;W5N9`K.:6YV86QI9"!W:6YD;W<@9&5S8W)I"
M<'1I;VX*T7!A8VME="!R97%U97-T('1Y<&4@=6YK;F]W;@K2<W1R96%M(&YA/
M;64@8V]M<&]N96YT(&EN=F%L:60*TVEN=F%L:60@;V)J96-T(&QO8VL*U&]B?
M:F5C="!N;W0@;V8@<F5Q=6ER960@='EP90K59&ES:R!N;W0@=F%L:61A=&5DX
M"M9D:7-K('=R:71E+7!R;W1E8W1E9`K7<F5N86UE(&%C<F]S<R!D979I8V5S4
M(&%T=&5M<'1E9`K89&ER96-T;W)Y(&YO="!E;7!T>0K:9&5V:6-E("AO<B!VR
M;VQU;64I(&YO="!M;W5N=&5D"MMS965K(&9A:6QU<F4*W&-O;6UE;G0@=&]OX
M(&)I9PK=9&ES:R!F=6QL"MYF:6QE(&ES('!R;W1E8W1E9"!F<F]M(&1E;&5TG
M:6]N"M]F:6QE(&ES('=R:71E('!R;W1E8W1E9`K@9FEL92!I<R!R96%D('!R$
M;W1E8W1E9`KA;F]T(&$@=F%L:60@1$]3(&1I<VL*XFYO(&1I<VL@:6X@9')I0
M=F4*Z&YO(&UO<F4@96YT<FEE<R!I;B!D:7)E8W1O<GD*_VYO(&5R<F]R(&UEE
+<W-A9V4*`````_(@R
``
end
----------- end -------------
O  O  bryce@cogsci.berkeley.EDU      {ihnp4,seismo}!ucbvax!cogsci!bryce
 {}   Dedicated to curing this latest world-wide outbreak of BCPL
\__/  BPTR? Jut uZ. Th8038