Skip to content
Snippets Groups Projects
Commit 5ed051d0 authored by klang's avatar klang
Browse files

Scripts now set the shell prompt

parent 02aa5e23
No related branches found
No related tags found
No related merge requests found
# Shell prompt
epicsEnvSet("IOCSH_PS1", "$(IOC)> ")
# prefix used for all PVs in this IOC # prefix used for all PVs in this IOC
epicsEnvSet("PREFIX", "xxx:") epicsEnvSet("PREFIX", "xxx:")
...@@ -16,7 +19,7 @@ epicsEnvSet("STREAM_PROTOCOL_PATH", ".") ...@@ -16,7 +19,7 @@ epicsEnvSet("STREAM_PROTOCOL_PATH", ".")
# Note for N doubles, need N*8 bytes+some overhead # Note for N doubles, need N*8 bytes+some overhead
epicsEnvSet EPICS_CA_MAX_ARRAY_BYTES 64010 epicsEnvSet EPICS_CA_MAX_ARRAY_BYTES 64010
### save_restore setup ### save_restore setup, change SAVE_PATH if you are having autosave manage its own NFS mount
iocshLoad("$(AUTOSAVE)/iocsh/autosave_settings.iocsh", "PREFIX=$(PREFIX), SAVE_PATH=$(TOP)/iocBoot/$(IOC)") iocshLoad("$(AUTOSAVE)/iocsh/autosave_settings.iocsh", "PREFIX=$(PREFIX), SAVE_PATH=$(TOP)/iocBoot/$(IOC)")
iocshLoad("$(AUTOSAVE)/iocsh/autosaveBuild.iocsh", "PREFIX=$(PREFIX)") iocshLoad("$(AUTOSAVE)/iocsh/autosaveBuild.iocsh", "PREFIX=$(PREFIX)")
iocshLoad("$(AUTOSAVE)/iocsh/save_restore.iocsh", "PREFIX=$(PREFIX), POSITIONS_FILE=auto_positions, SETTINGS_FILE=auto_settings") iocshLoad("$(AUTOSAVE)/iocsh/save_restore.iocsh", "PREFIX=$(PREFIX), POSITIONS_FILE=auto_positions, SETTINGS_FILE=auto_settings")
......
...@@ -38,7 +38,7 @@ recDynLinkQsize = 1024 ...@@ -38,7 +38,7 @@ recDynLinkQsize = 1024
dbLoadDatabase("$(TOP)/dbd/iocxxxVX.dbd") dbLoadDatabase("$(TOP)/dbd/iocxxxVX.dbd")
iocxxxVX_registerRecordDeviceDriver(pdbbase) iocxxxVX_registerRecordDeviceDriver(pdbbase)
shellPromptSet "iocvxWorks> " shellPromptSet "$(IOC)> "
iocLogDisable=0 iocLogDisable=0
# If you want save_restore to manage its own NFS mount, specify the name and # If you want save_restore to manage its own NFS mount, specify the name and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment