🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Curtis [Jewell] Whalen Mon, 23 Feb 1998 00:00
Re: Appending signatures - the algorithm (Re: What's in a signature?)
#39052
Author: Curtis [Jewell] Whalen
Date: Mon, 23 Feb 1998 00:00
18 lines
1286 bytes
John Moreno <phenix@interpath.com> scrawled in news.software.readers:
>Does slrn append the sig on messages before you edit or after?

Before. It adds the sigdashes and the sig before you edit.

I like it because I can include my name on the sigdash line.

(BTW, programmers, just look for '\n-- ' not '\n-- \n' - best to look for
the least you need)

-- Curtis
email: curtis underline whalen plus email at geocities dot com
Change usenet to email if you want your email replies read because of SPAM.
Support the us.* hierarchy! contact usadmin@wwa.com for info.
Sysoping: Not just an adventure, it's a job..

Re: Appending signatures - the algorithm (Re: What's in a signature?)
#39008
Author: John Moreno
Date: Sun, 22 Feb 1998 00:00
30 lines
2044 bytes
Curtis [Jewell] Whalen <curtis_whalen+usenet@geocities.com> wrote:

> John Moreno <phenix@interpath.com> scrawled in news.software.readers:
> >Does slrn append the sig on messages before you edit or after?
> 
> Before. It adds the sigdashes and the sig before you edit.
> 
> I like it because I can include my name on the sigdash line.
> 
> (BTW, programmers, just look for '\n-- ' not '\n-- \n' - best to look for
> the least you need)

That's not a good suggestion.  I've seen quite a few lines that start
with two dashes and then have other - valid - stuff on it.  In fact I
know sombody that does that for almost every paragraph.

> -- Curtis
> email: curtis underline whalen plus email at geocities dot com
> Change usenet to email if you want your email replies read because of SPAM.
> Support the us.* hierarchy! contact usadmin@wwa.com for info.
> Sysoping: Not just an adventure, it's a job..

I wonder how many programs won't treat that like a sig?   Most of them
I'd think.

-- 
John Moreno

Re: Appending signatures - the algorithm (Re: What's in a signature?)
#39040
Author: Curt Welch
Date: Mon, 23 Feb 1998 00:00
61 lines
3478 bytes
curtis_whalen+usenet@geocities.com (Curtis [Jewell] Whalen) wrote:
> (BTW, programmers, just look for '\n-- ' not '\n-- \n' - best to look for
> the least you need)

No, that's very wrong.  The pattern of a line containing only dash
dash space was selected because it's very unlikley to happen some were
else in an article.  A line which simply begins with dash dash space
will happen much too frequently in other articles.  A quick grep of my news
spool produced thousands of cases before I stopped the search.

Here are three examples from soc.culture.british (the third news group
searched):

in <34f06920.539195@news.xara.com>:
> "The only language [the Japanese] seem to understand is the one we
> have been using to bombard them.  When you have to deal with a beast
> you have to treat him as a beast."
> -- President Harry Truman, 11 August 1945, justifying the attacks on
> Hiroshima and Nagasaki
>
> "President Clinton said today that the United States owed Japan no
> apology for dropping atomic bombs on Hiroshima and Nagasaki at the end
> of World War Two, and that President Harry S. Truman had made the
> right decision to use the bombs."
> -- Slick Willie confirms that he'd do it just the same, cited in
> Reuters, 7 April 1995

and in <19980221215900.QAA22674@ladder02.news.aol.com>:
> that the Iraqi government doesn't want the embargo lifted?  The U.N.
> resolution doesn't authorize prying into every aspect of Iraq's military
> -- only into its weapons of mass destruction.

and in <34F17145.73D6@citynet.net>:
> -- New York? Don't you mean Las Vegas here or has there been a follow up
> arrest?


> -- Curtis
> email: curtis underline whalen plus email at geocities dot com

A lot of people make the same mistake as you do (adding their name
or other info after the dash dash space), but I suspect most newsreaders
that look for sigs will not correctly "see" yours.  My newsreader doesn't.

Another mistake people make is to add more than one space after the --.
Quite a few of those showed up in my search.  In my code, I actuall allow 1
or more spaces after the double dash so those cases don't cause problems
for me.

It wouldn't be completely unreasonable to search for "^-- " in the last
few lines of the article if the correct type of sig marker wasn't found.
But that leads people into the false impression that this format
is valid everywhere when it isn't, so allowing that in a newsreader
might only make matters worse instead of better.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Appending signatures - the algorithm (Re: What's in a signature?)
#39053
Author: Lars Magne Ingebrigtsen
Date: Mon, 23 Feb 1998 00:00
15 lines
1295 bytes
curtis_whalen+usenet@geocities.com (Curtis [Jewell] Whalen) writes:

> (BTW, programmers, just look for '\n-- ' not '\n-- \n' - best to look for
> the least you need)

"What you need" is "-- " (dash dash space) as the only characters on a
line.  That is the definition of the signature separator.  Nothing
more, nothing less.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Magne Ingebrigtsen

Re: Appending signatures - the algorithm (Re: What's in a signature?)
#39079
Author: Jeroen Scheerder
Date: Wed, 25 Feb 1998 00:00
59 lines
3223 bytes
Curtis [Jewell] Whalen (curtis_whalen+usenet@geocities.com):

> (BTW, programmers, just look for '\n-- ' not '\n-- \n' - best to look for
> the least you need)

.Sigh.  I guess it's time to quote a few relevant lines from RFC
1036-bis ("News Article Format and Transmission", Henry Spencer;
status: Draft, Expired -- but nonetheless, it's all we have until
UseFor arrives):

<<
          If  a  poster or posting agent does append a signature to an
          article, the signature SHOULD be preceded with  a  delimiter
          line  containing  (only)  two hyphens (ASCII 45) followed by
          one blank (ASCII  32).   Posting  agents  SHOULD  limit  the
          length  of  signatures,  since  verbose  excess bordering on
          abuse is common if no restraint is imposed;  4  lines  is  a
          common limit.

               NOTE:  While  signatures  are  arguably a blemish,
               they are a well-understood convention, and convey-
               ing  the same information in headers exposes it to
               mangling and makes it rather less conspicuous.   A
               standard  delimiter  line  makes  it  possible for
               reading agents to handle signatures  specially  if
               desired.    (This  is  unfortunately  hampered  by
               extensive misunderstanding of, and misuse of,  the
               delimiter.)

               NOTE: The choice of delimiter is somewhat unfortu-
               nate, since it relies on preservation of  trailing
               white  space,  but  it  is too well-established to
               change.  There is work underway to define  a  more
               sophisticated  signature  scheme  as part of MIME,
               and this will  presumably  supersede  the  current
               convention in due time.

               NOTE:  Four  75-column  lines of signature text is
               300 characters, which is ample to convey name  and
               mail-address  information  in  all  but  the  most
               bizarre situations.
>>

> -- Curtis
> email: curtis underline whalen plus email at geocities dot com
> Change usenet to email if you want your email replies read because of SPAM.
> Support the us.* hierarchy! contact usadmin@wwa.com for info.
> Sysoping: Not just an adventure, it's a job..

Ah.  So many misconceptions, and all that in what's not even a .sig...


-- J$
-- 
dash-dash-space 
this is my .sig                                          it's not so .big

Re: sigdashes: "^-- $" aka "\n-- \n"
#39122
Author: Sven Guckes
Date: Wed, 25 Feb 1998 00:00
56 lines
3021 bytes
John Moreno <phenix@interpath.com> scrawled in news.software.readers:
>Does slrn append the sig on messages before you edit or after?

curtis_whalen+usenet@geocities.com (Curtis [Jewell] Whalen):
> Before. It adds the sigdashes and the sig before you edit.
> I like it because I can include my name on the sigdash line.
> (BTW, programmers, just look for '\n-- '
> not '\n-- \n' - best to look for the least you need)

AAARRRGGGHHH!

Some people will never get this, it seems.

Now, if we treated all lines that match "^-- "
then we would have ro accept all the following ones as such:

-- Curtis is soooo kewl.  NOT!
-- This is not aa sigdashes line, no it ISNT.
-- cut here -- cut here -- cut here -- cut here -- cut here --
-- xXOXx xXOXx xXOXx border lines are kewl xXOXx xXOXx xXOXx --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 

I am sure that this is *not* wanted.
Therefore use a proper sigdashes line.
And remember:  It matches by "^-- $"!

> -- Curtis
> email: curtis underline whalen plus email at geocities dot com
> Change usenet to email if you want your email replies read because of SPAM.
> Support the us.* hierarchy! contact usadmin@wwa.com for info.
> Sysoping: Not just an adventure, it's a job..

Btw:  You have greatly misunderstood the purpose of a signature.

Your *proper* sig could look like this:

  -- 
  Curtis "Jewell" Whalen             curtis_whalen@geocities.com
  Support the us.* hierarchy!       |   http://www.geocities.com/save_curtis/
  Contact usadmin@wwa.com for info. |I got this sig on news.software.readers.
  Sysoping: Not just an adventure, it's a job..  | I didn't read the AFW FAQ. 

There - name and address first.
Homepage address and a quote, too.
All within 4x80 - "McQ"!  :-)

Sven

-- 
Sven Guckes guckes@math.fu-berlin.de   Some clues about signatures:
(1) Sigs are preceded by the "sigdashes" line, ie "\n-- \n".
(2) Sigs contain at least the name and address of the sender.
(3) Sigs are at most four lines and at most eighty characters per line.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads