• @FILL code

    From Michael Long@VERT to alt.bbs.synchronet on Tuesday, September 29, 2020 12:03:39
    From Newsgroup: alt.bbs.synchronet

    I was experimenting with the @FILL:@ code in menu files but it appears you cannot use a space for it? So @FILL: @ doesn't seem to work.

    I want to be able to draw a right vertical line down the right of the screen, but I don't know how to accomplish it in this case. If I use any other character in the fill, then it works fine, but then I have a background of those chars instead of spaces.

    I see there is @POS code but I don't think its safe to put @POS:79@ there as there might be different users with different terminal widths?
    --- Synchronet 3.18b-Win32 NewsLink 1.113
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Michael Long on Tuesday, September 29, 2020 16:23:50
    Re: @FILL code
    By: Michael Long to alt.bbs.synchronet on Tue Sep 29 2020 12:03 pm

    From Newsgroup: alt.bbs.synchronet

    I was experimenting with the @FILL:@ code in menu files but it appears you cannot use a space for it? So @FILL: @ doesn't seem to work.

    I want to be able to draw a right vertical line down the right of the screen, but I don't know how to accomplish it in this case. If I use any other character in the fill, then it works fine, but then I have a background of those chars instead of spaces.

    I just committed a change that will allow you to use C escape sequences in the FILL argument value (e.g. "\x20" for space). Can you give that a try?

    I see there is @POS code but I don't think its safe to put @POS:79@ there as there might be different users with different terminal widths?

    True. In general, it's a bad idea to place characters in the right-most column and not all terminals behave the same way and its challenging to determine their behavior from the server/BBS side. But column 79 on an 80 column terminal, should be safe (the column number is 1-based for that @-code).

    digital man

    Sling Blade quote #23:
    Karl: I reckon I'm gonna have to get used to looking at pretty people.
    Norco, CA WX: 100.0øF, 22.0% humidity, 6 mph NNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Michael Long@VERT to alt.bbs.synchronet on Tuesday, September 29, 2020 20:31:01
    From Newsgroup: alt.bbs.synchronet

    On Tuesday, September 29, 2020 at 7:23:54 PM UTC-4, Digital Man wrote:
    I just committed a change that will allow you to use C escape sequences in the FILL argument value (e.g. "\x20" for space). Can you give that a try?

    Your code change worked great. Thanks!
    --- Synchronet 3.18c-Win32 NewsLink 1.113
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Michael Long on Tuesday, September 29, 2020 20:57:39
    Re: Re: @FILL code
    By: Michael Long to alt.bbs.synchronet on Tue Sep 29 2020 08:31 pm

    From Newsgroup: alt.bbs.synchronet

    On Tuesday, September 29, 2020 at 7:23:54 PM UTC-4, Digital Man wrote:
    I just committed a change that will allow you to use C escape sequences in the FILL argument value (e.g. "\x20" for space). Can you give that a try?

    Your code change worked great. Thanks!

    Ah, okay, great. Thanks for the report!

    digital man

    Rush quote #48:
    The point of the journey is not to arrive. Anything can happen.
    Norco, CA WX: 85.1øF, 29.0% humidity, 2 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net