> 1. Is it possible to do command line edit in rc?
> That is, in bash, both emacs and vi like keybindings can be used
> (thanks to readline library).  But in rc, I have not noticed that yet.
>  As a result, some basic usuages of a shell, such as recalling the
> previously executed commands, have to be done by mouse (snarf and
> paste).

command line editing is provided by acme in the case of win, or
rio(1) directly.  not hold mode entered by typing <esc>.

> 2. In non-interactive use (script programming), what's the main
> advantages of rc over sh/bash?

tom duff's original paper is in /sys/doc/rc.ps.  i don't think i can
make a better argument for rc than that.  personally, i think the
regularized grammer and quoting pay big dividends.  rc is also
small.  it's not hard to understand the virtual machine its built
around.  but you'll need to decide for your self.

- erik

Reply via email to