User Tools

Site Tools


playground:boot_camp_9p_resource

This is an old revision of the document!


Boot Camp 9p resource

x https://9p.sdf.org (an amd64 plan9front1 complement to the SDF Plan 9 Boot Camp2)

The 9p.sdf.org rio rc prompt is accessable with 9front Drawterm or an rcpu connection. A 9p.sdf.org user name (-u USER) is required.

  $ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER
Optional: drawterm -h 9p.sdf.org -u USER
Optional: drawterm -a 9p.sdf.org -h 9p.sdf.org -p -u USER

A Drawterm rc prompt (without rio; teletype only):

  $ ./drawterm -G -h 9p.sdf.org -u USER
xA Drawterm 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 awayhttp://man.9front.org/1/kill
castor:castor [address] - A Gemini browser for Plan 9
com:com - An early version of commode9p contrib directory
df:df - disk usage9p contrib directory
dircp:tar, dircp - archiverhttp://man.9front.org/1/tar
auth/factotum:factotum, fgui, userpasswd - authentication agent3http://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 iconhttp://man.9front.org/1/mug
p:p - paginatehttp://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 serverhttp://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 machinehttp://man.9front.org/1/who

bboard example

date and time example

xA scheduled Plan 9 Boot Camp TEA NOTE
xStart the clock in a rio rc window.
  cpu% cp /adm/timezone/US_Pacific /env/timezone && clock.amber

The command will pick up the new timezone, but nothing already running or not sharing the environment will be affected.

broke example

  cpu% psu -a | grep Broke
  cpu% broke
  cpu% broke $user

commode example

  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
  

Run com in a rio rc window, rather than a vt, to benefit from the Plan 9 I/O.

face example

castor example

A castor example.

  cpu% castor gemini://sdf.org

9p mail example

A detailed 9p mail example.

9p rio rc prompt example

  cpu% echo $prompt
  cpu%
  cpu% prompt='9p: '
  9p:
  9p: echo $prompt
  9p:
  9p: prompt='⑨p: '
  ⑨p:

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.

cpu% mkdir /usr/$user/html
  cpu% mkhomepg
  cpu% touch /usr/$user/html/index.html
  cpu% sed 10q /usr/$user/html/example.html
  <html>
   <body>
  <h6>1st example</h6>
  
  <pre>
  2nd example
  </pre>
  
   </body>
  </html>
  cpu% 
mothra -k https://9p.sdf.org/who/$user/index.html
mothra -k https://9p.sdf.org/~$user
https://9p.sdf.org/who/ links to all of the active homepages.

9p gemini index location

  cpu% touch /usr/$user/html/index.gem
castor gemini://9p.sdf.org/who/$user/index.gem

1 plan9front running natively on hardware. 2 NetBSD Xen [] running Plan 9 Boot Camp participants' VMs, during the announced Plan 9 Boot Camp occurrences. 3 Security in Plan 9; The user may or may not have a secure store in which all his keys are kept.

Reference book

xIntroduction to Operating Systems Abstractions Using Plan 9 from Bell Labs (pdf; external archive)
xPrevious dedicated links are located at the 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.

playground/boot_camp_9p_resource.1656091829.txt.gz · Last modified: 2022/06/24 17:30 by hc9