Lines Matching refs:command
37 A textual command language
70 an unusual command language based on the composition of regular expressions.
72 and implements the command language and provides file access; the other, the
77 to edit text using the command
93 Also unlike them, it has a rich command language.
96 command language
108 to a program with a solid command language driven by regular expressions.
109 The command language developed more than the mouse language, and
125 that edits the output of (and input to) command sessions rather than files.
127 The first part of this paper describes the command language, then the mouse
140 under control of the command language.
179 to complete some command.
182 is changed only by an explicit command.
193 In this mode, the command language is still available:
208 editing using the textual command language, even on an ordinary terminal,
211 The following sections describe first the command language (under
258 If a command doesn't explicitly name a particular file or piece of text,
259 the command is assumed to apply to the current text.
270 (command language) window is in the middle, with file windows above and below.
288 For example, the delete command,
292 The change command,
315 the newline character lexically terminates a command.
337 also has a substitute command,
346 the command
372 command
387 One more command:
446 < \f2UNIX-command\fP Replace dot by standard output of command
447 > \f2UNIX-command\fP Send dot to standard input of command
448 | \f2UNIX-command\fP Replace dot by result of command applied to dot
449 ! \f2UNIX-command\fP Run the command
457 x/\f2regexp\fP/ \f2command\fP For each match of regexp, set dot and run command
458 y/\f2regexp\fP/ \f2command\fP Between adjacent matches of regexp, set dot and run command
459 X/\f2regexp\fP/ \f2command\fP Run command in each file whose menu line matches regexp
460 Y/\f2regexp\fP/ \f2command\fP Run command in each file whose menu line does not match
461 g/\f2regexp\fP/ \f2command\fP If dot contains a match of regexp, run command
462 v/\f2regexp\fP/ \f2command\fP If dot does not contain a match of regexp, run command
485 for the command.
502 If a command consists of only an address, a
504 command is assumed, so typing an unadorned
531 For example, the command
670 \&' The address mark, set by \f(CWk\fP command
743 What's needed is an iterator that runs a command for each occurrence of some
753 such match, sets dot to the text matched and runs the command.
768 command with dot set to each such occurrence.
771 command would delete all
817 command has a complement,
819 with similar syntax, that executes the command with dot set to the text
842 runs the command exactly once if dot contains a match of the expression.
845 which runs the command for
867 which runs the command if there is
887 This command gives an address for the
889 command (the whole file), but because
894 command, that is, to each line.
897 except for the command to write a file to disc use dot for the
938 The command to print Mr. Tic's entire record is then
946 The latter command breaks the file into records,
995 command:
1017 A simple version of the command is tried, and if it's not good enough,
1020 Also, the mouse language makes it unnecessary to retype the command each time.)
1029 The text at each step of the command is the same, but which pieces
1031 available to the final step of the command line, which ultimately makes the change.
1037 command, never for extraction as in the
1041 command.
1049 command,
1105 command, described shortly.
1124 (the UNIX command interpreter) to generate the lists:
1133 (the UNIX command
1148 command
1179 command
1186 runs the command in all
1195 it runs the command on all files whose menu lines don't match the expression:
1210 is syntactically a single command that runs two commands.
1226 the undo command,
1228 undoes the last command,
1238 may any command that adds or deletes files.
1256 command, which exits
1265 The only difference in the command language
1271 is provided without a command,
1308 The current file is the last file affected by a command,
1322 command, one per file (not one per window).
1352 command on the file.
1356 command on the file; it is in the menu purely for convenience.
1375 command.
1465 The relationship between the command language and the mouse language is
1470 which sets dot for the command language.
1471 An address-free command then typed in the
1476 to do with it, whether invoked by a menu selection or by a typed command.
1478 the display after the command completes.
1479 This relationship between mouse interface and command language
1489 After explaining how the command language is implemented,
1499 The command language is interpreted by parsing each command with a
1501 descent parser, and when a complete command is assembled, invoking a top-down
1506 easy and unambiguous to detect when a command is complete,
1509 multiple-line commands are unnecessary; if the command isn't finished,
1512 command is straightforward:
1523 The host process must decide when a command is completed so the
1524 command interpreter can be called. This problem is easily resolved
1529 command window.
1540 This permits arbitrary editing to be done to a command before
1548 These include whether the command allows an address (for example,
1560 parser; a regular expression is a leaf of the command parse tree.
1579 Once a complete command is parsed, the evaluation is easy.
1672 and lines are not central to the structure of the command language.
1674 The command interpreter, called
1677 function to call to interpret a particular command. That function
1680 for the command
1681 and the command tree (of type
1738 peculiar meanings \(em but for an interesting command language, full
1786 command,
2085 The command language makes it easy to specify multiple variable-length changes
2102 Instead, when a command is started, a `mark' containing
2108 When the command is complete, the transcript is rewound to the
2116 data: no change can affect another change made in the same command.
2119 command because it prevents regular expression matches
2130 simple model, in which all changes in a command occur effectively
2158 is not truncated after each command, it accumulates
2174 of a complicated command need not leave the files in an intermediate state.
2175 By rewinding the transcript to the mark beginning the command,
2176 the partial command can be trivially undone.
2215 command is
2251 part's command language to edit text on an ordinary terminal.
2324 The command language operates on the host, while typing and some
2330 which means that characters typed while a time-consuming command runs
2331 must be buffered and do not appear until the command is complete.)
2364 during the update sequence after each command.
2370 When a command is completed, the terminal examines its visible
2849 The most important of these was the lack of a command language.
2853 large or repetitive editing tasks. Instead, it provided a command to pass
2887 general command language.
2892 the command language would best forget about newlines altogether,
2893 and that meant the command language had to treat the file as a single
2902 to be in the host part: the file interface, command interpreter and so on.
2922 through the command language and up to the code for maintaining
2928 The command language, in particular, took almost a year to figure out,
2957 the lack of a command language kept some people from adopting it.
2960 with a command language as powerful as
3003 command language has displaced
3006 (that is, command-driven editors) with us.
3009 command language is even fancier than
3021 command language is really relatively simple, and certainly simpler than that of
3027 command \(em
3032 command, the global flag on substitutions, and the implicit loop over
3036 substitute command is necessary to make changes within lines, but in
3040 command is more of a familiar convenience than a necessity;
3054 The sophistication of the command language is really just a veneer
3061 command language comes from composability of the operators, which is by
3087 to execute a command again.
3099 way of doing global substitution and recognized that the looping command in
3112 it's safe to experiment if you're not sure how to write some intricate command,
3175 users are comfortable with its command language, and few are adept.
3180 command language,
3183 command language is not exactly
3189 Making the text an array of newlines to the command language would
3231 Norman Wilson and Ken Thompson influenced the command language.