• DDMsgReader: Support for different width headers

    From VIncent Macaluso@1:103/705 to GitLab issue in main/sbbs on Wed Mar 2 11:04:36 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/359

    DDMsgReader doesn't seem to support different width headers (for console widths larger than 80 columns) - could you maybe add similar functionality to bbs.menu where it will use other width if they exist (header.132col.ans for example.)
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Wed Mar 2 11:51:13 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/359#note_2403

    DDMsgReader already does this. This is mentioned in the readme in section 4 (Header ANSI/asc file):> Also, you can create header files for multiple terminal widths: To do so, the header filename format is enhMsgHeader-width. For example, to create a header for a 132-column terminal, the header filename would be enhMsgHeader-132.asc (or .ans). Digital Distortion Message Reader will choose the one matching the user's terminal width, if one exists. If no others are found, enhMsgHeader.asc (or .ans) will be used, if it exists. If no enhMsgHdr file exists, Digital Distortion Message Reader will use a default header (which adjusts to any terminal width).When you say DDMsgreader doesn't seem to support different width headers, is that feature not working as expected?
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to VIncent Macaluso on Wed Mar 2 11:53:43 2022
    Re: DDMsgReader: Support for different width headers
    By: VIncent Macaluso to GitLab issue in main/sbbs on Wed Mar 02 2022 11:04 am

    open https://gitlab.synchro.net/main/sbbs/-/issues/359

    DDMsgReader doesn't seem to support different width headers (for console widths larger than 80 columns) - could you maybe add similar functionality to bbs.menu where it will use other width if they exist (header.132col.ans for example.)

    DDMsgReader already does this. This is mentioned in the readme in section 4 (Header ANSI/asc file):

    Also, you can create header files for multiple terminal widths: To do so, the header filename format is enhMsgHeader-width. For example, to create a header for a 132-column terminal, the header filename would be enhMsgHeader-132.asc (or .ans). Digital Distortion Message Reader will choose the one matching the user's terminal width, if one exists. If no others are found, enhMsgHeader.asc (or .ans) will be used, if it exists. If no enhMsgHdr file exists, Digital Distortion Message Reader will use a default header (which adjusts to any terminal width).

    When you say DDMsgreader doesn't seem to support different width headers, is that feature not working as expected?

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From VIncent Macaluso@1:103/705 to GitLab note in main/sbbs on Wed Mar 2 17:01:38 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/359#note_2408

    Ahhh, I was using the same format as synchronet (filenamebase.132col.ans) not filename-base-132.ans - Completely on me for not reading slowly. I confirmed this works. Does this work for your other apps as well?
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Wed Mar 2 17:33:34 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/359#note_2410

    My message reader is the only one that supports different width headers this way. My area choosers can also load a header file but it seems I didn't add this feature to my area choosers. Aside from that, my other mods don't load custom header files.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Eric Oulashin@1:103/705 to GitLab issue in main/sbbs on Sun Mar 13 16:01:23 2022
    close https://gitlab.synchro.net/main/sbbs/-/issues/359
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)