Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
vps_-_plan_9 [2021/01/15 23:52] – [Plan 9 on an SDF VPS] hc9 | vps_-_plan_9 [2021/10/06 08:17] – [Drawterm] hc9 |
---|
=== About === | === About === |
| |
This is the [[#plan_9_on_an_sdf_vps|2nd]]<sup>1</sup> tutorial for setting-up the Plan 9 from Bell Labs operating system in a VPS slice on SDF. This tutorial was aimed at participants in the SDF [[#plan_9_boot_camp|Plan 9 Boot Camp]] including //9front PARODY//<sup>2</sup>, but should be useful for SDF VPS user review. More recently<sup>3</sup>, the //Boot Camp// participants are studying [[vps_-_9front#about|virtualized amd64 9front, located on another VPS]]. __If you were using the //9front PARODY// VPS__, thank you for your participation. Take me to the SDF [[vps_-_plan_9_9front|VPS - Plan 9 / 9Front]] home, includes html and wiki tutorial links. | This is the [[#plan_9_on_an_sdf_vps|2nd]]<sup>1</sup> tutorial for setting-up the Plan 9 from Bell Labs operating system in a VPS slice on SDF. This tutorial was aimed at participants in the SDF [[#plan_9_boot_camp|Plan 9 Boot Camp]] including //9front PARODY//<sup>2</sup>, but should be useful for SDF VPS user review. More recently<sup>3</sup>, the //Boot Camp// participants are studying [[vps_-_9front#about|virtualized amd64 9front, located on another VPS]]. __If you were using the //9front PARODY// VPS__, thank you for your participation. A redirect to the SDF [[vps_-_plan_9_9front|VPS - Plan 9 / 9Front]] home, includes SDF html and wiki tutorial links. |
| |
<sup>1</sup> Several HTML tutorials are [[#other|mentioned]], including [[https://sdf.org/tutorials/VPS_Plan9.html]], the **primary** //Plan 9 on SDF VPS// tutorial. <sup>2</sup> //9front PARODY// VPS //Boot Camp// image will shutdown. <sup>3</sup> [[vps_-_9front#sdf_boot_camp_communication_resources|Recent communication about the Boot Camp amd64 9front VPS]]. | <sup>1</sup> Several HTML tutorials are [[#other|mentioned]], including [[https://sdf.org/tutorials/VPS_Plan9.html]], the **primary** //Plan 9 on SDF VPS// tutorial. <sup>2</sup> //9front PARODY// VPS //Boot Camp// image will shutdown. <sup>3</sup> [[vps_-_9front#sdf_boot_camp_communication_resources|Recent communication about the Boot Camp amd64 9front VPS]]. |
==== Getting Involved ==== | ==== Getting Involved ==== |
| |
Plan 9 has active communities which mostly interact by email. You are encouraged to join the //[[http://mail.9fans.net/listinfo/9fans|9fans mailing list]]// where discussion about Plan 9, and related technologies occur. | Plan 9 has active communities which mostly interact by email. You are encouraged to join the //[[https://9p.io/wiki/plan9/mailing_lists|9fans mailing list]]// where discussion about Plan 9, and related technologies occur. |
| |
SDF hosts the //plan9-l// mailing list for participants in the Plan 9 Boot Camp. Email '[[=finding_help|majordomo]]' and 'subscribe plan9-l' to join. | SDF hosts the //plan9-l// mailing list for participants in the Plan 9 Boot Camp. Email '[[=finding_help|majordomo]]' and 'subscribe plan9-l' to join. |
Of the various VPS that SDF offers<sup>1</sup>, the SDF Plan 9 Boot Camp VPS is the only VPS provided without subscription, to SDF MetaARPA<sup>2</sup> members. The [[#plan_9_boot_camp|Boot Camp]] VPS slice includes cluster access to the SDF Plan 9 Community 9p server. With your help, Plan 9 participation at SDF can continue to promote networking, learning and participation. To request an SDF Boot Camp Plan 9 VPS, type "//plan9//" at the SDF shell<sup>3</sup> (''$ plan9''). | Of the various VPS that SDF offers<sup>1</sup>, the SDF Plan 9 Boot Camp VPS is the only VPS provided without subscription, to SDF MetaARPA<sup>2</sup> members. The [[#plan_9_boot_camp|Boot Camp]] VPS slice includes cluster access to the SDF Plan 9 Community 9p server. With your help, Plan 9 participation at SDF can continue to promote networking, learning and participation. To request an SDF Boot Camp Plan 9 VPS, type "//plan9//" at the SDF shell<sup>3</sup> (''$ plan9''). |
| |
<sup>1</sup> [[http://sdf1.org/index.cgi?vps|VPS]] membership required. <sup>2</sup> Type "//meta//" at the SDF shell (''$ meta'') for details. <sup>3</sup> [[https://sdf.org/|UNIX Shell Account]]. | <sup>1</sup> [[https://sdf.org/?join|VPS]] membership, or [[https://sdf.org/?subscribe|participation]], required. <sup>2</sup> Type "//meta//" at the SDF shell (''$ meta'') for details. <sup>3</sup> [[https://sdf.org/|UNIX Shell Account]]. |
| |
===== Install ===== | ===== Install ===== |
|''$ ./drawterm --help''|''usage: drawterm [-GBO] [**-h** host] [**-u** user] [**-a** authserver] [-s secstore] [-e 'crypt hash'] [-k keypattern] [-p] [-t timeout] [-r root] [-c cmd ...]''| | |''$ ./drawterm --help''|''usage: drawterm [-GBO] [**-h** host] [**-u** user] [**-a** authserver] [-s secstore] [-e 'crypt hash'] [-k keypattern] [-p] [-t timeout] [-r root] [-c cmd ...]''| |
| |
<sup>1</sup> //Drawterm is a X11 application that allows one to connect to a remote Plan 9 server...; a graphical client for Plan 9 CPU servers//. https://directory.fsf.org/wiki/Drawterm <sup>2</sup> DRAWTERM http://drawterm.9front.org | <sup>1</sup> //Drawterm is a X11 application that allows one to connect to a remote Plan 9 server...; a graphical client for Plan 9 CPU servers//. https://directory.fsf.org/wiki/Drawterm <sup>2</sup> DRAWTERM http://git.9front.org/plan9front/drawterm |
| |
==== Getting Started with Drawterm ==== | ==== Getting Started with Drawterm ==== |
| |
<sup>1</sup> Obtain the source code from http://swtch.com/drawterm/ <sup>2</sup> Drawterm is available as a package for many Linux-based distributions. <sup>3</sup> The file may be missing for a [[#adding_a_user|new user]]. It can be copied with "''% cp /usr/glenda/readme.rio readme.rio''". <sup>4</sup> ''% riostart'' https://sdf.org/tutorials/VPS_Plan9.html#riostart <sup>5</sup> //You should now see a grey screen. This is rio, the Plan 9 window manager//. http://doc.cat-v.org/plan_9/misc/rit-intro | <sup>1</sup> Obtain the source code from http://swtch.com/drawterm/ <sup>2</sup> Drawterm is available as a package for many Linux-based distributions. <sup>3</sup> The file may be missing for a [[#adding_a_user|new user]]. It can be copied with "''% cp /usr/glenda/readme.rio readme.rio''". <sup>4</sup> ''% riostart'' https://sdf.org/tutorials/VPS_Plan9.html#riostart <sup>5</sup> //You should now see a grey screen. This is rio, the Plan 9 window manager//. http://doc.cat-v.org/plan_9/misc/rit-intro |
| |
| ==== rio customization ==== |
| |
| When you have found a window layout that you like, you might like that persisted between sessions, so that you don't have to place the windows again. We can start rio using multiple ways. When we drawterm in our 9front vps the ''$home/lib/profile'' script is executed. Since the service type (''echo $service'') is of type //cpu// we see that rio is started as ''rio -i riostart'' . Looking at the manual page we see that the -i option takes certain "window" commands that instruct rio in what positions to load the windows and which application to run in them, it also mentions the ''wloc'' command which prints the window layout for the current session. By putting the contents of wloc in the ''$home/bin/rc/riostart'' script then we can have a persistent layout on all rio sessions. |
| |
| {{::wloc.png?800|}} |
| |
===== Plan 9 Applications ===== | ===== Plan 9 Applications ===== |
* Self Guided Discoveries in: 9fans mailing list and faces | * Self Guided Discoveries in: 9fans mailing list and faces |
| |
During the SDF Plan 9 Boot Camp you are encouraged to make screenshots and videos of your Self Guided Discoveries and share your experiences on //plan9-l// to inspire others to do the same. Participants in the Plan 9 Boot Camps also get a contrib directory on //[[ftp://ftp.sdf.org|ftp.sdf.org]]// (in pub/sdf/plan9/contrib). This directory persists and can be used perpetually for Plan 9 related sharing. | During the SDF Plan 9 Boot Camp you are encouraged to make screenshots and videos of your Self Guided Discoveries and share your experiences on //plan9-l// to inspire others to do the same. Participants in the Plan 9 Boot Camps also get a contrib directory on ''<nowiki>ftp://ftp.sdf.org</nowiki>'' (in //pub/sdf/plan9/contrib//). This directory persists and can be used perpetually for Plan 9 related sharing. |
| |
==== Boot Camp Discoveries or Challenges ==== | ==== Boot Camp Discoveries or Challenges ==== |
* [[http://doc.cat-v.org/plan_9/misc/rit-intro|RIT Plan 9 introduction]] | * [[http://doc.cat-v.org/plan_9/misc/rit-intro|RIT Plan 9 introduction]] |
* [[https://web.archive.org/web/20170601065710/http://plan9.bell-labs.com/wiki/plan9/UNIX_to_Plan_9_command_translation/index.html|Plan 9 commands for UNIX users]] | * [[https://web.archive.org/web/20170601065710/http://plan9.bell-labs.com/wiki/plan9/UNIX_to_Plan_9_command_translation/index.html|Plan 9 commands for UNIX users]] |
| * [[https://pspodcasting.net/dan/blog/2019/plan9_desktop.html|Dan Simon Myrland's Plan9 Desktop guide]] |
==== Utilities ==== | ==== Utilities ==== |
* [[https://web.archive.org/web/20080616071532/http://cm.bell-labs.com/sys/man/|Manual pages]] | * [[https://web.archive.org/web/20080616071532/http://cm.bell-labs.com/sys/man/|Manual pages]] |
==== Books ==== | ==== Books ==== |
| |
* [[http://lsub.org/who/nemo/9.intro.pdf|Introduction to Operating Systems Abstractions Using Plan 9 from Bell Labs [PDF]]] | * [[https://archive.org/details/plan9designintro|Introduction to Operating Systems Abstractions Using Plan 9 from Bell Labs]] - (external archive; PDF) |
| |
---- | ---- |
| |
[[https://sdf.org/tutorials/VPS_Plan9.html]] - (legacy tutorials location, compatible with [[#browsing_the_web|abaco]]) | [[https://sdf.org/tutorials/VPS_Plan9.html]] - (traditional tutorial using [[wp>Revision_Control_System|RCS]], compatible with [[#browsing_the_web|abaco]]) |
| |