home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,842 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 11,472 of 11,842   
   Christian Sacks to Christian Sacks   
   Re: Adding kermit as a protocol option   
   09 Aug 23 11:48:57   
   
   From: nospam.Christian.Sacks@f5.n250.z2.fidonet.org   
      
   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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca