Skip to main content
Sep 5, 2023 1:35 PM UTC

Modify the system prompt '>'?

Working with a group of developers, I'd like to modify the system prompt in UniVerse from the standard '>' to include the account in which they are working. The 'WHO' command can give misleading results as it shows the folder in which they are running which may or may not be the UniVerse account. For instance, my developers each have a folder that contains the various accounts that they need for testing and source control. An example might be '/bl1/DEV_ABC/COM' and the 'WHO' command returns 'COM' but the UV.ACCOUNT record for this path is 'COM_ABC'. So, I'd like to modify the system prompt to show 'COM_ABC>'. I would assume that this could be set either in the 'LOGIN' script or in 'UV.LOGIN'. That will provide a visual cue that they are not in a production account. So far, searching the documentation has not produced an answer.

TIA!



------------------------------
Jeff Teter
Woodforest National Bank
The Woodlands, TX
------------------------------

    11 replies

    Gregor Scott
    Participating Frequently
    Sep 8, 2023 3:12 AM UTC

    Did a quick test with 11.3.5 and the select prompt and the backspace appear to work fine.

    >RUN BP SETPROMPT
    DEV-1 >SELECT VOC SAMPLE 1

    1 record(s) selected to SELECT list #0.
    DEV-1 >>
    DEV-1 >>.L RELLEVEL

         RELLEVEL
    001 X
    002 11.3.5
    003 NEWACC
    004
    005 11.3.5
    DEV-1 >>



    ------------------------------
    Neil Morris
    Universe Advanced Technical Support
    Rocket Software
    ------------------------------

    That is interesting, Neil.

    We run with NLS active and use PICK style accounts - perhaps that makes the difference!




    ------------------------------
    Gregor Scott
    Software Architect
    Pentana Solutions Pty Ltd
    Mount Waverley VIC AU
    ------------------------------