aboutsummaryrefslogtreecommitdiffstats
path: root/manuals
diff options
context:
space:
mode:
authorGavin Howard <gavin@yzena.com>2021-06-22 22:47:17 -0600
committerGavin Howard <gavin@yzena.com>2021-06-22 22:47:17 -0600
commit57d7e30011a4a871a7c7c07154684e867da4bf60 (patch)
tree11f4dc277cddeed0dc3dc8b8305927ce6949c43f /manuals
parent3f57148e220b8554f1263e209f7df3fe04cdbadd (diff)
downloadplatform_external_bc-57d7e30011a4a871a7c7c07154684e867da4bf60.tar.gz
platform_external_bc-57d7e30011a4a871a7c7c07154684e867da4bf60.tar.bz2
platform_external_bc-57d7e30011a4a871a7c7c07154684e867da4bf60.zip
Tweak manuals a bit
Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'manuals')
-rw-r--r--manuals/bc.1.md.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/manuals/bc.1.md.in b/manuals/bc.1.md.in
index 41b1d2eb..8936edd4 100644
--- a/manuals/bc.1.md.in
+++ b/manuals/bc.1.md.in
@@ -1793,7 +1793,8 @@ turn it on in other cases.
In interactive mode, bc(1) attempts to recover from errors (see the **RESET**
section), and in normal execution, flushes **stdout** as soon as execution is
-done for the current input.
+done for the current input. It is also required to enable special handling for
+**SIGINT** signals.
# TTY MODE
@@ -1802,12 +1803,13 @@ on "TTY mode."
{{ A E N P EN EP NP ENP }}
TTY mode is required for history to be enabled (see the **COMMAND LINE HISTORY**
-section). It is also required to enable special handling for **SIGINT** signals.
+section).
{{ end }}
-{{ A E H N EH EN HN EHN }}
-The prompt is enabled in TTY mode.
-{{ end }}
+The prompt is enabled in TTY mode, subject to the **BC_PROMPT** environment
+variable (see the **ENVIRONMENT VARIABLES** section), the **-P** command-line
+option, and the **-\-no-prompt** command-line option (see the **OPTIONS**
+section).
TTY mode is different from interactive mode because interactive mode is required
in the [bc(1) specification][1], and interactive mode requires only **stdin**