TIP: Click on subject to list as thread! ANSI
echo: mystic
to: Christian Sacks
from: Bjrn Wiberg
date: 2023-08-09 10:54:00
subject: Re: Adding kermit as a pr

Hello Christian!

On 08 Aug 2023, Christian Sacks said the following...
 
 CS> I looked at the default sexyz config which uses @%3 which I thought
 CS> might be required instead, but adding the @%3 instead just errors
 CS> immediately with the filename not being found according to the client.

I believe @ is SEXYZ syntax for reading a file containing a list of the files to be sent (http://wiki.synchro.net/util:sexyz).

%3 in Mystic will be the full path to such a file when the protocol is flagged as Batch: Yes in the Protocol Editor. That's probably why you got a "file.lst" on the receiving end. With Batch: No, %3 will instead be the full path to the (single) file to be sent.

As gkermit doesn't appear to support reading such a file list when sending files -- and Mystic doesn't appear to allow for specifying a "base directory" when batch-receiving files using external protocols (and automatically "finding" all files there after the batch transfer has completed) -- your best bet would be to select Batch: No and hence allow Kermit for transfers of single files only.

This then makes it impossible to "tag" files in the file listings (as soon as you do, it will consider this a batch even if the batch only contains one file), not displaying/offering Kermit (non-batch) as an available file transfer protocol when choosing to (D)ownload files from the files menu. Instead you have to (D)ownload from the file menu and (remember and specify) the filename manually.

Anyway, you might want to try this:

     Ûßßßßßßßßßßßßßßßßßßßßß Protocol Editor: Kermit ßßßßßßßßßßßßßßßßßßßßßßÜ
     Û                                                                    Û
     Û        Active ³ Yes                                                Û
ÜÜ   Û            OS ³ Linux                                             Û²gj!  ÞÛÜÜÛ         Batch ³ No                                                 ÛÛÜÜ
 °ÛÛÛÛ       Hot Key ³ K                                                 ÛÛÛ±þ ß ²ÛÛÛ   Description ³ Kermit                                            ÛÛÛÝÞ ² ±²²Û  Send Command ³ gkermit -i -P -q -X -s "%3"                        Û²°² ß Û°°Û  Recv Command ³ gkermit -i -P -q -X -r -a "%3"                     ÛÛ°² °°²ÛÛÛ                                                                    ÛÜÜÛ ÜÜþ ßßÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛݰ°

Please let me know if this works (for single files).

(It might actually be possible to create a separate protocol for Kermit batch downloads only, with some bash trickery that will enumerate the files, but I haven't looked into this yet...)

Best regards
Bj”rn

--- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
                                                                      
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.