9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How to move to rc from sh/bash
@ 2008-02-09  7:53 Hongzheng Wang
  2008-02-09  8:01 ` mattmobile
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Hongzheng Wang @ 2008-02-09  7:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2008-02-20 15:55 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-09  7:53 [9fans] How to move to rc from sh/bash Hongzheng Wang
2008-02-09  8:01 ` mattmobile
2008-02-09  8:41   ` Hongzheng Wang
2008-02-09  8:57     ` mattmobile
2008-02-09  9:00 ` erik quanstrom
2008-02-09  9:21   ` Hongzheng Wang
2008-02-09 10:11 ` Charles Forsyth
2008-02-09 10:27   ` Lluís Batlle
2008-02-09 15:06     ` Uriel
2008-02-09 17:54     ` Charles Forsyth
2008-02-09 21:59       ` geoff
2008-02-09 13:00   ` Anthony Sorace
2008-02-10 16:59 ` Gorka Guardiola
2008-02-10 17:16   ` Pietro Gagliardi
2008-02-10 17:47     ` erik quanstrom
2008-02-10 18:12     ` Martin Neubauer
2008-02-11 15:04       ` erik quanstrom
2008-02-11 23:03         ` Martin Neubauer
2008-02-11 23:25           ` Pietro Gagliardi
2008-02-20 15:04             ` maht
2008-02-20 15:08               ` Federico G. Benavento
2008-02-20 15:24               ` erik quanstrom
2008-02-20 15:55                 ` maht
2008-02-11 23:59       ` Uriel
2008-02-12 11:57         ` Martin Neubauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).