
ied(1) |
| ied(1) |
<esc>,*,= | (Filename expansion). Not supported. | |
@ | Macro expansion. Not supported. | |
| Note however that ksh has a | |
| from the previous line (this is not the macro $_, but rather an editor command). | |
| If a preceding count is given, it uses the countth word of the last line. This is | |
| much more useful with ied. | |
In emacs/gmacs mode: |
|
|
| ||
| (®lename expansion) Not supported. | |
| Note that the command | |
| tionality as the vi mode | _ command. |
Macro expansion. | Not supported. |
|
^O | Although supported, it may not always appear correctly on the screen. The ÃL | |
| command can be used to redraw the line. See below for the discussion on | |
| prompting. |
|
EXAMPLES
Add interactive editing to the bc command:
ied bc
Execute vi on testfile using comands taken from script:
cat script ied
Note that without the use of ied, vi would misbehave because its standard input would not be a terminal device. In this case the
The command line
ied
searches the ®le data_file for lines beginning with x:, sending one copy to the terminal and a second to ®le x_lines, just like the command line
grep 'Ãx:' data_file tee x_lines
The difference is that in the command line without ied, grep writes directly to a pipe, and thus buffers its output. If data_file is very large and not many lines match the pattern, output to the terminal is delayed. By using ied, the output of grep goes to a pty instead, which causes grep to output each line as it is ready.
WARNINGS
Since ied cannot know everything about every application, it is possible that it can become confused, with either the timing or the prompt being out of phase with the application. Since the use of ied is never required, it is the user's choice to determine whether the application is more usable with or without ied. In general, however, programs that do not confuse ied are usually also the most likely to bene®t from its use.
ied tries to intuit the currently active prompt when it is not providing one itself. However, this is not always successful. Even when it is successful, the timing of ied and the serviced command may occasionally confuse the output. The ÃL commands in both emacs and vi modes redraw the edit line in a consistent fashion that can be used to create the next command.
AUTHOR
ied was developed by HP.
SEE ALSO ksh(1).
i
− 3 − | Section 1−355 |