ASPL User Guide v 1.00
© 2025 Bassem W. Jamaleddine
The following are prompt commands that can be included when defining your ASPL1_00_PROMPT environment variable. To change your ASPL interpreter prompt, see the table below.
| {u} | user |
| {h} | hostname |
| {tm} | time |
| {localtime} | localtime |
| {isotime} | ISO date and time |
| {v} | ASPL version number, eg. 1.00 |
| {cwd} | current working directory |
| {no} | command number |
| {namedgc} | currently loaded namedGClass |
| {namedws} | currently loaded namedspace |
| {reposws} | workspace repository |
| ;promptcolor:COLORNAME | prompt color, eg. bold_black |
| ;logocolor:COLORNAME | color of the ASPL logo, eg. bold_black |
| ;loadcolors:SECTIONNAME | color table section used for tabbed operations, these are defined in your colors.conf |
If the environment variable ASPL1_00_PROMPT is not set, then the following is the default prompt:
prompt:aspl:{no} {tm} {u}@{h} {cwd}> ;promptcolor:bold_black;logocolor:bold_black;loadcolors:colors3
Any other characters, including spaces, will become part of the ASPL prompt.
The standard ASPL prompt is ASPL followed by > character.
At the ASPL prompt, type the command ttycolors to print the possible colors that you can specify for the COLORNAME to use for the prompt (following ;promptcolor:) and the logo (following ;logocolor:). The list of colors can also be displayed with the command:
# asplcmd ttycolors
# asplcmd ~colorsfile
To test setting your prompt, you can simply pass the setting in the environment variable ASPL1_00_PROMPT before the aspl program:
# ASPL1_00_PROMPT='prompt:ASPL {no}>' aspl
# ASPL1_00_PROMPT='prompt:ASPL {no}> ;promptcolor:publisher_cyan' aspl
# ASPL1_00_PROMPT='prompt:ASPL {localtime}> {no} // ' aspl
# ASPL1_00_PROMPT='prompt:ASPL {localtime} {namedws}@{namedgc} > ;promptcolor:bold_strikelightcyan' aspl
# ASPL1_00_PROMPT='prompt:ASPL {localtime} {namedws}@{namedgc} > ;promptcolor:publisher' aspl