playground:misc:asciidoc_snippet
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
playground:misc:asciidoc_snippet [2022/04/28 14:41] – [HT802] hc9 | playground:misc:asciidoc_snippet [2022/05/01 18:51] – [Converter] hc9 | ||
---|---|---|---|
Line 184: | Line 184: | ||
</ | </ | ||
- | * Convert the //ht802.html// file to a // | + | * Convert the //ht802.adoc// file to a // |
< | < | ||
- | $ pandoc -f html -t dokuwiki | + | $ asciidoc -b dockbook45 -s ht820.adoc |
+ | $ pandoc -f docbook | ||
</ | </ | ||
+ | |||
+ | |Try **pandoc**! (link); [[https:// | ||
+ | |Learn **LaTeX** (link); [[https:// | ||
==== Editing ==== | ==== Editing ==== | ||
Line 196: | Line 200: | ||
^Reference: | ^Reference: | ||
|[[https:// | |[[https:// | ||
+ | |[[https:// | ||
+ | |[[https:// | ||
===== asciidoc table ===== | ===== asciidoc table ===== | ||
Line 208: | Line 214: | ||
---- | ---- | ||
- | % acme | + | |
---- | ---- | ||
Line 218: | Line 224: | ||
|=== | |=== | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
- | |**New Cut Paste Snarf Sort Zerox Delcol** <= Add __Mail__ | + | |**New Cut Paste Snarf Sort Zerox Delcol** <= Add _Mail_ |
|=== | |=== | ||
|=== | |=== | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
- | |**New Cut Paste Snarf Sort Zerox Delcol Mail** <= Mouse button 2 press __Mail__. | + | |**New Cut Paste Snarf Sort Zerox Delcol Mail** <= Mouse button 2 press _Mail_. |
|=== | |=== | ||
Line 229: | Line 235: | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
|**New Cut Paste Snarf Sort Zerox Delcol Mail** | |**New Cut Paste Snarf Sort Zerox Delcol Mail** | ||
- | |**__/mail/fs/mbox__** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** | + | |**_/mail/fs/mbox_** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** |
|=== | |=== | ||
Line 235: | Line 241: | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
|**New Cut Paste Snarf Sort Zerox Delcol Mail** | |**New Cut Paste Snarf Sort Zerox Delcol Mail** | ||
- | |**__/mail/fs/mbox__** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** <= Mouse button 2 press __Mail__ | + | |**_/mail/fs/mbox_** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** <= Mouse button 2 press _Mail_ |
|1/ <= Email messages arrive here. | |1/ <= Email messages arrive here. | ||
|=== | |=== | ||
Line 242: | Line 248: | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
|**New Cut Paste Snarf Sort Zerox Delcol Mail** | |**New Cut Paste Snarf Sort Zerox Delcol Mail** | ||
- | |**__/mail/fs/mbox__** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** | + | |**_/mail/fs/mbox_** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** |
|2/ <= Email messages arrive here. | |2/ <= Email messages arrive here. | ||
|1/ | |1/ | ||
- | |**__/ | + | |**_/ |
|To: | |To: | ||
|Subject: | |Subject: | ||
Line 255: | Line 261: | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
|**New Cut Paste Snarf Sort Zerox Delcol Mail** | |**New Cut Paste Snarf Sort Zerox Delcol Mail** | ||
- | |**__/mail/fs/mbox__** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** | + | |**_/mail/fs/mbox_** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** |
|1/ <= Email messages arrive here. | |1/ <= Email messages arrive here. | ||
- | |**__/ | + | |**_/ |
|To: | |To: | ||
- | |From: <= Type the __From:__ text here. | + | |From: <= Type the _From:_ text here. |
|Subject: | |Subject: | ||
|[blank] | |[blank] | ||
Line 268: | Line 274: | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
|**New Cut Paste Snarf Sort Zerox Delcol Mail** | |**New Cut Paste Snarf Sort Zerox Delcol Mail** | ||
- | |**__/mail/fs/mbox__** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** | + | |**_/mail/fs/mbox_** **Del Snarf : Look Put Mail Delmesg Undelmesg Next** |
|5/ <= Mouse button 3 press #5 (__/5__) to open the message. | |5/ <= Mouse button 3 press #5 (__/5__) to open the message. | ||
|4/ | |4/ | ||
Line 285: | Line 291: | ||
|=== | |=== | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
- | |**New Cut Paste Snarf Sort Zerox Delcol** <= Add __win__ | + | |**New Cut Paste Snarf Sort Zerox Delcol** <= Add _win_ by typing " |
|=== | |=== | ||
|=== | |=== | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
- | |**New Cut Paste Snarf Sort Zerox Delcol win** <= Mouse button 2 press __win__. | + | |**New Cut Paste Snarf Sort Zerox Delcol win** <= Mouse button 2 press _win_. |
|=== | |=== | ||
Line 296: | Line 302: | ||
h|Newcol Kill Putall Dump Exit | h|Newcol Kill Putall Dump Exit | ||
|**New Cut Paste Snarf Sort Zerox Delcol win** | |**New Cut Paste Snarf Sort Zerox Delcol win** | ||
- | |**__/ | + | |**_/ |
|cpu: | |cpu: | ||
+ | |=== | ||
+ | |||
+ | == acme images | ||
+ | |||
+ | A brief mention of acme, for those who are attending the SDF Plan 9 Boot Camp. | ||
+ | |||
+ | |=== | ||
+ | |% acme | ||
+ | |=== | ||
+ | |||
+ | image:: | ||
+ | |||
+ | . Press the middle button of your mouse while the pointer is over the text " | ||
+ | . Type the text " | ||
+ | . Press the middle button of your mouse while the pointer is over the text " | ||
+ | . Type the text " | ||
+ | . Press the middle button of your mouse while the pointer is over the text " | ||
+ | |||
+ | image:: | ||
+ | |||
+ | . 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:// | ||
+ | |Plan 9 https:// | ||
+ | |=== | ||
+ | |||
+ | __1__.) From a Plan 9 Rio rc prompt. | ||
+ | |||
+ | == sam | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | 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. | ||
+ | |||
+ | image:: | ||
+ | |||
+ | ---- | ||
+ | % sam / | ||
+ | ---- | ||
+ | |||
+ | A few words about (**w**) writing the file, and how to (**q**) quit " | ||
+ | |||
+ | Sam uses it's own cut/paste buffer. Exchange it with Rio's cut/paste buffer by using the < | ||
+ | |||
+ | The following edit ('% sam -d') will work from the https:// | ||
+ | |||
+ | ---- | ||
+ | % mkdir samlearn | ||
+ | % cd samlearn | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % cp / | ||
+ | % sam -d local2 | ||
+ | -. local2 | ||
+ | /ip= | ||
+ | "Press the Carriage return, following the line output." | ||
+ | s/ip=/#ip= | ||
+ | $+1 | ||
+ | a | ||
+ | ip=YOUR_IP sys=plan9 dom=plan9 dns=205.166.94.20 | ||
+ | . | ||
+ | w | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % cp / | ||
+ | % sam -d termrc.local2 | ||
+ | -. termrc.local2 | ||
+ | $+1 | ||
+ | a | ||
+ | ip/ipconfig -g 205.166.94.1 ether /net/ether0 YOUR_IP 255.255.255.0 | ||
+ | ndb/cs | ||
+ | ndb/dns -r | ||
+ | . | ||
+ | w | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | |=== | ||
+ | h|**Command**|**Option**|**Quick Reference** | ||
+ | |SAM|' | ||
+ | |=== | ||
+ | |||
+ | == ed | ||
+ | |||
+ | Ed is a text editor, and similar to https:// | ||
+ | |||
+ | ---- | ||
+ | % cd samtest | ||
+ | % cp / | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % ed local-1ed | ||
+ | 291 | ||
+ | /ip= | ||
+ | ip=127.0.0.1 sys=localhost dom=localhost | ||
+ | s/ip=/#ip= | ||
+ | # | ||
+ | $ | ||
+ | # | ||
+ | a | ||
+ | ip=YOUR_IP sys=plan9 dom=plan9 dns=205.166.94.20 | ||
+ | . | ||
+ | w | ||
+ | 341 | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % cp / | ||
+ | % ed termrc.local-1ed | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % ed termrc.local-1ed | ||
+ | 424 | ||
+ | $ | ||
+ | cpu=CP | ||
+ | a | ||
+ | ip/ipconfig -g 205.166.94.1 ether /net/ether0 YOUR_IP 255.255.255.0 | ||
+ | ndb/cs | ||
+ | ndb/dns -r | ||
+ | . | ||
+ | w | ||
+ | 510 | ||
+ | q | ||
+ | % | ||
+ | ---- | ||
+ | |||
+ | |=== | ||
+ | h|**Command**|**Title**|**Quick Reference** | ||
+ | |ED|ed Cheat Sheet|http:// | ||
+ | |=== | ||
+ | |||
+ | == abaco | ||
+ | |||
+ | You can use http:// | ||
+ | |||
+ | image:: | ||
+ | |||
+ | ---- | ||
+ | % touch / | ||
+ | ---- | ||
+ | |||
+ | ---- | ||
+ | % webfs | ||
+ | % abaco | ||
+ | ---- | ||
+ | |||
+ | When abaco starts, you can go to a webpage by clicking " | ||
+ | |||
+ | ^1^ An http URL. ^2^ Both commands are used on one line with a separator: '% webfs; abaco' | ||
+ | |||
+ | == mothra | ||
+ | |||
+ | |=== | ||
+ | |Mothra https:// | ||
+ | |=== | ||
+ | |||
+ | == man | ||
+ | |||
+ | Editor reference: | ||
+ | |||
+ | |=== | ||
+ | |Editors: https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |https:// | ||
+ | |https:// | ||
+ | |https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |Sam, Ed, Acme https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |Plan 9 Rc Survival Guide http:// | ||
+ | |=== | ||
+ | |||
+ | Browser reference: | ||
+ | |||
+ | |=== | ||
+ | |Mothra https:// | ||
+ | |=== | ||
+ | |||
+ | |=== | ||
+ | |Netsurf usage: netsurf [-cudv] [url] | ||
|=== | |=== | ||
Line 307: | Line 510: | ||
$ asciidoc -s acme_table.adoc | $ asciidoc -s acme_table.adoc | ||
$ links acme_table.html | $ links acme_table.html | ||
+ | </ | ||
+ | |||
+ | * Convert the // | ||
+ | |||
+ | < | ||
+ | $ asciidoc -b dockbook45 -s acme_table.adoc | ||
+ | $ pandoc -f docbook -t dokuwiki acme_table.xml -o acme_table.txt | ||
+ | </ | ||
+ | |||
+ | ==== tidy ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | * Use ' | ||
+ | * Backup the // | ||
+ | |||
+ | < | ||
+ | $ tidy -help | ||
+ | $ tidy -f errs.txt -m acme_table.html | ||
</ | </ | ||