@ to end the messages posted

From: Alastair Neil (ajn@essex.ac.uk)
Date: 03/22/95


>
>Where do you find the declaration of the symbol which ends the
>posting, i.e. when writing to the board.
>
>Furthermore, where is the code which allows a @ symbol on a newline to
>end the message.
>
>thanks
>Mike


Hmm here is what I did  in the circle 2.2 code I'm sure you can modify it
to do what you want:

in string_add in modify.c

for (scan = str; *scan; scan++)
        if ((terminator = (*scan == '@' && *(scan -1) == '@'))) {
                *(scan -1) = '\0';
                break;
        }

this terminates string input only if it recieves two @ signs in a row.


--
Ich habe Dinge gesehen, die ihr Menschen niemals glauben wuerdet. Gigantische
Schiffe, die brannten draussen vor der Schulter des Orion. Und ich habe
C-Beams  gesehen - glitzernd im Dunkeln nahe dem Tannhaeuser Tor. All diese
Momente werden verloren sein in der Zeit...so wie Traenen im Regen.
                                Zeit zu sterben... 



This archive was generated by hypermail 2b30 : 12/07/00 PST