I've installed `gkermit` on my linux host, and in protocol editor have made a new "kermit" protocol, and the send/recv commands are like this;
Send Command ³ /usr/bin/gkermit -d /tmp/kermit-send.log -Ts %3
Recv Command ³ /usr/bin/gkermit -d /tmp/kermit-recv.log -Tr %3
With %3 as the filename(s), it seems to generate a file.lst on the
client end, and inside the file that it downloads just has a line for
each file with it's full filepath on the bbs, and doesn't download the actual file...
I looked at the default sexyz config which uses @%3 which I thought
might be required instead, but adding the @%3 instead just errors immediately with the filename not being found according to the client.
I looked at the default sexyz config which uses @%3 which I thought
might be required instead, but adding the @%3 instead just errors immediately with the filename not being found according to the client.
if you're comfortable doing a little programming you could probably make
a script to read the lines in file.lst then run gkermit like it wants:
/usr/bin/gkermit -d /tmp/kermit-send.log -Ts file1 file2 file3
(or maybe it needs -Ts in front of every file.. don't use it so i can't test it..)
On 08 Aug 2023, Alexander Grotewohl said the following...
if you're comfortable doing a little programming you could probably m a script to read the lines in file.lst then run gkermit like it wants
/usr/bin/gkermit -d /tmp/kermit-send.log -Ts file1 file2 file3
(or maybe it needs -Ts in front of every file.. don't use it so i can 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
--- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
* 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 =)
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).
FWIW kermit seems to be much quicker than zmodem =)
I believe @ is SEXYZ syntax for reading a file containing a list of the files to be sent (http://wiki.synchro.net/util:sexyz).
Sysop: | Fercho |
---|---|
Lugar: | La Plata, Buenos Aires |
Usuarios: | 32 |
Nodos: | 10 (0 / 10) |
Uptime: | 184:27:37 |
Llamadas: | 123 |
Archivoss: | 15,607 |
Mensajes: | 33,663 |
Novedades:
Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!