EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: newline in IOCSH_PS1 value
From: Eric Norum <[email protected]>
To: [email protected]
Cc: "[email protected]" <[email protected]>
Date: Wed, 26 Feb 2014 13:54:25 -0800
And this seems to work inside the st.cmd file:

epicsEnvSet IOCSH_PS1 "ABC\
DEF> "


../../bin/darwin-x86/example st.cmd 
. . .
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=ericHost"
ABC
DEF> 


On Feb 26, 2014, at 1:10 PM, Mark Davis <[email protected]> wrote:

Anybody happen to know of a way to include a newline in the IOCSH_PS1 value?


I can include one by manually typing the command in to the IOC shell after it is started:

epics>
epics> epicsEnvSet IOCSH_PS1 "      <---- Ctl+V, Ctl+J typed here....
becoladaq> "

becoladaq>

becoladaq>


But I cannot find any way to do this from the st.cmd startup script.  I have tried using "\n", hex, octal values, etc.  Nothing seems to work.


Mark Davis
NSCL/FRIB


-- 
Eric Norum
[email protected]





Replies:
Re: newline in IOCSH_PS1 value Mark Davis
References:
newline in IOCSH_PS1 value Mark Davis

Navigate by Date:
Prev: Re: newline in IOCSH_PS1 value Eric Norum
Next: Re: Monitoring whether an IP device is connected or not David Michel
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: newline in IOCSH_PS1 value Eric Norum
Next: Re: newline in IOCSH_PS1 value Mark Davis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·