• Re: file request

    From digimaus@618:618/1 to Tanausu M. on Fri Jan 2 12:02:55 2026
    Tanausu M. wrote to All <=-

    I had to write a specific script, but if there's a way to do it
    directly with the other method, could someone explain it to me?

    I believe you have to install FreqIt to work with BinkIt.

    -- Sean

    ... If an experiment works, something has gone wrong.
    --- MultiMail/Linux
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  • From Tanausu M.@618:500/19.1 to digimaus on Sat Jan 3 17:40:07 2026

    Hello digimaus!

    02 Jan 26 12:02, you wrote to me:
    I had to write a specific script, but if there's a way to do it
    directly with the other method, could someone explain it to me?

    I believe you have to install FreqIt to work with BinkIt.

    Hi. No, I didn't explain myself well; I meant outside of synchronet.
    At home I use binkd + crashmail and golded.

    --- GoldED+/LNX 1.1.5-b20250409
    * Origin: Citrick BBS citlmbbs.synchro.net (618:500/19.1)
  • From digimaus@618:618/1 to Tanausu M. on Sun Jan 4 22:16:44 2026
    Tanausu M. wrote to digimaus <=-

    Hi. No, I didn't explain myself well; I meant outside of synchronet.
    At home I use binkd + crashmail and golded.

    Ah, okay. I thought it was Synchronet. :)


    -- Sean

    ... Why is there an expiration date on sour cream?
    --- MultiMail/Linux
    * Origin: Outpost BBS * Johnson City, TN (618:618/1)
  • From Tanausu M.@618:500/19.1 to digimaus on Mon Jan 5 21:39:55 2026

    Hello digimaus!

    04 Jan 26 22:16, you wrote to me:

    Hi. No, I didn't explain myself well; I meant outside of
    synchronet. At home I use binkd + crashmail and golded.

    Ah, okay. I thought it was Synchronet. :)


    With Synchronet, in my case, I had to write a script. There's a bug
    in FreeBSD that causes it to omit some letters from text strings.
    But I managed to fix it manually with JavaScript...

    The problem is that with Binkd + Golded and Crashmail, it's
    impossible. I guess I'll have to do it the old-fashioned way, with
    a shell script.

    It works, but... surely there's an easier way to do it.

    #!/bin/sh

    ADDR="$1"
    FILE="$2"

    if [ -z "$ADDR" ] || [ -z "$FILE" ]; then
    echo "Use: $0 Z:N/NODE FILE"
    exit 1
    fi

    ZONE="${ADDR%%:*}"
    REST="${ADDR#*:}"
    NET="${REST%%/*}"
    NODE="${REST#*/}"

    dec2hex2() {
    printf "%04x" "$1"
    }

    dec2hex1() {
    printf "%03x" "$1"
    }

    NETHEX=$(dec2hex2 "$NET")
    NODEHEX=$(dec2hex2 "$NODE")
    ZONEHEX=$(dec2hex1 "$ZONE")

    FNAME="${NETHEX}${NODEHEX}"

    OUTBOUND_BASE="/home/lmd/fido/mail/outbound" OUTBOUND_ZONE="/home/lmd/fido/mail/outbound.${ZONEHEX}"

    #Final directory
    if [ -d "$OUTBOUND_ZONE" ]; then
    OUTDIR="$OUTBOUND_ZONE"
    else
    OUTDIR="$OUTBOUND_BASE"
    fi

    REQ="${OUTDIR}/${FNAME}.req"
    CLO="${OUTDIR}/${FNAME}.clo"

    # Minimum check
    [ -d "$OUTDIR" ] || {
    echo "Error: no existe el directorio $OUTDIR"
    exit 1
    }

    # Create files
    echo "$FILE" > "$REQ" || exit 1
    echo "$REQ" > "$CLO" || exit 1

    echo "FREQ created successfully:"
    echo " Address : $ADDR"
    echo " File : $FILE"
    echo " Directory : $OUTDIR"
    echo " REQ : $REQ"
    echo " CLO : $CLO"

    #/sbbs/exec/jsexec /sbbs/exec/binkit.js
    binkd -p -P "$ADDR" /home/lmd/fido/etc/binkd.conf

    --- GoldED+/LNX 1.1.5-b20250409
    * Origin: Citrick BBS citlmbbs.synchro.net (618:500/19.1)