diff options
Diffstat (limited to 'listbas.rst')
-rw-r--r-- | listbas.rst | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/listbas.rst b/listbas.rst index fa00e18..2743d45 100644 --- a/listbas.rst +++ b/listbas.rst @@ -108,7 +108,8 @@ The default color scheme is: BASIC is concerned, but it makes more sense to colorize them as commands. **green** - Operators (except functions and "command operators"). + Operators (except functions and "command operators"), quotes around + strings, and commas between **DATA** elements. **purple** Functions. @@ -118,26 +119,22 @@ The default color scheme is: constants (but not the quotes around the string). **cyan** - Line numbers at the start of a line, comments (**REM** text) and **DATA** items. + Line numbers at the start of a line and **DATA** items. + +**blue** + Comments (**REM** text). **uncolorized** Variable names. -Quotes around strings and commas between **DATA** items are -never colorized, so they'll appear in the default foreground color -(usually white if the terminal has a black background, or black if the -background is white). - -Note that nothing is blue in the default color scheme. This is because -it's difficult to read on many terminals. Also, black and white are -not used because presumably, one or the other is the background color -of the terminal. +Black and white are not used by default because presumably, one or the +other is the background color of the terminal. Customization ------------- You can customize the colors by using the **-c** *colors* option, either on the command line, or in the **LISTBAS_OPTS** environment variable. -*colors* is a string of exactly 7 characters, each of which must be the +*colors* is a string of exactly 8 characters, each of which must be the digits *0* through *7* to specify a color, or the letter *n* to specify no color. @@ -189,14 +186,17 @@ The order they're used in the *colors* argument is: are constants). **6** - **DATA** items and **REM** text. + **DATA** items (but not the commas between them). **7** + **REM** text. + +**8** Variable names. So, the default color scheme is equivalent to: - **-c** *325166n* + **-c** *3251646n* NOTES ===== |