Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/mos/System-Variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@ The command prompt that the MOS CLI displays is defined using the variable named

If you unset the `CLI$Prompt` variable, the system will revert to displaying the default prompt which is `*`.

For example, to set your prompt to be written in yellow on black, returning to white on black for your commands, you can add the following line to your [boot script](../MOS.md#boot-script):

```
setmacro CLI$Prompt <17><128><17><11><Current$Dir> *<17><15>
```

Note that the above prompt change relies on being in default colours, in 16 or 64 colour modes. In 2 or 4 colour modes the prompt will appear to be white on black.


### `CLI$AutoPaged` {#autopaged}

Setting a variable `CLI$AutoPaged` to any value will enable the auto-paging feature of the CLI, if you are using VDP 2.14.0 or later by [temporarily enabling paged mode](../vdp/System-Commands.md#vdu-23-0-9a). By default this variable is not set.
Expand Down