Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!sri-unix!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!labrea!rocky!rokicki From: rokicki@rocky.STANFORD.EDU (Tomas Rokicki) Newsgroups: comp.sys.amiga Subject: Re: recursing out of control! Message-ID: <654@rocky.STANFORD.EDU> Date: Sat, 10-Oct-87 15:38:13 EDT Article-I.D.: rocky.654 Posted: Sat Oct 10 15:38:13 1987 Date-Received: Mon, 12-Oct-87 19:06:39 EDT References: <2707@xanth.UUCP> Reply-To: rokicki@rocky.UUCP (Tomas Rokicki) Organization: Stanford University Computer Science Department Lines: 63 Keywords: oops! gotcha! > 1> Copy : G all > ^^^ oops! >Copy copies A to G/A. >Copy creates new directory G/G. >Copy copies G/A to G/G/A. >Copy creates new directory G/G/G. >Copy copies G/G/A to G/G/G/A. >Copy creates new directory G/G/G/G. >Copy copies G/G/G/A to G/G/G/G/A. Gee, I wish I had thought of this when I *wanted* to do this. (I was experimenting with how long it takes to seek down different directory levels; how much overhead is there in sticking another level of directories?) So, I used EMACS to create a script for me. Of course, having REXX at the time would have made it a one-liner . . . > (Keep the flames, that's how you spell Godel when your typefont > doesn't include an umlauted "o". ;-) Nope, you spell it G\"odel in non-published stuff. Thanks for the article! In response, I give you one from me: The easiest way to lock up a CLI is to type: * It tries to load standard input as an executable! (You can usually get out of it after a while, though . . .) Or this one: Manx's memcpy() routine is broken if you compile with long ints; it's only good for memory areas < 64K; the code looks like: bra .in .loop move.b (a0)+,(a1)+ .in dbra d0,.loop when it should look like this: bra .in .loop2 swap d0 .loop move.b (a0)+,(a1)+ .in dbra d0,.loop swap d0 dbra d0,.loop2 I can't remember if it checks the direction of the copy first. Jim, you out there? And there's more. Why doesn't `WaitForChar()' return before the delay if the user hits ^\ (the EOF sequence?) And, despite what Peck's book says, the second parameter is in microseconds, so don't give it a value less than 20000! And then there's the raging SetSignal() controversy . . . -tom