Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!sdcsvax!ucbvax!COGSCI.BERKELEY.EDU!bryce From: bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) Newsgroups: comp.sys.amiga Subject: "echo" binary. Message-ID: <8705180738.AA04404@cogsci.berkeley.edu> Date: Mon, 18-May-87 03:38:56 EDT Article-I.D.: cogsci.8705180738.AA04404 Posted: Mon May 18 03:38:56 1987 Date-Received: Mon, 18-May-87 06:44:07 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 42 Keywords: faster smaller BCPL CLI ARP 68000 This is a replacement "ECHO" command. It is 336 bytes long and allows hex, decimal or binary data to be used in the echo string. The source has been submitted to comp.sources.amiga and should show up within the week. Be charitable, this was my third 68000 and/or Amiga program ever! SYNTAX: -r ;Do not add return (ahhh, linefeeed) to the end -c ;Reserved #10 ;Decimal %10101 ;binary $ABCD ;hex "hi!" ;string ------------ cut here for test script file ---------- ; Test file for the BETTERCLI "ECHO" command ; execute echo.bat with BETTERCLI "ECHO" in c: echo $9b "0 p" $9b "0;31;42m" $c #10 %1010 ;$c = clear screen ;$9b "0 p" turns off the cursor echo $1b "[31m This is a test of the " -r $9b "4;33mBETTERCLI" $9b "0;33;42m " 34 "ECHO" #34 $9b "0;31;42m Command!" echo 10 9 %1001 $9b "4;30;42m " #10 9 9 $9b "0;31;40m Have Fun!! " 10 10 $9b "0;33;42m" $9b " p" ;$9b " p" turns the cursor back on ------- cut here for executable ------ begin 777 echo M```#\P`````````!``````````````!+```#Z0```$LB2"1(?`!3@&<``,(29 M&6%$9_0,`0`B9RP,`0`M9UAT`@P!`"5G8@P!`"1G6G0*#`$`(V=44XE2@&!.\ M$AD,`0`B9\00P5.`9O)V"47Z`-1^"F```(P,`0`@9PH,`0`L9P0,`0`)3G4,N M`0!C9PH,`0!R9M8`!@`!4X!G4A(98=9FYF"$$,-@@'00=@!3@&<\<@`2&0P!" M`"!GZ@P!`"QGY`P!``EGW@0!`#!EG@P!``IE$`P!`#%ED@0!`"<,`0`09(BRP M@F2$QL+6@6#`$,,"!@`!9@00_``*D``$<`!#^@`N3J[]V"Q`] M2H!G'DZN_\0B`&<,)`I.KO_0MH!F`GX`(DXL>``$3J[^8B`'3G5D;W,N;&EB! 50!B860@87)G