Both sides previous revisionPrevious revisionNext revision | Previous revision |
boot_camp_9p_resource [2023/10/23 03:32] – [9p html directory example] hc9 | boot_camp_9p_resource [2024/09/27 00:23] (current) – [Boot Camp 9p resource] ro: hc9 |
---|
====== Boot Camp 9p resource ====== | ====== 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>)//| | |x| https://9p.sdf.org //(an amd64 plan9front ((plan9front running natively on hardware.)) complement to the SDF Plan 9 Boot Camp ((NetBSD Xen [] running Plan 9 Boot Camp participants' VMs, during the announced Plan 9 Boot Camp occurrences.)))//| |
|x|SDF Plan 9 [[vps_-_9front#communication_resources|Boot Camp 9p communication resources]] (please ask for help)| | |x|SDF Plan 9 [[vps_-_9front#communication_resources|Boot Camp 9p communication resources]] (please ask for help)| |
| |
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. | 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> | <code> |
| |
$ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER | $ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER |
</code> | </code> |
| |
|//Optional:// ''drawterm -h 9p.sdf.org -u USER''||| | |//Optional:// ''drawterm -h 9p.sdf.org -u USER''||| |
|//[[:plan9front_-_drawterm_rio_and_stats#drawterm|Optional]]:// ''drawterm -a 9p.sdf.org -h 9p.sdf.org **-p** -u USER''|//[[plan9front_-_drawterm_rio_and_stats#persistent_network|persistent network]]//|| | |//[[plan9front_-_drawterm_rio_and_stats#drawterm|Optional]]:// ''drawterm -a 9p.sdf.org -h 9p.sdf.org **-p** -u USER''|//[[plan9front_-_drawterm_rio_and_stats#persistent_network|persistent network]]//|| |
| |
A Drawterm rc prompt (without rio; //teletype only//): | A Drawterm rc prompt (without rio; //teletype only//): |
| |
<code> | <code> |
| |
$ ./drawterm -G -h 9p.sdf.org -u USER | $ ./drawterm -G -h 9p.sdf.org -u USER |
</code> | </code> |
| |
|x|A Drawterm [[:vps_-_9front#drawterm_and_file_transfer|file transfer]] hint:|''% lc /mnt/term''| | |x|A Drawterm [[vps_-_9front#drawterm_and_file_transfer|file transfer]] hint:|''% lc /mnt/term''| |
| |
|x|//Please use the chmod(1) command to restrict file permissions in your home directory (/usr/USERNAME)//.| | |x|//Please use the chmod(1) command to restrict file permissions in your home directory (/usr/USERNAME)//.| |
| |
% lc -l /usr | grep rwxr-xr-x | % lc -l /usr | grep rwxr-xr-x |
| |
</code> | </code> |
| |
| | [%%:!:%%] ((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. :!:)) The ''%%9p.sdf.org%%'' server is ((SDF members may avoid this **''[Plan 9]''** server‚ if seeking [[wp>Parity|parity]] with the mentioned references: [[https://plan9.io/wiki/plan9/plan_9_wiki/|reference]] or [[https://wiki.9front.org/|reference]]. [%%:!:%%] //external links//)) shared with other users. The **//restrict file permissions//**\\ usage may vary depending on the user application. Please [[membership_levels#arpa|apply]], and **caution** if\\ testing a modified [[boot_camp_9p_resource#p_mail_example|email]] configuration. | |
| |
=== Possible "Tea Note" Presentation commands from the 9p rio rc prompt (%). === | === Possible "Tea Note" Presentation commands from the 9p rio rc prompt (%). === |
| |
| |astro:|astro - print astronomical information|http://man.9front.org/7/astro| |
|battleship:|bts, btsd - multi-user on-line battleship (sink the fleet)|9p man page battleship(1)| | |battleship:|bts, btsd - multi-user on-line battleship (sink the fleet)|9p man page battleship(1)| |
|bboard:|''bboard [-nps] [-r n]''|9p contrib directory| | |bboard:|''bboard [-nps] [-r n]''|9p contrib directory| |
|df:|''df'' - disk usage|9p contrib directory| | |df:|''df'' - disk usage|9p contrib directory| |
|dircp:|tar, dircp - archiver|http://man.9front.org/1/tar| | |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| | |auth/factotum:|factotum, fgui, userpasswd - authentication agent (([[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.//))|http://man.9front.org/4/factotum| |
|figlet:|FIGlet - display large characters made up of ordinary screen characters| | | |figlet:|FIGlet - display large characters made up of ordinary screen characters| | |
|file: |file - determine file type|http://man.9front.org/1/file| | |file: |file - determine file type|http://man.9front.org/1/file| |
|finger:|''toe'' - A very basic finger client for plan9/9front.| | | |finger:|''toe'' - A very basic finger client for plan9/9front.| | |
|fmt: |fmt, htmlfmt - simple text formatters|http://man.9front.org/1/fmt| | |fmt: |fmt, htmlfmt - simple text formatters|http://man.9front.org/1/fmt| |
| |lookman: |man, lookman, sig - print or find pages of this manual|http://man.9front.org/1/man| |
|mkhomepg:| |9p contrib directory| | |mkhomepg:| |9p contrib directory| |
|mug:|''mug'' - convert an image to a face icon|http://man.9front.org/1/mug| | |mug:|''mug'' - convert an image to a face icon|http://man.9front.org/1/mug| |
===== bboard example ===== | ===== bboard example ===== |
| |
A [[:plan9front_-_bboard_and_castor#p_bboard_acme_example|bboard acme example]]. | A [[plan9front_-_bboard_and_castor#p_bboard_acme_example|bboard acme example]]. |
| |
===== date and time example ===== | ===== date and time example ===== |
| |
|x|A scheduled Plan 9 Boot Camp [[:plan_9_9front#tea_note_guide|TEA NOTE]]| | |x|A scheduled Plan 9 Boot Camp [[plan_9_9front#tea_note_guide|TEA NOTE]]| |
|x|Start the clock in a rio rc window.| | |x|Start the clock in a rio rc window.| |
| |
<code> | <code> |
| |
cpu% cp /adm/timezone/US_Pacific /env/timezone && clock.amber | cpu% cp /adm/timezone/US_Pacific /env/timezone && clock.amber |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% psu -a | grep Broke | cpu% psu -a | grep Broke |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% broke | cpu% broke |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% broke $user | cpu% broke $user |
</code> | </code> |
===== commode example ===== | ===== commode example ===== |
| |
|**1.**|Avoid using a "**:**" (colon) in the 9p com //emote// text.|| | |**1.**|Avoid using a “**:**” (colon) in the 9p com //emote// text.|| |
|a.|//The sequence for entering// ☺ //on an IBM keyboard is// ''ALT-:-%%)%%''.|[[plan9front_-_unicode_utf_and_fontviewer#keyboard|keyboard]]| | |a.|//The sequence for entering// ☺ //on an IBM keyboard is// ''ALT-:-%%)%%''.|[[plan9front_-_unicode_utf_and_fontviewer#keyboard|keyboard]]| |
| |
<code> | <code> |
| |
cpu% com | cpu% com |
| |
===== face example ===== | ===== face example ===== |
| |
A [[:plan9front_-_mailing_and_faces|face (create and install) example]]. | A [[plan9front_-_mailing_and_faces|face (create and install) example]]. |
| |
===== castor example ===== | ===== castor example ===== |
| |
A [[:plan9front_-_bboard_and_castor#p_castor_example|castor example]]. | A [[plan9front_-_bboard_and_castor#p_castor_example|castor example]] ((A [[membership_levels#users|validated]] SDF user can create their own __[[gemini_site_setup_and_hosting_features#getting_started|Gemini space]]__‚ in addition an occasional //[[plan9front_-_bboard_and_castor#gemini|Gemini example]]//.)) ((The infrequent //[[plan9front_-_bboard_and_castor#gemini|Gemini example]]// is dependent on schedule availability.)). |
| |
<code> | <code> |
| |
cpu% castor gemini://sdf.org | cpu% castor gemini://sdf.org |
</code> | </code> |
| |
| |
===== 9p rio rc prompt example ===== | ===== 9p rio rc prompt example ===== |
| |
<code> | <code> |
| |
cpu% echo $prompt | cpu% echo $prompt |
cpu% | cpu% |
===== 9p html directory example ===== | ===== 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. Review [[https://9p.sdf.org/who/|9p.sdf.org]] for a static review of the //''mkhomepg''// results <sup>4</sup>. | //''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. Review [[https://9p.sdf.org/who/|9p.sdf.org]] for a static review of the //''mkhomepg''// results ((The process may take longer, a few hours, or days.)). |
| |
|<del>''cpu% mkdir /usr/$user/html''</del>| | | <del>''cpu% mkdir /usr/$user/html''</del> | **Avoid** ''//mkdir//''; the //Strike-through Text// is a reference. | |
| |
<code> | <code> |
| |
cpu% mkhomepg | cpu% mkhomepg |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% touch /usr/$user/html/index.html | cpu% touch /usr/$user/html/index.html |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% sed 10q /usr/$user/html/example.html | cpu% sed 10q /usr/$user/html/example.html |
<html> | <html> |
</body> | </body> |
</html> | </html> |
cpu% | cpu% |
</code> | </code> |
| |
|**1.**| A //<title>//title//</title>// is not necessary for the default. | | ^ optional ^^ |
| |**1.**| A //<title>//title//</title>// is not necessary for the default. ((The default description is //my internet homepage//.)) ((A [[membership_levels#users|validated]] SDF user can create __[[building_a_website_on_sdf|their own website]]__‚ in addition to the //[[https://9p.sdf.org/who/|internet homepage]]//.)) | |
|a.| Although, //<title>//a_title_that_speaks_completely//</title>//\\ must have contiguous characters. | | |a.| Although, //<title>//a_title_that_speaks_completely//</title>//\\ must have contiguous characters. | |
|i.| A request to repair the //<title></title>// was acknowledged\\ during the Tea Note. | | |i.| A request to repair the //<title></title>// was acknowledged\\ during the Tea Note. | |
| |
<code> | <code> |
| |
cpu% touch /usr/$user/html/index.gem | cpu% touch /usr/$user/html/index.gem |
</code> | </code> |
| |
^Further 9p //gemini// functionality detail, or inquiry, may occur during the upcoming Plan 9 Boot Camp.^^ | ^ Further 9p //gemini// functionality detail ((An infrequent //[[plan9front_-_bboard_and_castor#gemini|Gemini server example]]// is dependent on schedule availability.)), or inquiry, may occur during the upcoming Plan 9 Boot Camp. ^^ |
|<del>''castor <nowiki>gemini://9p.sdf.org/who/$user/index.gem</nowiki>''</del>|SDF Plan 9 Boot Camp [[plan_9_9front#plan_9_boot_camp|event and information]]| | |<del>''castor <nowiki>gemini://9p.sdf.org/who/$user/index.gem</nowiki>''</del>|SDF Plan 9 Boot Camp [[plan_9_9front#plan_9_boot_camp|event and information]]| |
| |
<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.// <sup>4</sup> The process may take longer, a few hours, or days. | |
| |
===== 9p mail example ===== | ===== 9p mail example ===== |
| |
A detailed [[:plan9front_-_mailing_and_faces#p_mail|9p mail example]]. | A detailed [[plan9front_-_mailing_and_faces#p_mail|9p mail example]]. |
| |
===== default 9p lib/profile ===== | ===== default 9p lib/profile ===== |
|x|Optional: the $user can omit the //webcookies//, //webfs//, //plumber//, and //upas/fs// lines to reduce number of processes initially, starting programs manually when needed.| | |x|Optional: the $user can omit the //webcookies//, //webfs//, //plumber//, and //upas/fs// lines to reduce number of processes initially, starting programs manually when needed.| |
| |
^program^grouping commands^^ | ^ program ^ grouping commands ^^ |
|//abaco//|''webfs;abaco''|| | |//abaco//|''webfs;abaco''|| |
|//acme//|''plumber;upas/fs;acme''|| | |//acme//|''plumber;upas/fs;acme''|| |
| |
<code> | <code> |
| |
cpu% ps | awk '$1 !~ /^(glenda|none|upas)$/ { print $1 }' | sort | uniq -c | sort -n | cpu% ps | awk '$1 !~ /^(glenda|none|upas)$/ { print $1 }' | sort | uniq -c | sort -n |
</code> | </code> |
===== vt and ssh example ===== | ===== vt and ssh example ===== |
| |
^Command^ Option^ Manual^ | ^ Command ^ Option ^ Manual ^ |
|SSH:|''ssh user@sdf.org''|http://man.9front.org/1/ssh| | |SSH:|''ssh user@sdf.org''|http://man.9front.org/1/ssh| |
|VT:|''vt [-f font]''|http://man.9front.org/1/vt| | |VT:|''vt [-f font]''|http://man.9front.org/1/vt| |
| |
<code> | <code> |
| |
cpu% vt | cpu% vt |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% ssh USER@sdf.org | cpu% ssh USER@sdf.org |
| |
</code> | </code> |
| |
^ 24x80 ^<= select 24x80^ | ^ 24x80 ^ <= select 24x80 ^ |
| crnl | | | | crnl | | |
| nlcr | | | | nlcr | | |
| exit | | | | exit | | |
| |
|x|Press the right mouse button, while the pointer is over a vt window. Select "24x80" to toggle the vt window size.|| | |x|Press the right mouse button, while the pointer is over a vt window. Select “24x80” to toggle the vt window size.|| |
|1.|OPTIONAL – Avoid using the //<= select 24x80// to toggle the vt.|| | |1.|OPTIONAL – Avoid using the //<= select 24x80// to toggle the vt.|| |
|a.|$ ''stty rows 50 columns 100''| The mentioned option requires a larger rio rc and vt window| | |a.|$ ''stty rows 50 columns 100''| The mentioned option requires a larger rio rc and vt window| |
| |
<code> | <code> |
| |
$ stty -a | $ stty -a |
</code> | </code> |
| |
<code> | <code> |
| |
$ stty rows 24 columns 80 | $ stty rows 24 columns 80 |
$ stty -a | $ stty -a |
| |
<code> | <code> |
| |
$ exit | $ exit |
</code> | </code> |
| |
<code> | <code> |
| |
cpu% | cpu% |
</code> | </code> |
| cooked | | | | cooked | | |
| blocksel | | | | blocksel | | |
^ exit ^<= select exit^ | ^ exit ^ <= select exit ^ |
| |
|x|Press the right mouse button, while the pointer is over a vt window. Select "exit" to exit the vt window.| | |x|Press the right mouse button, while the pointer is over a vt window. Select “exit” to exit the vt window.| |
| |
<code> | <code> |
| |
cpu% | cpu% |
</code> | </code> |
=== Reference search === | === Reference search === |
| |
^Topic / Subject^^^ | ^ Topic / Subject ^^^ |
|AWK|[[https://archive.org/search.php?query=title%3A%28AWK%20programming%29|title:(AWK programming)]]|<sup>archive.org</sup>| | |AWK|[[https://archive.org/search.php?query=title%3A%28AWK%20programming%29|title:(AWK programming)]]|<sup>archive.org</sup>| |
| |
|x|Previous dedicated links are located at the [[:plan_9_9front#links|VPS Plan 9 / 9front]] tutorial. (wiki)| | |x|Previous dedicated links are located at the [[plan_9_9front#links|VPS Plan 9 / 9front]] tutorial. (wiki)| |
| |
===== Conclusion or close ===== | ===== 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. | 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. |
| |
| ---- |
| |
| This wiki page was reviewed with the Plan 9 [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]], browsers. |
| |