• Random Signitures

    From Alan Ianson@1:229/2 to All on Sunday, July 14, 2019 11:18:16
    From: alan.ianson@1:153/757.remove-wsr-this

    To: Mortifis
    Hello Mortifis,

    Is there a mechanism for having a random tagline or signiture added to
    a message post?

    SBBS has an optional signature in the default user config. It's not random though but I think all SBBSs editors will use it.

    Some editors like Syledit support taglines optionaly.

    Ttyl :-),
    Al

    ... Put on your seatbelt - I'm gonna try something new!
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Sunday, July 14, 2019 14:58:21
    From: mortifis@ALLEYCAT.remove-qwd-this

    Is there a mechanism for having a random tagline or signiture added to a message post?

    My teachers always said "You can't make a living looking out a window!", they were wrong, I drive truck :-P

    ---
    � Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Sunday, July 14, 2019 17:40:49
    From: digital.man@vert.synchro.net.remove-f78-this

    To: Mortifis
    Re: Random Signitures
    By: Mortifis to All on Sun Jul 14 2019 02:58 pm

    Is there a mechanism for having a random tagline or signiture added to a message post?

    I have a timed event which modifies my .sig file with random quotes and current
    weather data. You could do something similar or if you use an editor which has a random tagline feature, use that.

    digital man

    This Is Spinal Tap quote #32:
    Derek Smalls: [A jog?] We don't have time for that.
    Norco, CA WX: 87.9�F, 38.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Sunday, July 14, 2019 22:16:35
    From: mortifis@ALLEYCAT.remove-10du-this

    To: Digital Man
    Re: Random Signitures
    By: Mortifis to All on Sun Jul 14 2019 02:58 pm

    Is there a mechanism for having a random tagline or signiture added to a message post?

    I have a timed event which modifies my .sig file with random quotes and current weather data. You could do something similar or if you use an editor which has a random tagline feature, use that.

    digital man

    hrmph, where are the .sig files stored? I am not going to ask for free code to do it with :-P


    My teachers always said "You can't make a living looking out a window!", they were wrong, I drive truck :-P

    ---
    � Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Mortifis@1:229/2 to All on Sunday, July 14, 2019 22:19:58
    From: mortifis@ALLEYCAT.remove-10du-this

    To: Alan Ianson
    Hello Mortifis,

    Is there a mechanism for having a random tagline or signiture added to a message post?

    SBBS has an optional signature in the default user config. It's not random though but I think all SBBSs editors will use it.

    Some editors like Syledit support taglines optionaly.

    Thank you, Al, I manually go into default settings and update my signature, I was just wondering how to go about randomizing the process :-)


    My teachers always said "You can't make a living looking out a window!", they were wrong, I drive truck :-P

    ---
    � Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Alan Ianson@1:229/2 to All on Sunday, July 14, 2019 18:36:46
    From: alan.ianson@1:153/757.remove-g82-this

    To: Mortifis
    Hello Mortifis,

    Thank you, Al, I manually go into default settings and update my signature, I was just wondering how to go about randomizing the
    process :-)

    My sig file is in data/users/0001.sig, yours is probably the same or there abouts. Exactly how to randomize it I'm not sure. :)

    Ttyl :-),
    Al

    ... Atheism is a non-prophet organization.
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From MRO@1:229/2 to All on Sunday, July 14, 2019 20:51:33
    From: mro@BBSESINF.remove-993-this

    To: Mortifis
    Re: Re: Random Signitures
    By: Mortifis to Alan Ianson on Sun Jul 14 2019 10:19 pm


    Some editors like Syledit support taglines optionaly.

    Thank you, Al, I manually go into default settings and update my signature, I was just wondering how to go about randomizing the process :-)


    here is a perl code i use to randomize a file of quotes

    #!/usr/bin/perl -w

    # @(#) randomize Effectively _unsort_ a text file into random order.
    # 96.02.26 / drl.
    # Based on Programming Perl, p 245, "Selecting random element ..."

    # Set the random seed, PP, p 188
    srand(time|$$);

    # Suck in everything in the file.
    @a = <>;

    # Get random lines, write 'em out, mark 'em done.
    while ( @a ) {
    $choice = splice(@a, rand @a, 1);
    print $choice;
    }
    ---
    � Synchronet � ::: BBSES.info - free BBS services :::
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Sunday, July 14, 2019 20:59:51
    From: digital.man@vert.synchro.net.remove-vbp-this

    To: Mortifis
    Re: Re: Random Signitures
    By: Mortifis to Digital Man on Sun Jul 14 2019 10:16 pm

    Re: Random Signitures
    By: Mortifis to All on Sun Jul 14 2019 02:58 pm

    Is there a mechanism for having a random tagline or signiture added to a message post?

    I have a timed event which modifies my .sig file with random quotes and current weather data. You could do something similar or if you use an editor which has a random tagline feature, use that.

    hrmph, where are the .sig files stored? I am not going to ask for free code to do it with :-P

    data/user/####.sig

    digital man

    Synchronet/BBS Terminology Definition #22:
    DSL = Digital Subscriber Line
    Norco, CA WX: 75.3�F, 60.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Sunday, July 14, 2019 21:07:41
    From: digital.man@vert.synchro.net.remove-2yo-this

    To: Mortifis
    Re: Re: Random Signitures
    By: Mortifis to Alan Ianson on Sun Jul 14 2019 10:19 pm

    Hello Mortifis,

    Is there a mechanism for having a random tagline or signiture added to a message post?

    SBBS has an optional signature in the default user config. It's not random though but I think all SBBSs editors will use it.

    Some editors like Syledit support taglines optionaly.

    Thank you, Al, I manually go into default settings and update my signature, I was just wondering how to go about randomizing the process :-)

    Here's the script I run to randomize my tagline (pulls a random line from 3 differnet randomly chosen files):

    // Re-create signature file with random Snapple "Real Fact"

    const syncfacts = 0, acronyms = 1, tapquotes = 2;
    var type = random(3);
    var fname;

    //print("type = " + type);
    switch(type) {
    case syncfacts:
    fname = system.data_dir + "syncfact.lst";
    break;
    case acronyms:
    fname = system.data_dir + "acronyms.local.conf";
    break;
    case tapquotes:
    fname = system.data_dir + "tapquotes.lst";
    break;
    }

    f = new File(fname);
    if(!f.open("r")) {
    alert("Error opening " + fname);
    exit();
    }

    var list = f.readAll();
    f.close();

    //print("randomizing: " + list.length);
    i = random(list.length);
    //print("done: " + i);

    var line = list[i].split(/\s+/);

    f = new File(system.data_dir + "user/0001.sig");
    if(!f.open("r+"))
    exit();
    var text = f.readAll();
    f.length = 0;
    f.position = 0;
    switch(type) {
    case acronyms:
    text[3] = "Synchronet/BBS Terminology Definition #" + (i+1) + ":";
    text[4] = line.shift() + " = " + line.join(' ');
    break;
    case syncfacts:
    text[3] = "Synchronet \"Real Fact\" #" + (i+1) + ":";
    text[4] = list[i];
    break;
    case tapquotes:
    text[3] = "This Is Spinal Tap quote #" + (i+1) + ":";
    text[4] = list[i];
    break;
    }
    f.writeAll(text);
    f.close();


    digital man

    Synchronet/BBS Terminology Definition #53:
    PETSCII = PET Standard Code of Information Interchange (a.k.a. CBM ASCII) Norco, CA WX: 75.3�F, 60.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Nightfox@1:229/2 to All on Monday, July 15, 2019 09:40:17
    From: nightfox@DIGDIST.remove-4vq-this

    To: Mortifis
    Re: Random Signitures
    By: Mortifis to All on Sun Jul 14 2019 02:58 pm

    Is there a mechanism for having a random tagline or signiture added to a message post?

    SlyEdit (message editor) has an option for adding a tagline to a message, and it has an option to add a random tagline (in addition to letting you choose a tagline yourself).

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Ragnarok@1:229/2 to All on Monday, July 15, 2019 15:31:08
    From: ragnarok@DOCKSUD.remove-isw-this

    To: Alan Ianson
    El 14/7/19 a las 22:36, Alan Ianson escribi�:
    Hello Mortifis,

    Thank you, Al, I manually go into default settings and update my signature, I was just wondering how to go about randomizing the
    process :-)

    My sig file is in data/users/0001.sig, yours is probably the same or there abouts. Exactly how to randomize it I'm not sure. :)


    you can exec from JS with

    sort -R MySignatures.txt | head -n1 > data/user/YOUR_USER_ID.sig



    Ttyl :-),
    Al

    .... Atheism is a non-prophet organization.
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)


    ---
    � Synchronet � Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From MRO@1:229/2 to All on Monday, July 15, 2019 15:57:46
    From: mro@BBSESINF.remove-381-this

    To: Ragnarok
    Re: Re: Random Signitures
    By: Ragnarok to Alan Ianson on Mon Jul 15 2019 03:31 pm

    My sig file is in data/users/0001.sig, yours is probably the same or there abouts. Exactly how to randomize it I'm not sure. :)


    you can exec from JS with

    sort -R MySignatures.txt | head -n1 > data/user/YOUR_USER_ID.sig

    sort -R in windows is reverse, in linux it's random
    ---
    � Synchronet � ::: BBSES.info - free BBS services :::
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Rampage@1:229/2 to All on Monday, July 15, 2019 17:51:02
    From: rampage@SESTAR.remove-pdj-this

    To: MRO
    Re: Re: Random Signitures
    By: MRO to Ragnarok on Mon Jul 15 2019 15:57:46

    you can exec from JS with

    sort -R MySignatures.txt | head -n1 > data/user/YOUR_USER_ID.sig

    sort -R in windows is reverse, in linux it's random

    is there a difference between -R and -r on winwhatever?
    is that the default sort? when did they start shipping one with it?

    )\/(ark

    ---
    � Synchronet � The SouthEast Star Mail HUB - SESTAR
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From MRO@1:229/2 to All on Monday, July 15, 2019 22:06:01
    From: mro@BBSESINF.remove-zvz-this

    To: Rampage
    Re: Re: Random Signitures
    By: Rampage to MRO on Mon Jul 15 2019 05:51 pm

    sort -R MySignatures.txt | head -n1 > data/user/YOUR_USER_ID.sig

    sort -R in windows is reverse, in linux it's random

    is there a difference between -R and -r on winwhatever?

    they only have reverse.
    is that the default sort? when did they start shipping one with it?

    yep. it's in system32. they've had sort.exe for a long time.
    internets say since dos v2
    ---
    � Synchronet � ::: BBSES.info - free BBS services :::
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From poindexter FORTRAN@1:229/2 to Digital Man on Monday, July 15, 2019 06:23:00
    From: poindexter.fortran@REALITY.remove-113n-this

    To: Digital Man
    Digital Man wrote to Mortifis <=-

    I have a timed event which modifies my .sig file with random quotes and current weather data. You could do something similar or if you use an editor which has a random tagline feature, use that.

    One interesting feature might be to have separate .sigs for each
    network?


    ... Have you ever asked a question you weren't supposed to ask?
    --- MultiMail/XT v0.52
    � Synchronet � realitycheckBBS -- http://realitycheckBBS.org
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Monday, July 15, 2019 21:42:25
    From: digital.man@vert.synchro.net.remove-cnf-this

    To: poindexter FORTRAN
    Re: Re: Random Signitures
    By: poindexter FORTRAN to Digital Man on Mon Jul 15 2019 06:23 am

    Digital Man wrote to Mortifis <=-

    I have a timed event which modifies my .sig file with random quotes and current weather data. You could do something similar or if you use an editor which has a random tagline feature, use that.

    One interesting feature might be to have separate .sigs for each
    network?

    I'll add it to the to-do list.

    digital man

    Synchronet/BBS Terminology Definition #10:
    C64 = Commodore 64 (personal computer)
    Norco, CA WX: 76.7�F, 57.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Tony Langdon@1:229/2 to MRO on Tuesday, July 16, 2019 18:25:00
    From: tony.langdon@3:633/410.remove-3e4-this

    To: MRO
    On 07-15-19 22:06, MRO wrote to Rampage <=-

    yep. it's in system32. they've had sort.exe for a long time.
    internets say since dos v2

    Yep, I remember SORT.EXE back in the DOS days. Could probably drag up a DOS copy on an old backup. And DOS 2.x sounds about right.


    ... Buy only cured hams, the sick ones are not good for you.
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Nightfox@1:229/2 to All on Tuesday, July 16, 2019 09:47:43
    From: nightfox@DIGDIST.remove-mdq-this

    To: poindexter FORTRAN
    Re: Re: Random Signitures
    By: poindexter FORTRAN to Digital Man on Mon Jul 15 2019 06:23 am

    One interesting feature might be to have separate .sigs for each
    network?

    I had thought about possibly doing something like that with SlyEdit. SlyEdit does have a feature where it can auto-sign your name to messages, and if enabled, it can sign with your handle (where allowed) or your real name (if the sub-board doesn't allow handles).

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From poindexter FORTRAN@1:229/2 to Nightfox on Wednesday, July 17, 2019 06:24:00
    From: poindexter.fortran@REALITY.remove-a4n-this

    To: Nightfox
    Nightfox wrote to poindexter FORTRAN <=-

    I had thought about possibly doing something like that with SlyEdit. SlyEdit does have a feature where it can auto-sign your name to
    messages, and if enabled, it can sign with your handle (where allowed)
    or your real name (if the sub-board doesn't allow handles).

    That sounds good. I'd mentioned separate per-network .sigs, but I
    don't rely on the FTN address in my .sig, so real names/handles would
    work just as well and not need any network intelligence.



    ... Can you hear me?
    --- MultiMail/XT v0.52
    � Synchronet � realitycheckBBS -- http://realitycheckBBS.org
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Ragnarok@1:229/2 to All on Thursday, July 18, 2019 15:38:51
    From: ragnarok@DOCKSUD.remove-wtb-this

    To: MRO
    El 15/7/19 a las 17:57, MRO escribi�:
    Re: Re: Random Signitures
    By: Ragnarok to Alan Ianson on Mon Jul 15 2019 03:31 pm

    My sig file is in data/users/0001.sig, yours is probably the same or
    there
    abouts. Exactly how to randomize it I'm not sure. :)


    you can exec from JS with

    sort -R MySignatures.txt | head -n1 > data/user/YOUR_USER_ID.sig

    sort -R in windows is reverse, in linux it's random
    ---

    Sorry i asume that you are using a operating system like gnu/linux

    ---
    � Synchronet � Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)