Can't figure out how to change IOC prompt. #73
Answered
by
Araneidae
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, |
Beta Was this translation helpful? Give feedback.
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
>>> import sys
>>> sys.ps1 = 'Well howdy there? '
Well howdy there? sys.ps2 = '... you have more for me? '
Well howdy there? (
... you have more for me? )
()
Well howdy there? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Robatronic
-
Ah!! Of course!! :) Thanks so much!!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to 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.ps1
andsys.ps2
will do what you want: