Nп/п : 40 из 77
 От   : Christian Sacks                     2:5075/128        09 авг 23 11:25:20
 К    : Alexander Grotewohl                                   09 авг 23 14:48:43
 Тема : Re: Adding kermit as a protocol option
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <4000413550@f5.n250.z2.fidonet.org>
4e95f2da
@REPLY: <3212494417@f616.n120.z1.fidonet.org>
0ad17031
@REPLYADDR Christian Sacks
<nospam.Christian.Sacks@f5.n250.z2.fidonet.org>
@REPLYTO 2:5075/128 Christian Sacks
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<4000413550@f5.n250.z2.fidonet.org>
@RFC-References:
<3212494417@f616.n120.z1.fidonet.org>
@TZUTC: 1300
@PID: VSoup v1.2.9.47Beta [95/NT]
@TID: FIDOGATE-5.12-ge4e8b94
On 08 Aug 2023, Alexander Grotewohl said the following...
 
 AG> if you`re comfortable doing a little programming you could probably make
 AG> a script to read the lines in file.lst then run gkermit like it wants:
 AG> 
 AG>   /usr/bin/gkermit -d /tmp/kermit-send.log -Ts file1 file2 file3
 AG> 
 AG> (or maybe it needs -Ts in front of every file.. don`t use it so i can`t
 AG> test it..)

I am grateful for your thoughts, with them I have made this script;

#!/usr/bin/env bash
FILELIST="$1"
FILES=$(cat $FILELIST|tr `
` ` `)
for FILE in $FILES; do
        echo "/usr/bin/gkermit -d /tmp/kermit-send.log -XTs $FILE"
        /usr/bin/gkermit -d /tmp/kermit-send.log -XTs $FILE
done

... and then in the protocol editor I use this;

      Active ? Yes
          OS ? All
       Batch ? Yes
     Hot Key ? K
 Description ? Kermit (testing)
Send Command ? /mystic/kermit_batch.sh %3
Recv Command ? /usr/bin/gkermit -d /tmp/kermit-recv.log -XTr %3

I`ve tested using "qodem" terminal, and with a single and multiple files in a 
batch it works perfectly (to download from the BBS to the client).

I shall next attempt to test the uploads, but I assume this will just be ok as 
it is.

I shall let y`all know how it goes. 
FWIW kermit seems to be much quicker than zmodem =)

... That`s not a bug, it`s an undocumented feature

--- 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    
                                                                                
В этой области больше нет сообщений.

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