• header file displayed when reading messages

    From mark lewis@1:3634/12.73 to all on Wed Oct 10 12:12:40 2018

    where can i find the header file displayed when reading messages? i want to move some of the lines around to make them more consistant with other readers i
    use...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Puns are bad, but poetry is verse.
    ---
    * Origin: (1:3634/12.73)
  • From echicken@1:103/705 to mark lewis on Wed Oct 10 12:53:49 2018
    Re: header file displayed when reading messages
    By: mark lewis to all on Wed Oct 10 2018 12:12:40

    where can i find the header file displayed when reading messages? i want to move some of the lines around to make them more consistant with other readers i
    use...

    http://wiki.synchro.net/custom:messageheader

    By default there is no header file, but you can create text/menu/msghdr.asc if you wish to create a custom one.

    (The alternative, if you didn't want to change the order of the lines, would be to edit the default header strings in ctrl/text.dat.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to mark lewis on Wed Oct 10 10:26:46 2018
    Re: header file displayed when reading messages
    By: mark lewis to all on Wed Oct 10 2018 12:12 pm

    where can i find the header file displayed when reading messages? i want to move some of the lines around to make them more consistant with other readers i
    use...

    By default the lines come from your ctrl/text.dat file (and you can't re-arrange them). However, you can use a custom header file and display the header fields in any order you wish: http://wiki.synchro.net/custom:messageheader

    digital man

    Synchronet/BBS Terminology Definition #28:
    IHA = Ille Homine Albe (Steve Deppe)
    Norco, CA WX: 66.4oF, 68.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to echicken on Wed Oct 10 16:57:26 2018

    On 2018 Oct 10 12:53:48, you wrote to me:

    where can i find the header file displayed when reading messages? i
    want to move some of the lines around to make them more consistant
    with other readers i use...

    http://wiki.synchro.net/custom:messageheader

    By default there is no header file, but you can create text/menu/msghdr.asc if you wish to create a custom one.

    ahhh! that's how max did it... great! thanks!

    (The alternative, if you didn't want to change the order of the lines, would be to edit the default header strings in ctrl/text.dat.)

    yyyeeeeaaaahhhh... we're doing everything we can to not ever edit text.dat... that's dangerous territory and with our automated update script that also pulls
    a new text.dat if it has been updated, i think we'll continue to stick with the
    default/updated text.dat as issued by Digital Man and company ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... A newspaper is a device for making the crazy crazier.
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to Digital Man on Wed Oct 10 17:00:46 2018

    On 2018 Oct 10 10:26:46, you wrote to me:

    where can i find the header file displayed when reading messages? i
    want to move some of the lines around to make them more consistant with
    other readers i use...

    By default the lines come from your ctrl/text.dat file (and you can't re-arrange them). However, you can use a custom header file and
    display the header fields in any order you wish: http://wiki.synchro.net/custom:messageheader

    thank you, sir... will using this header also break the avatars?

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Sysop love habits revealed: on the next "Geraldo!"
    ---
    * Origin: (1:3634/12.73)
  • From echicken@1:103/705 to mark lewis on Wed Oct 10 19:05:25 2018
    Re: header file displayed when reading messages
    By: mark lewis to echicken on Wed Oct 10 2018 16:57:26

    yyyeeeeaaaahhhh... we're doing everything we can to not ever edit text.dat... that's dangerous territory and with our automated update script that also pulls
    a new text.dat if it has been updated, i think we'll continue to stick with the default/updated text.dat as issued by Digital Man and company ;)

    IIRC a default string is generally (always?) used if the record is missing from your text.dat file. I hope DigitalMan will correct me if I'm wrong.

    The only time I've ever updated my text.dat from CVS is when a text editor hosed it somehow a while back. (I never update anything in ctrl/ from CVS if I can help it.)

    I wouldn't shy away from editing this file - it's a big piece of how to customize your BBS. There are also some very handy things you can do with it, like executing a script instead of just displaying the text.

    I'm not sure how well CVS does at merging your local file with the new one, but I'd be wary of it. Might be worth having a script that merges an existing text.dat with the latest one - if that's even necessary and if it doesn't already exist.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to echicken on Wed Oct 10 17:35:37 2018
    Re: header file displayed when reading messages
    By: echicken to mark lewis on Wed Oct 10 2018 07:05 pm

    The only time I've ever updated my text.dat from CVS is when a text editor hosed it somehow a while back. (I never update anything in ctrl/ from CVS if I can help it.)

    I wouldn't shy away from editing this file - it's a big piece of how to customize your BBS. There are also some very handy things you can do with it, like executing a script instead of just displaying the text.

    Yeah, I've actually edited my text.dat, but only to have it execute a script for a few things instead of displaying the text. I feel like that's just part of modding your BBS if you're using Synchronet. I just have to be careful when I update my copy of text.dat. I use the CVS, but I have the CVS checkout in a separate directory than my Synchronet installation, and I use a merge tool to compare the differences between the new text.dat and my text.dat. My favorite merge tool right now is WinMerge. Usually, the only changes in text.dat are new lines added to the bottom, but there have been a few times when the text of existing lines changed slightly.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to mark lewis on Wed Oct 10 20:12:00 2018
    Re: header file displayed when reading messages
    By: mark lewis to Digital Man on Wed Oct 10 2018 05:00 pm

    On 2018 Oct 10 10:26:46, you wrote to me:

    where can i find the header file displayed when reading messages? i
    want to move some of the lines around to make them more consistant with
    other readers i use...

    By default the lines come from your ctrl/text.dat file (and you can't re-arrange them). However, you can use a custom header file and
    display the header fields in any order you wish: http://wiki.synchro.net/custom:messageheader

    thank you, sir... will using this header also break the avatars?

    Yes. You'd need to add: @exec:SHOWMSGAVATAR@ (all caps)

    digital man

    This Is Spinal Tap quote #23:
    David St. Hubbins: I envy us.
    Norco, CA WX: 61.2oF, 77.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Thu Oct 11 00:11:16 2018

    On 2018 Oct 10 20:12:00, you wrote to me:

    However, you can use a custom header file and
    display the header fields in any order you wish:
    http://wiki.synchro.net/custom:messageheader

    thank you, sir... will using this header also break the avatars?

    Yes. You'd need to add: @exec:SHOWMSGAVATAR@ (all caps)

    thank you :)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... I'm only a beer teetotaler, not a champagne teetotaler.
    ---
    * Origin: (1:3634/12.73)