You need to set the second and third fields in SYSTEM(4002).
0001:       STELPROMPT = @WHO : '>'
                STELPROMPT<2> = @WHO : '>>'
                STELPROMPT<3> = '+'
0002:       ASSIGN 1 TO SYSTEM(4001)
0003:       ASSIGN STELPROMPT TO SYSTEM(4002)

Field 2 is for the active select list prompt and field 3 is for the
command continuation prompt, which I simply left as the single character
"+".  This worked in a PICK flavor account in UV 10.1.18 on WIN Server
2003.  This is documented in the online HELP for UV.PROMPT.  The command
is actually UVPROMPT but the online docs are accessed by UV.PROMPT.
Strange, but true.

BobW
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 8:00 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Change command prompt character

Don't know, but you get used to it!

SvZ


> Wow! I'm pretty excited about learning about this.  This is something
> I've been looking for some time.
>
> It seems to work great except after setting the prompt using this
method
> the usual >> prompt which shows you have an active select list
> disappears.
>
> Does anyone have any more information about SYSTEM(4001), SYSTEM(4002)
> and/or the disappearing >> ?
>
> Perry Taylor
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 2:25 AM
> To: u2-users@listserver.u2ug.org
> Subject: RE: [U2] Change command prompt character
>
> We use this little routine (found it somewhere)
> ----: P
> 0001:       STELPROMPT = @WHO : '>'
> 0002:       ASSIGN 1 TO SYSTEM(4001)
> 0003:       ASSIGN STELPROMPT TO SYSTEM(4002)
> Bottom at line 3.
>
> Schalk van Zyl
>
>



---------------------------------------------------------
GWK BEPERK/LIMITED (REG: 1997/022252/06)
POSBUS 47 PO BOX 8730
DOUGLAS

Direkteure/Directors: NB Jacobs, FJ Lawrence, J v/d S Botes,
JH Coetzee, JP Du Plessis, JGD Smit, AO MJW Smit,
WG MJG Stander, JC v/d Ryst, JH van Dyk(MD/BD), A MM van Zyl, Sekr/Secr:
HA Nolte.


Hierdie e-pos is onderworpe aan `n vrywaring beskikbaar by:
http://www.gwk.co.za/DisclaimerVrywaring.asp
This e-mail is subjected to the disclaimer that can be viewed at:
http://www.gwk.co.za/DisclaimerVrywaring.asp
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to