User Tools

Site Tools


plan9front_-_ed_network_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plan9front_-_ed_network_configuration [2024/01/07 21:42] – [ed] archive example m( hc9plan9front_-_ed_network_configuration [2024/01/15 00:22] – [film] rm headl (m hc9
Line 3: Line 3:
 ===== rc: the  Plan 9 shell ===== ===== rc: the  Plan 9 shell =====
  
-    * **ctl-h** is backspace, kind of; **ctl-u** erases the current line. As seen, with the VPS Plan 9 console prompt **ctl-h** backspace, the screen output may not be what one would expect<sup>1</sup>.+    * **ctl-h** is backspace, kind of; **ctl-u** erases the current line. As seen, with the VPS Plan 9 console prompt **ctl-h** backspace, the screen output may not be what one would expect (([[http://sdf.org/?tutorials/Plan_9_rc|Control keys]] – Available at the SDF Boot Camp VPS server console prompt)).
     * To detach the Plan 9 console prompt (%), while retaining the ability to reattach it __without__ rebooting your server, press **ctl-]** to close the prompt (%). Then, press '**q**' to disconnect the VPS Maintenance Shell menu, and ssh connection. You can return again with another [[:plan9front_-_plan_9_instance_under_xen#default_pre-generated_installation|ssh]] to the allocated VPS server, an SDF VPS Maintenance Shell menu review, and a press on the "**c**" key to connect to the Plan 9 console prompt (%).     * To detach the Plan 9 console prompt (%), while retaining the ability to reattach it __without__ rebooting your server, press **ctl-]** to close the prompt (%). Then, press '**q**' to disconnect the VPS Maintenance Shell menu, and ssh connection. You can return again with another [[:plan9front_-_plan_9_instance_under_xen#default_pre-generated_installation|ssh]] to the allocated VPS server, an SDF VPS Maintenance Shell menu review, and a press on the "**c**" key to connect to the Plan 9 console prompt (%).
     * //**ed**// and "''% sam -d''" are available in the Plan 9 Image. They may be used for setting the DNS, or other tasks from the Plan 9 VPS console prompt (%), before Drawterm is accessible. An [[http://sdf.org/?tutorials/ed | ed cheat-sheet]] is available. Additional editors are operational from a [[:plan9front_-_drawterm_rio_and_stats#drawterm|Drawterm]] Rio rc prompt: acme, [[:plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam]], or ''% sam -d''.     * //**ed**// and "''% sam -d''" are available in the Plan 9 Image. They may be used for setting the DNS, or other tasks from the Plan 9 VPS console prompt (%), before Drawterm is accessible. An [[http://sdf.org/?tutorials/ed | ed cheat-sheet]] is available. Additional editors are operational from a [[:plan9front_-_drawterm_rio_and_stats#drawterm|Drawterm]] Rio rc prompt: acme, [[:plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam]], or ''% sam -d''.
  
 |% [[: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' sectionreplacing 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^'% ' ' ')}
Line 26: Line 26:
  
 <code> <code>
 +
   % cd samtest   % cd samtest
   % cp /lib/ndb/local local-1ed   % cp /lib/ndb/local local-1ed
Line 31: Line 32:
  
 <code> <code>
 +
   % ed local-1ed   % ed local-1ed
   291   291
Line 49: Line 51:
  
 <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
Line 54: Line 57:
  
 <code> <code>
 +
   % ed termrc.local-1ed   % ed termrc.local-1ed
   424   424
Line 74: Line 78:
 === network configuration === === network configuration ===
  
-<sup>1</sup> [[http://sdf.org/?tutorials/Plan_9_rc|Control keys -- Available at the SDF Boot Camp VPS server console prompt]]+[[http://sdf.org/?tutorials/Plan_9_rc|Control keys]] – Available at the SDF Boot Camp VPS server console prompt |
  
 Editor reference: Editor reference:
Line 82: Line 86:
 |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 ===== 
-|**Opinion:** ((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. :!:)) [[https://www.usenetarchives.com/view.php?id=comp.unix.wizards&mid=PDg0NkB5dW5leHVzLlVVQ1A%2B|Re: Plan 9?]] ((The external //Usenet Archives// link is provided for illustration.)) //“Plan 9” is not product, and is not intended to be.// (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//(external link)
 +|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)| 
 +|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:!:)) //"[[plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam]]" is basically superset of the "jim" mouse-oriented editorwith a more extensive command language and many improvements.//; //14/03/1987//; [[https://www.usenetarchives.com/view.php?id=comp.unix.wizards&mid=PDQ5NTJAYnJsLWFkbS5BUlBBPg|DMD (Teletype 5620) software]] ((The ''comp.unix.wizards'' //Usenet Archives// link is a reference.)). [[https://man.cat-v.org/unix_8th/9/jim|jim - text editor]], [[wp>Blit_(computer_terminal)| Teletype DMD 5620]] (external link)| 
  
plan9front_-_ed_network_configuration.txt · Last modified: 2024/01/15 00:24 by hc9