• is forking rz/sz portable?

    From candycane@VERT/CONCHAOS to All on Wed Aug 2 14:12:38 2023
    hi,
    I was wondering if forking sz and rz would be considered portable or not, and whether i could just make it read from the forked stream and post it

    candycane

    ===
    user is generated from /dev/urandom

    ...A raisin dropped in a glass of fresh champagne will bounce up and down continuously from the bottom of the glass to the top.
    ---
    þ Synchronet þ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
  • From Digital Man@VERT to candycane on Wed Aug 2 13:37:16 2023
    Re: is forking rz/sz portable?
    By: candycane to All on Wed Aug 02 2023 02:12 pm

    I was wondering if forking sz and rz would be considered portable or not, and whether i could just make it read from the forked stream and post it

    [l]sz/rz sends and receives data (X/Y/ZMODEM packets) using stdio. This is "portable" on most Unix-like OSes, yes. In fact, this is exactly how Synchronet supports x/y/zmodem transfers using stdio protocol drivers (like lsz/rz) on Unix-like OSes. On Windows, a protocol driver is expected to support socket I/O directly (not via stdio stream) and accept an inheritable socket descriptor (e.g. via command-line argument) on which to send and receive data.
    --
    digital man (rob)

    Rush quote #51:
    Suddenly you were gone from all the lives you left your mark upon
    Norco, CA WX: 89.7øF, 30.0% humidity, 7 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From candycane@VERT/CONCHAOS to Digital Man on Wed Aug 2 17:08:27 2023
    Re: is forking rz/sz portable?
    By: Digital Man to candycane on Wed Aug 02 2023 01:37 pm

    Re: is forking rz/sz portable?
    By: candycane to All on Wed Aug 02 2023 02:12 pm

    I was wondering if forking sz and rz would be considered portable or
    not, and whether i could just make it read from the forked stream and
    post it

    [l]sz/rz sends and receives data (X/Y/ZMODEM packets) using stdio. This is "portable" on most Unix-like OSes, yes. In fact, this is exactly how Synchronet supports x/y/zmodem transfers using stdio protocol drivers (like lsz/rz) on Unix-like OSes. On Windows, a protocol driver is expected to support socket I/O directly (not via stdio stream) and accept an inheritable socket descriptor (e.g. via command-line argument) on which to send and receive data. --
    digital man (rob)

    Rush quote #51:
    Suddenly you were gone from all the lives you left your mark upon
    Norco, CA WX: 89.7øF, 30.0% humidity, 7 mph S wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net

    Alright, thanks!

    candycane

    ===
    user is generated from /dev/urandom

    ...I do not often attack the labour party. They do it so well themselves.
    ---
    þ Synchronet þ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-