Nп/п : 41 из 77
 От   : Christian Sacks                     2:5075/128        09 авг 23 11:48:57
 К    : All                                                   09 авг 23 15:27:19
 Тема : Re: Adding kermit as a protocol option
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <699515172@f5.n250.z2.fidonet.org>
2baac22e
@REPLY: <4000413550@f5.n250.z2.fidonet.org>
4e95f2da
@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:
<699515172@f5.n250.z2.fidonet.org>
@RFC-References:
<4000413550@f5.n250.z2.fidonet.org>
@TZUTC: 1300
@PID: VSoup v1.2.9.47Beta [95/NT]
@TID: FIDOGATE-5.12-ge4e8b94
On 09 Aug 2023, Christian Sacks said the following...
 
 CS> On 08 Aug 2023, Alexander Grotewohl said the following...
 CS>  
 CS>  AG> if you`re comfortable doing a little programming you could probably m
 CS>  AG> a script to read the lines in file.lst then run gkermit like it wants
 CS>  AG> 
 CS>  AG>   /usr/bin/gkermit -d /tmp/kermit-send.log -Ts file1 file2 file3
 CS>  AG> 
 CS>  AG> (or maybe it needs -Ts in front of every file.. don`t use it so i can
 CS>  AG> test it..)
 CS> 
 CS> I am grateful for your thoughts, with them I have made this script;
 CS> 
 CS> #!/usr/bin/env bash
 CS> FILELIST="$1"
 CS> FILES=$(cat $FILELIST|tr `
` ` `)
 CS> for FILE in $FILES; do
 CS>         echo "/usr/bin/gkermit -d /tmp/kermit-send.log -XTs $FILE"
 CS>         /usr/bin/gkermit -d /tmp/kermit-send.log -XTs $FILE
 CS> done
 CS> 
 CS> ... and then in the protocol editor I use this;
 CS> 
 CS>       Active ? Yes
 CS>           OS ? All
 CS>        Batch ? Yes
 CS>      Hot Key ? K
 CS>  Description ? Kermit (testing)
 CS> Send Command ? /mystic/kermit_batch.sh %3
 CS> Recv Command ? /usr/bin/gkermit -d /tmp/kermit-recv.log -XTr %3
 CS> 
 CS> I`ve tested using "qodem" terminal, and with a single and multiple files
 CS> in a batch it works perfectly (to download from the BBS to the client).
 CS> 
 CS> I shall next attempt to test the uploads, but I assume this will just be
 CS> ok as it is.
 CS> 
 CS> I shall let y`all know how it goes. 
 CS> FWIW kermit seems to be much quicker than zmodem =)
 CS> 
 CS> ... That`s not a bug, it`s an undocumented feature
 CS> 
 CS> --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
 CS>  * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (2:250/5)

After testing the files downloaded with this script, I realised the files 
themselves were corrupted, so updated my wrapper script to use this syntax for 
the actual downloading;

  /usr/bin/gkermit -d /tmp/kermit-send.log -Xis $FILE

-X means eXternal - seemed appropriate
 i means Binary mode transfer (default) but wanted to force it to make sure
 s means Send with the filename as the argument

Reckon this is good to go now =)

... Help! I can`t find the "ANY" key.

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

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