diff --git a/devices/pdp11/machine/1170/panel/debugger/xxdp/README.md b/devices/pdp11/machine/1170/panel/debugger/xxdp/README.md index 52f81bbea..a69e470a5 100644 --- a/devices/pdp11/machine/1170/panel/debugger/xxdp/README.md +++ b/devices/pdp11/machine/1170/panel/debugger/xxdp/README.md @@ -12,7 +12,7 @@ machines: RL0: path: http://archive.pcjs.org/disks/dec/rl02k/RL02K-XXDP.json sticky: top -scripts: +machineScripts: runEKBAD0: | selectDrive RL11 RL0; select RL11 listDisks "XXDP+ Diagnostics"; diff --git a/disks/dec/rl02k/xxdp/ekbad0/README.md b/disks/dec/rl02k/xxdp/ekbad0/README.md index 660562f2a..57d065f77 100644 --- a/disks/dec/rl02k/xxdp/ekbad0/README.md +++ b/disks/dec/rl02k/xxdp/ekbad0/README.md @@ -9,7 +9,7 @@ machines: debugger: true autoStart: true sticky: top -scripts: +machineScripts: runEKBAD0: | selectDrive RL11 RL0; select RL11 listDisks "XXDP+ Diagnostics"; diff --git a/disks/pcx86/apps/ibm/topview/1.01/README.md b/disks/pcx86/apps/ibm/topview/1.01/README.md index 36677b7a7..f69ce9b39 100644 --- a/disks/pcx86/apps/ibm/topview/1.01/README.md +++ b/disks/pcx86/apps/ibm/topview/1.01/README.md @@ -12,7 +12,7 @@ machines: B: path: /disks/pcx86/apps/ibm/topview/1.01/TOPVIEW101-PROGRAM.json autoScript: startTV -scripts: +machineScripts: startTV: | wait Keyboard DOS; type Keyboard "$date\r$time\r"; diff --git a/modules/markout/lib/markout.js b/modules/markout/lib/markout.js index d8f55b2e1..cb1ab890f 100644 --- a/modules/markout/lib/markout.js +++ b/modules/markout/lib/markout.js @@ -442,7 +442,7 @@ MarkOut.prototype.convertMD = function(sIndent) /* * Extract script definitions first, if any, from the Front Matter. */ - var aScriptDefs = aMatch[1].match(/\nscripts:([\s\S]*?)\n([^\s]|$)/); + var aScriptDefs = aMatch[1].match(/\nmachineScripts:([\s\S]*?)\n([^\s]|$)/); if (aScriptDefs) { var reScript = /[ \t]+([a-z0-9$@_-]+):\s*\|/gi; var aScripts = aScriptDefs[1].split(reScript);