Category : Communication (modem) tools and utilities
Archive   : KERMUTIL.ZIP
Filename : PUTBIN.CMD

 
Output of file : PUTBIN.CMD contained in archive : KERMUTIL.ZIP
;
; PUTBIN.CMD by Prof. Timo Salmi, [email protected], Thu 21-12-1989
; A script to send a binary file to a Unix host from your PC
;
; To run putbin.cmd script give kermit command:
; take putbin.cmd [filename]
; Or if you have run take zset.cmd then just give kermit command:
; putbin [filename]
;
; Error handlers:
def errstop1 echo \%1\7\13, define \%1, stop
if not defined \%1 ask \%f Put which binary file?
if defined \%1 define \%f \%1
if not defined \%f errstop1 {Error: You have not defined the filename variable}
;
def errstop2 echo \%1\7\13, define \%f, define \%1, stop
if not exist \%f errstop2 {Error: File \%f not found}
;
set take-echo on ;Show what is happening
clear ;Clear the input buffer
set parity even ;CHANGE as your system might require
set send packet 1000 ;Use long packets
set take-echo off ;Enough of displaying the comments
;
pause 1 ;Let's not be too hasty about it 🙂
output kermit\13 ;Invoke Unix C-kermit
pause 1
output set file type binary\13 ;E.g. if it is and .arc file
pause 1
output set parity even\13 ;CHANGE as your system might require
pause 1
output set receive packet 1000\13 ;Use long packets (C-Kermit)
pause 1
output receive\13 ;Start receiving by host
pause 1
send \%f ;Start sending from your PC
pause 5 ;A longer pause is required here
output quit\13 ;Quit host kermit
pause 1
define \%f ;Release filename
define \%1 ;Release parameter
pause 1
echo \13Script PUTBIN.CMD by Prof. Timo Salmi, Done


  3 Responses to “Category : Communication (modem) tools and utilities
Archive   : KERMUTIL.ZIP
Filename : PUTBIN.CMD

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/