Category : Communication (modem) tools and utilities
Archive   : ZMSCRIP.ZIP
Filename : BIXFUPL.T

Output of file : BIXFUPL.T contained in archive : ZMSCRIP.ZIP
:: bixupl.t Rev 9-12-91
:: <<< a HACK to allow the use of CompuServe .key files for BIX >>>
:: Control file fields, explanation, variable name:
:: yamix.Q /u/t/yam/yam386ix.Q /u/t/yam/yam386ix.key bin IBM.DOS APPLICATION
:: BIX name local pathname key file pathname typ area subarea
:: %fname %pathname %keypath %typ %area %subarea
:: All fields must be set except for optional subarea
:: "typ" field not used yet
:: Not much error correction - just close files.

:: Get pathnames etc. from control file.
set s0 ""
open -!tg %item; grab s0
echoc "bixfupl.t: processing %item"
while "t&&!%s0" grab s0
set ifs " " : split on space or tab
split s0
nolog closetx
sets fname %z0
sets pathname %z1
sets keypath %z2
sets typ %z3
sets area %z4
sets subarea %z5
if !%area goto badspec
echo "%fname %pathname %keypath %typ %area %subarea"

on !c o fail

:: join listings if not already, set area, [subarea]
pat 1 "]:"
put "join listings\r"

put "area %area\r"
if %subarea put "subarea %subarea\r" wait
pat 1c "only ASCII text?" "n\r"
pat 2 "send using ZMODEM"
pat 3 "File already exists:"
put "send %fname\r"
if 3 goto failed

:: Send file with ZMODEM. Window size set in bixXX directory entry
sz %pathname
if e goto failed
pat 1 "Transfer complete"
if !1 goto failed

:: Upload description, paced with > character
pg62; ena -p
open %keypath
next: grab s0
if "t&&!ps0,/exit" put "%s0\r" goback next
grab s0; sets s1 "%s0" :: keywords
nolog closetx
dis -p
put ".\r"
pat 1 "enter keywords"
trs s1 " " "\r" :: Change comma sep to separate lines
putv s1
put "\r.\r"
pat 1 "]:"

if !dv "!%mv %item bixupl/done"
if dv "!%rename %item [.bixupl.done]%item"
echoc "bixfupl.t finished with %item"

badspec: closetx
echoc "bixfupl.t: illegal syntax in %item"

failed: closetx
echoc "bixfupl.t: Upload of %item not accomplished"

  3 Responses to “Category : Communication (modem) tools and utilities
Archive   : ZMSCRIP.ZIP
Filename : BIXFUPL.T

  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: