User Tools

Site Tools


vps_-_plan9front_-_acme_sam_abaco_mothra_and_man

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
vps_-_plan9front_-_acme_sam_abaco_mothra_and_man [2022/02/19 17:08] – [ed] hc9vps_-_plan9front_-_acme_sam_abaco_mothra_and_man [2022/06/21 16:14] – [mothra] hc9
Line 57: Line 57:
 |2/| |2/|
 |1/| |1/|
 +
 +==== acme.dump ====
 +
 +Start acme.
 +
 +<code>
 +  % acme
 +</code>
 +
 +|**Newcol Kill Putall Dump Exit**|:::|⇐ Mouse button 2 click //Dump// to save the dump.|
 +|**New Cut Paste Snarf Sort Zerox Delcol**|:::|:::|
 +
 +|**Newcol Kill Putall Dump Exit**|:::|⇐ Mouse button 2 click //Exit// to exit acme.|
 +|**New Cut Paste Snarf Sort Zerox Delcol**|:::|:::|
 +
 +The //acme.dump// file retains the acme configuration at the time of the dump.
 +
 +<code>
 +  % acme -l acme.dump
 +</code>
  
 ==== acme 'win' ==== ==== acme 'win' ====
Line 72: Line 92:
 |**New Cut Paste Snarf Sort Zerox Delcol win**|:::| |**New Cut Paste Snarf Sort Zerox Delcol win**|:::|
 |**///usr/$user/-rc//** **Del Snarf : Look Send Noscroll**| |**///usr/$user/-rc//** **Del Snarf : Look Send Noscroll**|
-|cpu:|+|cpu%| 
 + 
 +===== acme images ===== 
 + 
 +A brief mention of acme, for those who are attending the SDF Plan 9 Boot Camp. 
 + 
 +|''% acme''
 + 
 +{{:plan9-acme-1.png?nolink|}} 
 + 
 +  - Press the middle button of your mouse while the pointer is over the text "New" (to the left), in the row marked with a **1**. 
 +  - Type the text "win" in the row, or newly created area, marked with a **2**. 
 +  - Press the middle button of your mouse while the pointer is over the text "win" in the row, or newly created area, marked with a **2**. 
 +  - Type the text "Mail" in the row marked with a **3**. 
 +  - Press the middle button of your mouse while the pointer is over the text "Mail", in the row marked with a **3**. 
 + 
 +{{:plan9-acme-2.png?nolink|}} 
 + 
 +  - Press the right button of your mouse while the pointer is used to highlight a file name. 
 +  - Once the highlight covers the filename, release the right mouse button to open the file. 
 + 
 +|http://acme.cat-v.org/|The Acme User Interface for Programmers| 
 +|Plan 9 [[:vps_-_plan_9_9front#videos|Acme]] videos|Plan 9 Acme Intro - Part 1, 2, & 3| 
 + 
 +//1//.) From a Plan 9 Rio rc prompt.
  
 ===== sam ===== ===== sam =====
-<del>==== Sam ====</del>+ 
 +|x|[[:playground:plan9_tutorial_sam|Text Editing with the sam editor]]|
  
 Sam is a text editor. While the cursor is over the sam window, press the right button of your mouse and drag the cursor over the file name. Release the right mouse button once the cursor is over the file name. The cursor pointer will change to a square. Press the right button, while the square cursor is over the lower panel, to load the file in the lower panel. Sam is a text editor. While the cursor is over the sam window, press the right button of your mouse and drag the cursor over the file name. Release the right mouse button once the cursor is over the file name. The cursor pointer will change to a square. Press the right button, while the square cursor is over the lower panel, to load the file in the lower panel.
Line 89: Line 134:
 Sam uses it's own cut/paste buffer. Exchange it with Rio's cut/paste buffer by using the <**rio**> option in the middle button (2) menu of sam. Sam uses it's own cut/paste buffer. Exchange it with Rio's cut/paste buffer by using the <**rio**> option in the middle button (2) menu of sam.
  
-The following edit (''% sam -d'') will work from the [[#basics|VM console]] rc prompt, or from the upper sam panel.+The following edit (''% sam -d'') will work from the [[:vps_-_plan9front_-_acme_sam_abaco_mothra_and_man#sam|VM console]] rc prompt, or from the upper sam panel.
  
 <code> <code>
Line 131: Line 176:
  
 ===== ed ===== ===== ed =====
-<del>==== Ed ====</del> 
  
 Ed is a text editor, and similar to [[#sam|sam -d]]. Using the ''% sam -d'' examples from [[#sam|Sam]], it's possible to use ''% ed''. The mentioned examples are from a Drawterm Rio rc prompt. Ed is a text editor, and similar to [[#sam|sam -d]]. Using the ''% sam -d'' examples from [[#sam|Sam]], it's possible to use ''% ed''. The mentioned examples are from a Drawterm Rio rc prompt.
Line 182: Line 226:
 |ED|ed Cheat Sheet|http://sdf.org/?tutorials/ed| |ED|ed Cheat Sheet|http://sdf.org/?tutorials/ed|
  
-===== acme =====+ 
 ===== abaco ===== ===== abaco =====
  
-===== mothra =====+^9p.sdf.org html index file location^ 
 +|''/usr/$user/html/index.html''|
  
-===== man =====+You can use [[http://lab-fgb.com/abaco/|Abaco]] to browse the web<sup>1</sup>. (Abaco is available in a default Plan 9 system.) You'll need to have your IP configured and DNS working in order to browse the web. After that, you'll have to run "webfs" and __then__<sup>2</sup> "abaco". If you don't have a "/usr/$user/lib/webcookies" file, //touch// it once. (You may want to add "webfs" in your "$home/lib/profile" just before plumber and rio.)
  
-Editor reference:+{{:plan9-abaco-1.png?nolink|}}
  
-|Sam, Ed, Acme|https://wiki.sdf.org/doku.php?id=vps_-_9front#editors|+<code> 
 +  % touch /usr/$user/lib/webcookies 
 +</code>
  
-|Sam, Ed, Acme|https://wiki.sdf.org/doku.php?id=playground:recycle:start_-_plan_9#plan_9_applications|+<code> 
 +  % webfs 
 +  % abaco 
 +</code>
  
-|Plan 9 Rc Survival Guide|http://sdf.org/?tutorials/Plan_9_rc|+When abaco starts, you can go to a webpage by clicking "//New//" with the middle button of the mouse, typing the address in the row below the one with "//Del Snarf Get …//" (see the previous figure: it's the one where the current legacy address is), and pressing "[**Enter**]" on your keyboard. You can follow links by clicking on them, as is usual, with the left button (the shape of the cursor won't change, though).
  
-Browser reference:+<sup>1</sup> An http URL. <sup>2</sup> Both commands are used on one line with a separator"''% webfs; abaco''". <sup>3</sup> Another way to run Abaco. 
 + 
 +===== mothra ===== 
 + 
 +mothra - retrieve and display World-Wide Web files
  
 |Mothra|https://wiki.sdf.org/doku.php?id=vps_-_9front#mothra| |Mothra|https://wiki.sdf.org/doku.php?id=vps_-_9front#mothra|
  
-|Abaco|https://wiki.sdf.org/doku.php?id=playground:recycle:start_-_plan_9#browsing_the_web|+^9p.sdf.org html index file location^ 
 +|''/usr/$user/html/index.html''|
  
 +===== NetSurf =====
 +
 +NetSurf is a free, open source web browser.
  
 |Netsurf|usage:| netsurf [-cudv] [url]| |Netsurf|usage:| netsurf [-cudv] [url]|
 +
 +<file config $home/lib/netsurf/options>
 +
 +enable_javascript:1
 +cookie_file:/usr/$user/lib/netsurf/cookies
 +cookie_jar:/usr/$user/lib/netsurf/cookies
 +search_provider:0
 +
 +</file>
 +
 +|x|The //$home/lib/netsurf/options// ''enable_javascript'' options are:|1 or omit //enable_javascript:1//|
 +|x|The //$home/lib/netsurf/options// ''search_provider'' options are:|0 <del>1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19</del> or omit //search_provider:0//|
 +
 +=== Mouse button 3 menu ===
 +
 +|   back   | |
 +|   forward   | |
 +|   stop   | |
 +|   reload   | |
 +^   search   ^<= choose the //search// menu^
 +|   history   | |
 +|   bookmark   | |
 +|   bookmarks   | |
 +|   nojs   | |
 +|   exit   | |
 +
 +|1|At the NetSurf screen, press the right button of your mouse. A menu (above) should appear. Then, release the button over the "search" option.|
 +|2|select a search provider other than //search_provider:0//|
 +
 +|   **Ξ** Search...   |<= Left mouse button press the //**Ξ**// symbol to select/retain a search provider|
 +|   8-O     [blank search field]   |
 +
 +=== Mouse button 2 menu ===
 +
 +|   orig size   | |
 +|   zoom in   | |
 +|   zoom out   | |
 +|   source   | |
 +|   export image   | |
 +|   export text   | |
 +|   cut   | |
 +|   paste   | |
 +|   snarf   |<= choose the //snarf// menu to copy|
 +|   plumb   | |
 +^   look   ^<= choose the //look// menu to find^
 +
 +===== man =====
 +
 +man examples
 +
 +<code>
 +  % man 1 intro
 +</code>
 +
 +The ''-P'' option converts the page to PostScript.
 +
 +<code>
 +  % man -P 1 intro
 +</code>
 +
 +<code>
 +  % man -P 5 intro
 +</code>
 +
 +Editor reference:
 +
 +Editors: [[https://en.wikipedia.org/wiki/List_of_Plan_9_applications#Editors|List of Plan 9 applications - Wikipedia]]
 +|[[#acme|acme]]|interactive text editor and shell|
 +|[[#ed|ed]]|text editor|
 +|[[#sam|sam]]|screen editor with structural regular expressions|
 +
 +|Sam, Ed, Acme|https://wiki.sdf.org/doku.php?id=vps_-_9front#editors|
 +
 +|Plan 9 Rc Survival Guide|http://sdf.org/?tutorials/Plan_9_rc|