From 97edc9d9d5757888863c56b1fb24ba481d3579ae Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 13 Jul 2024 15:10:23 -0400 Subject: listbas: separate highlight colors for line numbers and DATA/REM text. --- listbas.1 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'listbas.1') diff --git a/listbas.1 b/listbas.1 index ab5cabf..37c2388 100644 --- a/listbas.1 +++ b/listbas.1 @@ -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 -- cgit v1.2.3