Article View: alt.bbs.synchronet
Article #96Re: Lua scripting patch for Syncterm(send/expect,recorder)
From: Heisenberg
Date: Tue, 20 Oct 2026 00:06
Date: Tue, 20 Oct 2026 00:06
32 lines
2565 bytes
2565 bytes
To: Digital Man Hi Rob, Thanks for the pointer. I hadn't seen the Wren work, since I'd only been following the 1.9 release. I've now had a read through Wren.adoc in git and it's far more extensive than what I put together. It goes a long way past session automation. The two things my patch adds that I couldn't find there are a blocking send/expect style of script (expect "Login:", send the name, wait for one of several prompts with a timeout, branch on which one came back), and a recorder that turns a live session into a replayable script. Those are what I was mainly after, for login scripts and for driving door games. My patch is against 1.9 and won't carry over to 1.10, since the menu code it hooks into has moved to Wren. So rather than maintain a Lua fork long term, I'll look at doing expect/send and the recorder as a Wren package for 1.10, along the lines of the Yankee Trader one. In the meantime the Lua patch will stay a clearly labelled 1.9 add-on. If Deuce has any thoughts on whether something like that would be useful, or would rather it be done a particular way, I'm happy to hear them. Thanks again, Michael --- รพ Synchronet รพ Kalgoorlie Retro BBS, Kalgoolrie, WA --- Synchronet 3.22a-Linux NewsLink 1.2 * Vertrauen - Riverside County, California - telnet://vert.synchro.net
Technical Details
Message-ID:
<6AD6B073.1471.dove-syncdisc@bbs.theiguru.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mailReferences:
<6AD6636D.57254.sync@vert.synchro.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer04.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail From: "Heisenberg" <heisenberg@HEISEN.remove-4cy-this> Subject: Re: Lua scripting patch for Syncterm(send/expect,recorder) Message-ID: <6AD6B073.1471.dove-syncdisc@bbs.theiguru.au> X-Comment-To: Digital Man Organization: Kalgoorlie Retro BBS Newsgroups: alt.bbs.synchronet X-FTN-PID: Synchronet 3.21b-Linux master/5165d2e68 Jan 21 2026 GCC 13.3.0 X-FTN-MSGID: 57255.sync@1:103/705 2f3ccad1 X-FTN-REPLY: 57254.sync@1:103/705 2f3c7913 X-FTN-CHRS: CP437 2 WhenImported: 20261020000611Z 0000 WhenExported: 20261020002611Z 0000 ExportedFrom: HEISEN dove-syncdisc 1471 References: <6AD6636D.57254.sync@vert.synchro.net> Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: vert.synchro.net [Synchronet 3.22a-Linux NewsLink 1.2] Lines: 32 X-Complaints-To: https://www.astraweb.com/aup NNTP-Posting-Date: Tue, 20 Oct 2026 00:26:21 UTC Date: Tue, 20 Oct 2026 00:06:11 +0000 X-Received-Bytes: 2325