Hi all,

Since I was used to sh/bash in Linux, the default shell of Plan9 rc
seems not so convenient for me at first.  After learning some
illustrated differences between these two shell in the document [1]
and also the manpage of rc, I obtained some knowledge of rc and can do
some nontrivial things with it.  But I still feel some necessary,
powerful usages are lacked.  Specifically, I have questions as
follows:
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).

2. In non-interactive use (script programming), what's the main
advantages of rc over sh/bash?
Just like other utitlies, say sam and acme, provided by Plan9, I
believe rc should also have outstanding features.  Could you please
point them out?

Thank you all in advance.

[1] 
http://plan9.bell-labs.com/wiki/plan9/Unix_to_Plan_9_command_translation/index.html

-- 
HZ

Reply via email to