epics-modules / optics

APS BCDA synApps module: optics
http://epics-modules.github.io/optics/
Other
1 stars 3 forks source link

Callable iocsh scripts #1

Closed keenanlang closed 7 years ago

keenanlang commented 7 years ago

Added iocsh files for all support that require more than just a database.

anjohnson commented 7 years ago

Is the extension .iocsh already in common use? I would prefer .cmd if you're only just starting out, since it matches the long-standing st.cmd filenames that we've always used.

prjemian commented 7 years ago

Is that sufficient to differentiate it from the existing shell script we use now? Or is it really the same shell?

anjohnson commented 7 years ago

From Keenan's examples in this commit it looks like the same shell, but I don't know for sure what you guys have been doing. The iocsh language was designed to be as closely compatible with the VxWorks shell as Eric could reasonably make it.

keenanlang commented 7 years ago

.iocsh has been used by both Tim Mooney and Mark Rivers to denote command files that must be interpreted by iocsh rather than vxWorks; usually to get around line-length limits.

anjohnson commented 7 years ago

@keenanlang Ok, that sounds like a good-enough reason!