Re: Adding kermit as a protocol option

[email protected] (Christian Sacks)
Newsgroups alt.bbs.mystic
Organization Agency HUB, Dunedin - New Zealand
Message-ID <[email protected]>
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 '\n' ' ')
 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.