Nп/п : 39 из 77
 От   : Alexander Grotewohl                 2:5075/128        08 авг 23 14:09:00
 К    : Christian Sacks                                       08 авг 23 21:21:15
 Тема : Re: Adding kermit as a protocol option
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <3212494417@f616.n120.z1.fidonet.org>
0ad17031
@REPLY: <410648587@f5.n250.z2.fidonet.org>
882aa825
@REPLYADDR Alexander Grotewohl
<nospam.Alexander.Grotewohl@f616.n120.z1.fidonet.org>
@REPLYTO 2:5075/128 Alexander Grotewohl
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<3212494417@f616.n120.z1.fidonet.org>
@RFC-References:
<410648587@f5.n250.z2.fidonet.org>
@TZUTC: 1300
@PID: VSoup v1.2.9.47Beta [95/NT]
@TID: FIDOGATE-5.12-ge4e8b94
On 08 Aug 2023, Christian Sacks said the following...
 
 CS> I`ve installed `gkermit` on my linux host, and in protocol editor have
 CS> made a new "kermit" protocol, and the send/recv commands are like this;
 CS> 
 CS> Send Command ? /usr/bin/gkermit -d /tmp/kermit-send.log -Ts %3
 CS> Recv Command ? /usr/bin/gkermit -d /tmp/kermit-recv.log -Tr %3
 CS> 
 CS> With %3 as the filename(s), it seems to generate a file.lst on the
 CS> client end, and inside the file that it downloads just has a line for
 CS> each file with it`s full filepath on the bbs, and doesn`t download the
 CS> actual file...

having searched around the docs a bit it looks like kermit does batch xfers 
differently than most bbs software would expect. you would likely just have to 
turn `batch` off in the protocol config and have it work one file at a time. 
(batch toggles whether %3 is just one file by itself, or a file list file)
     
 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.

@ is a sexyz parameter not a mystic one. if it finds that @ at the beginning of 
the filename it will read that file line by line and send each of the files 
listed. kermit doesn`t support this so that`s the problem.

if you`re comfortable doing a little programming you could probably make a
script to read the lines in file.lst then run gkermit like it wants:

  /usr/bin/gkermit -d /tmp/kermit-send.log -Ts file1 file2 file3

(or maybe it needs -Ts in front of every file.. don`t use it so i can`t test 
it..)

then for the mystic protocol you`d just have

  /wherever/yourprogram %3

and batch turned on.

--- VSoup v1.2.9.47Beta [95/NT]
 * Origin: Agency HUB, Dunedin - New Zealand (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх