Both sides previous revisionPrevious revision | |
playground:boot_camp_9p_resource [2022/06/24 16:57] – [Tutorials] hc9 | playground:boot_camp_9p_resource [2022/06/24 17:30] (current) – removed hc9 |
---|
====== Boot Camp 9p resource ====== | |
| |
|x| https://9p.sdf.org //(an amd64 plan9front<sup>1</sup> complement to the SDF Plan 9 Boot Camp<sup>2</sup>)//| | |
| |
The [[https://9p.sdf.org|9p.sdf.org]] rio rc prompt is accessable with [[:vps_-_9front#front_drawterm|9front Drawterm]] or [[:vps_-_9front#a_9front_rcpu_application|an rcpu connection]]. A //9p.sdf.org// user name (-u USER) is required. | |
| |
<code> | |
$ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER | |
</code> | |
| |
|//Optional:// ''drawterm -h 9p.sdf.org -u USER''| | |
|//[[:vps_-_plan9front_-_drawterm_rio_and_stats#drawterm|Optional]]:// ''drawterm -a 9p.sdf.org -h 9p.sdf.org **-p** -u USER''| | |
| |
A Drawterm rc prompt (without rio; //teletype only//): | |
<code> | |
$ ./drawterm -G -h 9p.sdf.org -u USER | |
</code> | |
| |
|x|A Drawterm [[:vps_-_9front#drawterm_and_file_transfer|file transfer]] hint:|''% lc /mnt/term''| | |
| |
=== Possible "Tea Note" Presentation commands from the 9p rio rc prompt (%). === | |
| |
|bboard:|''bboard [-nps] [-r n]''|9p contrib directory| | |
|broke:|''broke [ user ]'' - broken processes go away|http://man.9front.org/1/kill| | |
|castor:|''castor [address]'' - A Gemini browser for Plan 9| | | |
|com:|com - An early version of commode|9p contrib directory| | |
|df:|''df'' - disk usage|9p contrib directory| | |
|dircp:|tar, dircp - archiver|http://man.9front.org/1/tar| | |
|auth/factotum:|factotum, fgui, userpasswd - authentication agent<sup>3</sup>|http://man.9front.org/4/factotum| | |
|figlet:|FIGlet - display large characters made up of ordinary screen characters| | | |
|find:|''find [-1dfq] [path ...]''|9p contrib directory| | |
|finger:|''toe'' - A very basic finger client for plan9/9front.| | | |
|mkhomepg:| |9p contrib directory| | |
|mug:|''mug'' - convert an image to a face icon|http://man.9front.org/1/mug| | |
|p:|''p'' - paginate|http://man.9front.org/1/p| | |
|top:| |9p contrib directory| | |
|tweak:|''tweak'' - edit image files, subfont files, face files, etc.|http://man.9front.org/1/tweak| | |
|upas/fs -f:|upasfs - mail file server|http://man.9front.org/4/upasfs| | |
|vdir:|''vdir [-r] [directory]'' //If the ''-r'' flag is passed, delete will recursively delete directories. (A minimalistic visual directory browser for Plan9.)//|9p contrib directory| | |
|who:|who, whois - who is using the machine|http://man.9front.org/1/who| | |
| |
===== bboard example ===== | |
| |
A [[:vps_-_plan9front_-_bboard_and_castor#p_bboard_acme_example|bboard acme example]]. | |
| |
===== date and time example ===== | |
| |
|x|A scheduled Plan 9 Boot Camp [[:vps_-_plan_9_9front#tea_note_guide|TEA NOTE]]| | |
|x|Start the clock in a rio rc window.| | |
| |
<code> | |
cpu% cp /adm/timezone/US_Pacific /env/timezone && clock.amber | |
</code> | |
| |
//The command will pick up the new timezone, but nothing already running or not sharing the environment will be affected.// | |
| |
===== broke example ===== | |
| |
<code> | |
cpu% psu -a | grep Broke | |
</code> | |
| |
<code> | |
cpu% broke | |
</code> | |
| |
<code> | |
cpu% broke $user | |
</code> | |
| |
===== commode example ===== | |
| |
<code> | |
cpu% com | |
| |
@help | |
commode version 6 | |
| |
@h help | |
@f finger user | |
@l list rooms | |
@p peek into a room | |
@g goto a room | |
@w who | |
@i idlers | |
@r review 50 lines | |
@R review N lines | |
@u post a shortened url | |
@a aNONradio schedule | |
@q quit | |
: emote | |
! run a command | |
| |
</code> | |
| |
//Run ''com'' in a rio rc window, rather than a vt, to benefit from the Plan 9 <nowiki>I/O</nowiki>.// | |
| |
===== face example ===== | |
| |
A [[:vps_-_plan9front_-_mailing_and_faces|face (create and install) example]]. | |
| |
===== castor example ===== | |
| |
A [[:vps_-_plan9front_-_bboard_and_castor#p_castor_example|castor example]]. | |
| |
<code> | |
cpu% castor gemini://sdf.org | |
</code> | |
| |
===== 9p mail example ===== | |
| |
A detailed [[:vps_-_plan9front_-_mailing_and_faces#p_mail|9p mail example]]. | |
| |
===== 9p rio rc prompt example ===== | |
| |
<code> | |
cpu% echo $prompt | |
cpu% | |
cpu% prompt='9p: ' | |
9p: | |
9p: echo $prompt | |
9p: | |
9p: prompt='⑨p: ' | |
⑨p: | |
</code> | |
| |
===== 9p html directory example ===== | |
| |
//''mkhomepg''// is used to automate the process. The process includes a 5 to 10 minute wait after //''mkhomepg''// & //''touch''//, once a background task is preformed. | |
| |
|<del>''cpu% mkdir /usr/$user/html''</del>| | |
| |
<code> | |
cpu% mkhomepg | |
</code> | |
| |
<code> | |
cpu% touch /usr/$user/html/index.html | |
</code> | |
| |
<code> | |
cpu% sed 10q /usr/$user/html/example.html | |
<html> | |
<body> | |
<h6>1st example</h6> | |
| |
<pre> | |
2nd example | |
</pre> | |
| |
</body> | |
</html> | |
cpu% | |
</code> | |
| |
|''mothra -k <nowiki>https://9p.sdf.org/who/$user/index.html</nowiki>''| | |
|''mothra -k <nowiki>https://9p.sdf.org/~$user</nowiki>''| | |
|//''<nowiki>https://9p.sdf.org/who/</nowiki>''// links to all of the active homepages.| | |
| |
===== 9p gemini index location ===== | |
| |
<code> | |
cpu% touch /usr/$user/html/index.gem | |
</code> | |
| |
|''castor <nowiki>gemini://9p.sdf.org/who/$user/index.gem</nowiki>''| | |
| |
<sup>1</sup> plan9front running natively on hardware. <sup>2</sup> NetBSD Xen [] running Plan 9 Boot Camp participants' VMs, during the announced Plan 9 Boot Camp occurrences. <sup>3</sup> [[https://9p.io/sys/doc/auth.html|Security in Plan 9]]; //The user may or may not have a secure store in which all his keys are kept.// | |
| |
| |
| |
| |
| |
===== Reference book ===== | |
| |
|x|Introduction to Operating Systems Abstractions [[https://archive.org/details/plan9designintro|Using Plan 9 from Bell Labs]] (pdf; external archive)| | |
|x|Previous dedicated links are located at the [[:vps_-_plan_9_9front#links|VPS Plan 9 / 9front]] tutorial. (wiki)| | |
| |
===== Conclusion or close ===== | |
| |
The wiki formatting used in this tutorial was reviewed with the SDF Plan 9 Boot Camp plan9front mothra browser, and the mothra option '-k': ''% mothra -k''. The intention was to support those SDF Plan 9 Boot Camp participants who may participate (in the Boot Camp) with a low-speed Internet connection. The outcome of the mentioned formatting decision is pending the approval of future wiki editors. Have fun. | |
| |