You can also use ^L^M to get a line break and return in your prompt.  You
will need to press ^V (ctrl and "V" at the same time), then press the "L" or
"M" key.

--Michael

-----Original Message-----
Sent: Thursday, June 21, 2001 5:03 PM
To: Multiple recipients of list ORACLE-L


The sequence number is the number of commads in history I believe.

-----Original Message-----
Sent: Thursday, June 21, 2001 11:41 AM
To: Multiple recipients of list ORACLE-L


What do you use the sequence number at the end for?

Ron

-----Original Message-----
Sent: Thursday, June 21, 2001 11:07 AM
To: Multiple recipients of list ORACLE-L


Alex,
Sorry, about that messed up post. Hit send before completing the cut&paste:

Here is one way to do this:
PS1='$LOGNAME@$HOST:$PWD:${ORACLE_SID:-ORUNDEF}
!--> '
export PS1

Split the string for PS1 in two lines. 

Hope this helps.

Regards. 

- Kirti Deshpande 
  Verizon Information Services
   http://www.superpages.com

> -----Original Message-----
> From: Hillman, Alex [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 10:26 AM
> To:   Multiple recipients of list ORACLE-L
> Subject:      RE: Prompt in Korn shell
> 
> Now I have another problem.
> 
> export PS1='$LOGNAME@$HOST:$PWD:${ORACLE_SID:-ORUNDEF}\n!->' - result is:
> 
> oracle8i@coin-app:/u01/app/psoft/PSTEST/appserv:PSTESTn133->
> 
> instead of 
> 
> oracle8i@coin-app:/u01/app/psoft/PSTEST/appserv:PSTEST
> 133->
> 
> Looks like it does not understand \n as a new line character.
> 
> Any ideas please.
> 
> Alex Hillman
> 
> 
> 
> -----Original Message-----
> Sent: Wednesday, June 20, 2001 4:26 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> Anybody knows how to show current working directory and in general shell
> variable in Korn shell that prompt change when variable changes - for
> current working directory and ORACLE_SID for example. I know how to do it
> in
> bash but cannot do it right in Korn.
> 
> Alex Hillman
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Hillman, Alex
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Hillman, Alex
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deshpande, Kirti
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kevin Lange
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jenkins, Michael
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to