Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
vps_-_plan9front_-_ed_network_configuration [2022/07/19 19:20] – [ed] shriver | vps_-_plan9front_-_ed_network_configuration [2022/07/19 19:30] – [rc: the Plan 9 shell] shriver |
---|
* 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 (%). | * 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''. | * //**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//.| |
| |
| |
=== 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 |
| |
<code> | <code> |
</code> | </code> |
| |
|% [[:vps_-_plan9front_-_acme_sam_abaco_mothra_and_man#sam|sam -d]]| Editing will be done with the command language only, as in //ed//.| | These lines update the prompt, and replace the 'cd' command so that the prompt is updated each time you change a directory. |
| |
===== ed ===== | ===== ed ===== |