Re: [PATCH -ac] Panicking in morse code
Daniel Phillips (phillips@arcor.de)
Fri, 26 Jul 2002 07:13:03 +0200
On Friday 26 July 2002 06:52, jdow wrote:
> From: "Daniel Phillips" <phillips@arcor.de>
> > 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/