• src/sbbs3/sexyz.c zmodem.c zmodem.h

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Fri Dec 4 00:17:14 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/483c86debf4357fbdcf83bf2
    Modified Files:
    src/sbbs3/sexyz.c zmodem.c zmodem.h
    Log Message:
    ZMODEM Window Management supportThe default is still full-streaming mode. The default can be changed bysetting [ZMODEM] MaxWindowSize in sexyz.ini to a maximum window size touse by default (e.g. "100K"). Additionally, a [ZMODDEM] TargetWindowSizecan be set to a duration (e.g. 60s) to dynamically adjust the maximumwindow size to match the through-put rate while keeping the outstanding datain-flight to an estimated "duration". When TargetWindowSize is used, theMaxWindowSize only specifies the *initial* maximum window size.The new '-w' command-line option can be used to control Window Managementsupport (e.g. over-riding the .ini set default) - by using '-w' or '-w0',Window Management won't be used or by using '-w<max-size>', a maximum windowsize will be imposed (subject to the TargetWindowSize setting mentionedabove). <max-size> can be specified in bytes or multiples (e.g. "-w100K").Ths option is similar to the [l]sz '-w' option except no space is expectedbetween '-w' and the (optional) max-size value.Also new, when receiving [ZMODEM] FullDuplex can be set to FALSE
    to disablestreaming mode: if the RecvBufSize is not set (0), the sender should use thesubpacket data length (block size, e.g. 1K) as the segment size. Otherwise,setting FullDuplex=FALSE should produce the same behavior as setting theRecvBufSize would before (the result being the use of "segmented ZMODEM"instead of "streaming ZMODEM").All sexyz command-line options are case-sensitive now (not just the 'cmds').A lot of code clean-up in zmodem.c.Incremented zmodem.c rev to 2.0.Incremented sexyz version to 3.0.
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)