Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!ut-sally!utah-cs!utah-gr!uplherc!nrc-ut!nrcvax!chris From: chris@nrcvax.UUCP Newsgroups: comp.unix.wizards Subject: Re: bm in Less ? Message-ID: <835@nrcvax.UUCP> Date: Tue, 31-Mar-87 02:09:31 EST Article-I.D.: nrcvax.835 Posted: Tue Mar 31 02:09:31 1987 Date-Received: Fri, 3-Apr-87 06:23:56 EST References: <1348@umn-cs.UUCP> <806@nrcvax.UUCP> <709@mcgill-vision.UUCP> Reply-To: chris@minnie.UUCP (Chris Grevstad) Distribution: na Organization: Frobozo Items Co. Inc. Ltd. Lines: 42 mouse@mcgill-vision.UUCP (der Mouse) says: >In article <806@nrcvax.UUCP>, chris@nrcvax.UUCP (Chris Grevstad) writes: >> amit@umn-cs.UUCP (Neta Amit) says: >>> Less's Search mode is excruciatingly slow, compared to bm and >>> derivatives. Has anyone incorporated the faster search into their >>> less/prim.c file? > >> By 'bm' I assume you mean the Boyer-Moore grep utility. When was the >> last time instead of typing 'bm pattern *.c' you typed 'rm pattern >> *.c'? > >What does that have to do with putting bm's algorithm into less to do >the searching? I wasn't suggesting that either had anything to do with the other. > >As for your actual question, "never" (:-). I feel it's a non-issue. >The b and r keys are simply too far apart to cause trouble. On a >QWERTY keyboard at least, and since you didn't say, I assume that's >what you have -- it's certainly what most people have. > As I said in another posting, I don't think the issue is that of mis-typing but really mis-thinking. I think it could happen on either a qwerty or Dvorak keyboard. The problem as I see it is that mostly I don't think about the keys that I am typing, but when I think some pattern, my fingers type that pattern. Most of the time. Except in the case of when I want to type something that is real similar to what I type often. Like rm instead of bm. I guess after some thought, it might be said that it really is an issue of mis-typing and not mis-thinking (certainly not in the sense that people seem to have taken it), because I have correctly thought the action. I have noticed that this happens most often when I get real tired, as if I have put my fingers on autopilot. -- Chris Grevstad {sdcsvax,hplabs}!sdcrdcf!psivax!nrcvax!chris ucbvax!calma!nrcvax!chris ihnp4!nrcvax!chris Too many notes. There are just simply too many notes.