Uh oh!
There was an error while loading. Please reload this page.
Can't figure out how to change IOC prompt. #73
Answered
byAraneidae
Robatronic
asked this question in
Q&A
I'm trying to customize iocApp prompts similar to: epicsEnvSet IOCSH_PS1 "AARMS (s71500)> " How do I accomplish that with pythonSoftIOC....? Cheers, |
Answered by
Araneidae
Nov 25, 2021
Replies: 2 comments
Don't forget, this isn't an IOC interpreter, it's the standard Python shell. I did a quick google search, and it appears that $ python>>>importsys>>>sys.ps1='Well howdy there? 'Wellhowdythere? sys.ps2='... you have more for me? 'Wellhowdythere? (
... youhavemoreforme? )
()
Wellhowdythere? |
0 replies
Answer selected byRobatronic
Ah!! Of course!! :) Thanks so much!!! |
0 replies
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't forget, this isn't an IOC interpreter, it's the standard Python shell. I did a quick google search, and it appears that
sys.ps1andsys.ps2will do what you want: