summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-02-12 08:35:34 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-02-12 08:35:34 -0800
commit12a36f6e2ec49ca158a0af730743345699a116e2 (patch)
tree2bf09adea0fa370f3a5edf56ee0864f741571db5 /txr.1
parentf97f2187e2dd72eec034f6a9b7f93e4174a4c24b (diff)
downloadtxr-12a36f6e2ec49ca158a0af730743345699a116e2.tar.gz
txr-12a36f6e2ec49ca158a0af730743345699a116e2.tar.bz2
txr-12a36f6e2ec49ca158a0af730743345699a116e2.zip
New listener variable: *listener-pprint-s*.
* parser.c (listener_pprint_s): New symbol variable. (repl): Check new variable after each evaluation and print accordingly. (parse_init): Initialize listener_print_s with interned symbol and register the variable. * txr.1: Document *listener-pprint-s*.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.121
1 files changed, 21 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index ef9dab94..dbde5745 100644
--- a/txr.1
+++ b/txr.1
@@ -62500,6 +62500,27 @@ that the selection is determined by the starting and ending character,
and includes them. This type of selection pairs well with a block-shaped
cursor.
+.coNP Special variable @ *listener-pprint-p*
+.desc
+This Boolean variable controls how the listener prints the results
+of evaluations.
+It is
+.code nil
+by default.
+
+When the variable is
+.codn nil ,
+the evaluation result of each line entered into the listener is printed
+using the
+.code prinl
+function. Thus values are rendered in a machine-readable syntax, ensuing
+read/print consistency.
+
+If the variable is set true, the evaluation result of each line is printed
+using the
+.code pprinl
+function.
+
.SH* SETUID/SETGID OPERATION
On platforms with the Unix filesystem and process security model, \*(TX has