User Tools

Site Tools


vps_-_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 revisionBoth sides next revision
vps_-_plan9front_-_ed_network_configuration [2022/07/19 19:14] – [ed, network configuration] shrivervps_-_plan9front_-_ed_network_configuration [2022/07/19 19:20] – [ed] shriver
Line 1: Line 1:
 ====== rc, ed, network configuration ====== ====== rc, ed, network configuration ======
 +
 +===== 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>.
 +    * 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 [[:vps_-_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 [[:vps_-_plan9front_-_drawterm_rio_and_stats#drawterm|Drawterm]] Rio rc prompt: acme, [[:vps_-_plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam]], or ''% sam -d''.
 +
 +=== Configuring a dynamic prompt ===
 +
 +<code>
 +prompt=('['^`{pwd}^'] '^$sysname^'% ' ' ')
 +fn cd {builtin cd $* && prompt=('['^`{pwd}^'] '^$sysname^'% ' ' ')}
 +</code>
 +
 +|% [[:vps_-_plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam -d]]| Editing will be done with the command language only, as in //ed//.|
 +
  
 ===== ed ===== ===== ed =====
Line 53: Line 69:
  
 === network configuration === === network configuration ===
- 
-=== 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>. 
-    * 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 [[:vps_-_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 [[:vps_-_plan9front_-_drawterm_rio_and_stats#drawterm|Drawterm]] Rio rc prompt: acme, [[:vps_-_plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam]], or ''% sam -d''. 
- 
-|% [[:vps_-_plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam -d]]| Editing will be done with the command language only, as in //ed//.| 
  
 <sup>1</sup> [[http://sdf.org/?tutorials/Plan_9_rc|Control keys -- Available at the SDF Boot Camp VPS server console prompt]] <sup>1</sup> [[http://sdf.org/?tutorials/Plan_9_rc|Control keys -- Available at the SDF Boot Camp VPS server console prompt]]