picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

commit 643d419a8ad91f2aa19bc282598be68d869d7f20
parent 6ef3d3dd138505c4bf2f3b57d0b5d6dedb09d677
Author: Alexander Burger <abu@software-lab.de>
Date:   Wed, 28 Nov 2012 14:16:00 +0100

Tell about (em) and (vi) in reference manual
Diffstat:
Mdoc/ref.html | 20++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/doc/ref.html b/doc/ref.html @@ -600,8 +600,8 @@ $ pil myProject.l -main </code></pre> <p>For interactive development it is recommended to enable debugging mode, to -get the vi-style command line editor, single-stepping, tracing and other -debugging utilities. +get the vi-style line editor, single-stepping, tracing and other debugging +utilities. <pre><code> $ pil myProject.l -main + @@ -625,6 +625,22 @@ the path to "lib.l" as called by 'pil' or 'dbg') is remembered internally as the any leading "<code>@</code>" character in file name arguments to I/O functions (see <code><a href="refP.html#path">path</a></code>). +<p>Instead of the default vi-style line editor, an emacs-style editor can be +used. It can be switched on permanently by calling the function +<code>(em)</code> (i.e. without arguments), or by passing <code>-em</code> on +the command line: + +<pre><code> +$ pil -em + +: +</code></pre> + +<p>A single call is enough, because the style will be remembered in a file +"~/.pil/editor", and used in all subsequent PicoLisp sessions. + +<p>To switch back to 'vi' style, call <code>(vi)</code>, use the +<code>-vi</code> command line option, or simply remove "~/.pil/editor". + <p><hr> <h3><a name="io">Input/Output</a></h3>