TIP: Click on subject to list as thread! ANSI
echo: mystic
to: All
from: Christian Sacks
date: 2023-08-09 11:48:00
subject: Re: Adding kermit as a pr

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)

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.

--- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
                 
CS> * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (2:250/5)
* Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (2:250/5)

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™.