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,471 of 11,842   
   Christian Sacks to Alexander Grotewohl   
   Re: Adding kermit as a protocol option   
   09 Aug 23 11:25:20   
   
   From: nospam.Christian.Sacks@f5.n250.z2.fidonet.org   
      
   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 '\n' ' ')   
   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   
      
   --- 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