User Tools

Site Tools


playground:plan9_tutorial_sam

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
playground:plan9_tutorial_sam [2021/04/19 18:05] – created sam tutorial page dspplayground:plan9_tutorial_sam [2021/04/19 18:17] – adding docu links dsp
Line 65: Line 65:
  
 === Self guided discoveries === === Self guided discoveries ===
-    * create two files (file1 and file2) add text to both, use n and b to control which file has the focus. +    * create two files (file1 and file2) add text to both, use **n** and **b** to control which file has the focus. 
-    * on file2 for exaple issue continuously<code>+    * on file2 for example issue continuously<code>
    r file2    r file2
    0    0
-</code> and repeat. What is happening? why? what if we only issue r file2 without the 0 afterwards?+</code> and repeat. What is happening? why? what if we only issue **r file2** without the 0 afterwards?
     * can you specify a reverse range like #10,#5 ?     * can you specify a reverse range like #10,#5 ?
-    * highlight a word. then issue m+0. why is this happening? what is t+0 doing? what if you keep issuing t+0?+    * highlight a word. then issue **m+0**. why is this happening? what is **t+0** doing? what if you keep issuing **t+0**?
  
 +=== Documentation and more ===
 +
 +    *[[http://man.cat-v.org/9front/1/sam|man sam(1)]]
 +    *[[http://doc.cat-v.org/plan_9/4th_edition/papers/sam/|The Text Editor Sam (Rob Pike)]]
 +    *[[http://doc.cat-v.org/bell_labs/sam_lang_tutorial/sam_tut.pdf|A Tutorial For The Sam Command Language (Rob Pike)]]
 +    *[[http://sam.cat-v.org/cheatsheet/sam-refcard.pdf|Sam Cheatsheet (PDF) (Steve Simon)]]
 +    *[[https://www.youtube.com/watch?v=JbWdS7isUiI|A Sam Session youtube video (Pilgon Sesh60)]]
 +    *[[https://plan9docs.wordpress.com/2012/05/07/using-the-sam-editor/|Using The Sam Editor from plan9docs (iainws)]]
playground/plan9_tutorial_sam.txt · Last modified: 2021/04/20 04:59 by dsp