diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-13 15:10:23 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-13 15:10:23 -0400 |
commit | 97edc9d9d5757888863c56b1fb24ba481d3579ae (patch) | |
tree | 2a3495c695e8358acb04769e0bf3eedde9422245 /listbas.1 | |
parent | c01ad38905e617055d3dc49115989b7133c01b88 (diff) | |
download | bw-atari8-tools-97edc9d9d5757888863c56b1fb24ba481d3579ae.tar.gz |
listbas: separate highlight colors for line numbers and DATA/REM text.
Diffstat (limited to 'listbas.1')
-rw-r--r-- | listbas.1 | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -27,7 +27,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. -.TH "LISTBAS" 1 "2024-07-12" "0.2.1" "Urchlay's Atari 8-bit Tools" +.TH "LISTBAS" 1 "2024-07-13" "0.2.1" "Urchlay's Atari 8-bit Tools" .SH NAME listbas \- List the source of a tokenized Atari 8-bit BASIC program .SH SYNOPSIS @@ -145,13 +145,13 @@ Numbers (except line numbers at the start of a line) and string constants (but not the quotes around the string). .TP .B \fBcyan\fP -Line numbers at the start of a line, comments (\fBREM\fP text) and \fBDATA\fP elements. +Line numbers at the start of a line, comments (\fBREM\fP text) and \fBDATA\fP items. .TP .B \fBuncolorized\fP Variable names. .UNINDENT .sp -Quotes around strings and commas between \fBDATA\fP elements are +Quotes around strings and commas between \fBDATA\fP items are never colorized, so they\(aqll appear in the default foreground color (usually white if the terminal has a black background, or black if the background is white). @@ -164,7 +164,7 @@ of the terminal. .sp You can customize the colors by using the \fB\-c\fP \fIcolors\fP option, either on the command line, or in the \fBLISTBAS_OPTS\fP environment variable. -\fIcolors\fP is a string of exactly 6 characters, each of which must be the +\fIcolors\fP is a string of exactly 7 characters, each of which must be the digits \fI0\fP through \fI7\fP to specify a color, or the letter \fIn\fP to specify no color. .sp @@ -219,13 +219,16 @@ Line numbers (at the start of a line only; \fBGOTO\fP and \fBGOSUB\fP line numbe are constants). .TP .B \fB6\fP +\fBDATA\fP items and \fBREM\fP text. +.TP +.B \fB7\fP Variable names. .UNINDENT .sp So, the default color scheme is equivalent to: .INDENT 0.0 .INDENT 3.5 -\fB\-c\fP \fI32516n\fP +\fB\-c\fP \fI325166n\fP .UNINDENT .UNINDENT .SH NOTES |