Path: utzoo!utstat!helios.physics.utoronto.ca!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!wuarchive!swbatl!texbell!splut!jay From: jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) Newsgroups: news.software.b Subject: Re: Why are C news message-IDs so non-minimalist? Message-ID: Date: 4 Dec 89 14:41:44 GMT References: <1989Nov30.162609.9435@phri.nyu.edu> <5:CS3_@splut.conmicro.com> <1989Dec3.073310.18501@utzoo.uucp> Reply-To: jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) Organization: Confederate Microsystems, League City, TX Lines: 23 In article <1989Dec3.073310.18501@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: >In article <5:CS3_@splut.conmicro.com> jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) writes: >>Not all C news message IDs are 47K long...look at mine. It was generated >>by a program written by Jon Zeeff (zeeff@b-tech.ann-arbor.mi.us), and >>the program is easy to splice into the C news system. >Jay, you might want to check whether Jon's program is using both uppercase >and lowercase in its message-ids. It shouldn't, since the "local part" of >the message-id (before the "@") is case-insensitive. I just looked; here's the declaration for the set of characters it will use: char string[] = "=:+#-&._ABCDFGHJKLMNPQRSTVWXYZ1234567890"; It takes the current minute, adds the current process ID, and then prints it in the base of the length of the string above, using the characters of the string as the numbers. (Did that make sense?) It's about 35 lines long, and fast. -- Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can jay@splut.conmicro.com (eieio)| adequately be explained by stupidity. {attctc,bellcore}!texbell!splut!jay +---------------------------------------- "...when hasn't gibberish been legal C?" -- Tom Horsley, tom@ssd.harris.com