]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/1/sam
libmp: add mpnrand() function to generate uniform random number 0 ≤ x < n
[plan9front.git] / sys / man / 1 / sam
index 282448d249a5f0f8b424a4f7bb843c0bae64dc01..f9e9afdace231e57ea530524a42d3e80abccfae8 100644 (file)
@@ -46,6 +46,15 @@ in the terminal interface,
 .I samterm
 copies leading white space on the current line to the new line.
 .TP
+.B -i
+Indent with spaces.
+In this mode, when a tab character is typed
+in the terminal interface,
+.I samterm
+will insert spaces until the next tabstop.
+Backspace will delete spaces until the previous tabstop
+or another character is encountered.
+.TP
 .B -d
 Do not `download' the terminal part of
 .IR sam .
@@ -487,11 +496,20 @@ Plan 9 command.
 Send the range to the standard input of the
 Plan 9 command.
 .TP
+.BI ^ " Plan 9-command
+Send the standard output of the Plan 9 command
+to the command window.
+.TP
 .BI | " Plan 9-command
 Send the range to the standard input, and replace it by
 the standard output, of the
 Plan 9 command.
 .TP
+.BI _ " Plan 9-command
+Send the range to the standard input, and send the
+standard output of the Plan 9 command to the command
+window.
+.TP
 .BI \*a! " Plan 9-command
 Run the
 Plan 9 command.
@@ -506,6 +524,8 @@ is used.
 In any of
 .BR < ,
 .BR > ,
+.BR ^ ,
+.BR _ ,
 .B |
 or
 .BR ! ,
@@ -701,6 +721,9 @@ Text may be typed and edited as in
 also the escape key (ESC) selects (sets dot to) text typed
 since the last mouse button hit.
 .PP
+Ctrl+b switches to the command window and moves to the end
+of the text.
+.PP
 The button 3 menu controls window operations.
 The top of the menu
 provides the following operators, each of which uses one or