Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
plan9front_-_ed_network_configuration [2024/01/09 07:11] – [ed] %:! m( hc9 | plan9front_-_ed_network_configuration [2024/01/12 05:58] – +headline m( hc9 |
---|
| |
|% [[:plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam -d]]| Editing will be done with the command language only, as in //ed//.| | |% [[:plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam -d]]| Editing will be done with the command language only, as in //ed//.| |
| |
| |
=== Configuring a dynamic prompt === | === Configuring a dynamic prompt === |
| |
To have a prompt that shows your pwd and user name, add the following lines to your lib/profile. Place them in the 'case cpu' section replacing the cpu% prompt line | To have a prompt that shows your [[plan9front_-_fn_reply_and_prompt#prompt|pwd and user name]], add the following lines to your lib/profile. Place them in the 'case cpu' section, replacing the cpu% prompt line. |
| |
<code> | <code> |
| |
prompt=('['^`{pwd}^'] '^$sysname^'% ' ' ') | prompt=('['^`{pwd}^'] '^$sysname^'% ' ' ') |
fn cd {builtin cd $* && prompt=('['^`{pwd}^'] '^$sysname^'% ' ' ')} | fn cd {builtin cd $* && prompt=('['^`{pwd}^'] '^$sysname^'% ' ' ')} |
| |
<code> | <code> |
| |
% cd samtest | % cd samtest |
% cp /lib/ndb/local local-1ed | % cp /lib/ndb/local local-1ed |
| |
<code> | <code> |
| |
% ed local-1ed | % ed local-1ed |
291 | 291 |
| |
<code> | <code> |
| |
% cp /rc/bin/termrc.local termrc.local-1ed | % cp /rc/bin/termrc.local termrc.local-1ed |
% ed termrc.local-1ed | % ed termrc.local-1ed |
| |
<code> | <code> |
| |
% ed termrc.local-1ed | % ed termrc.local-1ed |
424 | 424 |
|Plan 9 Rc Survival Guide|http://sdf.org/?tutorials/Plan_9_rc| | |Plan 9 Rc Survival Guide|http://sdf.org/?tutorials/Plan_9_rc| |
| |
|[[http://doc.cat-v.org/plan_9/2nd_edition/README.html|README (slightly outdated)]] //If you think of it as UNIX, you'll often be frustrated because something doesn't exist or works differently//.| | ===== research ===== |
|[%%:!:%%] ((The [%%:!:%%] is interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) Opinion: //“Plan 9” is not a product, and is not intended to be. It is research – an experimental investigation into a different way of computing.//; //23/08/1988//; [[https://www.usenetarchives.com/view.php?id=comp.unix.wizards&mid=PDg0NkB5dW5leHVzLlVVQ1A%2B|Re: Plan 9?]] ((The ''comp.unix.wizards'' //Usenet Archives// link is a reference.)) (external link)| | |
| |x|[[http://doc.cat-v.org/plan_9/2nd_edition/README.html|README]] (slightly outdated) //If you think of it as UNIX, you'll often be frustrated because something doesn't exist or works differently//.| |
| |x|[%%:!:%%] ((The [%%:!:%%] is interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) Opinion: //“Plan 9” is not a product, and is not intended to be. It is research – an experimental investigation into a different way of computing.//; //23/08/1988//; [[https://www.usenetarchives.com/view.php?id=comp.unix.wizards&mid=PDg0NkB5dW5leHVzLlVVQ1A%2B|Re: Plan 9?]] ((The ''comp.unix.wizards'' //Usenet Archives// link is a reference.)) (external link)| |
| |