diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-13 18:38:45 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-13 18:41:06 -0400 |
commit | 173f0d3f70f6b195ad1ace58030f8483009d6bc4 (patch) | |
tree | 9202b4a0749d6f437e632470a6b1def5c9c34e90 /listbas.1 | |
parent | bf53c88433e4d25dff34d6715db1d491cb6ec116 (diff) | |
download | bw-atari8-tools-173f0d3f70f6b195ad1ace58030f8483009d6bc4.tar.gz |
listbas: add -l option, fix option lists in help output and man page.
Diffstat (limited to 'listbas.1')
-rw-r--r-- | listbas.1 | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -32,7 +32,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] listbas \- List the source of a tokenized Atari 8-bit BASIC program .SH SYNOPSIS .sp -listbas [\fB\-v\fP] [\fB\-i\fP] [\fB\-b\fP] [\fB\-d\fP ] [\fB\-a\fP | \fB\-m\fP ] \fBinput\-file\fP +listbas [\fB\-a\fP | \fB\-d\fP | \fB\-m\fP | \fB\-x\fP | \fB\-U\fP] [\fB\-b\fP] [\fB\-u\fP] [\fB\-i\fP] [\fB\-l\fP] [\fB\-n\fP | \fB\-C\fP] [\fB\-v\fP] [\fB\-c\fP \fIcolors\fP] \fBinput\-file\fP .SH DESCRIPTION .sp \fBlistbas\fP acts like the \fILIST\fP command in BASIC. It reads a @@ -80,6 +80,9 @@ because you can\(aqt tell what the dots are supposed to represent. .B \fB\-i\fP Include the immediate mode command (line 32768) in the output. .TP +.B \fB\-l\fP +Do not print line numbers. +.TP .B \fB\-C\fP Enable color syntax highlighting. This option is enabled by default; the \fB\-C\fP option is provided so you can override \fB\-n\fP in @@ -269,6 +272,15 @@ on variable\-protected programs. .sp \-\- .sp +The color and inverse/bold/underline support assumes your terminal supports +ANSI/VT220 escape codes... but it does \fInot\fP use \fBcurses\fP(3X) or +\fBterminfo\fP(5), or even look at \fBTERM\fP in the environment. It just +blindly emits the escape codes. Likewise, Unicode characters are printed +in UTF\-8 encoding, without actually checking whether the terminal or the +current locale supports UTF\-8. +.sp +\-\- +.sp I thought about adding an HTML output option, but there\(aqs no need: if you want a colorful listing of an Atari BASIC program, install \fBaha\fP(1) from \fI\%https://github.com/theZiz/aha\fP (or your distro\(aqs package repo) and run |