Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Jul 2002 01:11:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Jul 2002 01:11:21 -0400 Received: from dsl-213-023-043-040.arcor-ip.net ([213.23.43.40]:13276 "EHLO starship") by vger.kernel.org with ESMTP id ; Fri, 26 Jul 2002 01:11:20 -0400 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: "jdow" , "Bill Davidsen" Subject: Re: [PATCH -ac] Panicking in morse code Date: Fri, 26 Jul 2002 07:13:03 +0200 X-Mailer: KMail [version 1.3.2] Cc: "Andrew Rodland" , References: <032001c23460$2f59e340$1125a8c0@wednesday> In-Reply-To: <032001c23460$2f59e340$1125a8c0@wednesday> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1233 Lines: 26 On Friday 26 July 2002 06:52, jdow wrote: > From: "Daniel Phillips" > > On Thursday 25 July 2002 14:51, Bill Davidsen wrote: > > > ??? If the length is 1..5 I suspect you could use the top two bits and fit > > > the whole thing in a byte. But since bytes work well, use the top three > > > bits for length without the one bit offset. Still a big win over strings, > > > although a LOT harder to get right by eye. > > > > Please read back through the thread and see how 255 different 7 bit codes > > complete with lengths can be packed into 8 bits. > > It appears someone is under the misapprehension that Morse characters are > all 5 elements or less. "SK" is an example of a six element meta-character, > one of a set that needs caring for, "...-.-". Need I point out that we are now perfectly positioned to invent the additional morse codes needed to represent all the remaining ascii characters? We could call the revised code... err... "remorse" ;-) -- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/