223 ls ~/tecla/
224 cd ~/tecla
225 ls -l getline.c
226 emacs ~/tecla/getline.c
227
228
229
230 If you next typed:
231
232 ls
233
234
235
236 and then hit M-p, then rather than returning the previously typed emacs
237 line, which doesn't start with "ls", tecla would recall the "ls -l
238 getline.c" line. Pressing M-p again would recall the "ls ~/tecla/"
239 line.
240
241
242 Note that if the string that you are searching for, contains any of the
243 special characters, *, ?, or '[', then it is interpretted as a pattern
244 to be matched. Thus, cotinuing with the above example, after typing in
245 the list of commands shown, if you then typed:
246
247 *tecla*
248
249
250
251 and hit M-p, then the "emacs ~/tecla/getline.c" line would be recalled
252 first, since it contains the word tecla somewhere in the line,
253 Similarly, hitting M-p again, would recall the "ls ~/tecla/" line, and
254 hitting it once more would recall the "ls ~/tecla/" line. The pattern
255 syntax is the same as that described for file name expansion, in the
256 ef_expand_file(3TECLA).
257
258 History Files
259 Authors of programs that use the tecla library have the option of
260 saving historical command-lines in a file before exiting, and
261 subsequently reading them back in from this file when the program is
262 next started. There is no standard name for this file, since it makes
263 sense for each application to use its own history file, so that
264 commands from different applications don't get mixed up.
265
578
579 history-re-search-backward
580 Recall the next oldest line who's prefix
581 matches that established by the last
582 invocation of either history-search-
583 forward or history-search-backward.
584
585
586 history-re-search-forward
587 Recall the next newest line who's prefix
588 matches that established by the last
589 invocation of either history-search-
590 forward or history-search-backward.
591
592
593 complete-word
594 Attempt to complete the incomplete word
595 which precedes the cursor. Unless the
596 host program has customized word
597 completion, file name completion is
598 attempted. In vi commmand mode the
599 character under the cursor is also
600 included in the word being completed, and
601 you are left in vi insert mode.
602
603
604 expand-filename
605 Within the command line, expand wild
606 cards, tilde expressions and dollar
607 expressions in the file name which
608 immediately precedes the cursor. In vi
609 commmand mode the character under the
610 cursor is also included in the file name
611 being expanded, and you are left in vi
612 insert mode.
613
614
615 list-glob
616 List any file names which match the wild-
617 card, tilde and dollar expressions in the
618 file name which immediately precedes the
619 cursor, then redraw the input line
620 unchanged.
621
622
623 list-history
624 Display the contents of the history list
625 for the current history group. If a
626 repeat count of > 1 is specified, only
627 that many of the most recent lines are
628 displayed. See the Entering Repeat Counts
629 section.
1036 because different types of terminals generate different key sequences
1037 when their cursor keys are pressed.
1038
1039 right
1040 cursor-right
1041
1042
1043 left
1044 cursor-left
1045
1046
1047 up
1048 up-history
1049
1050
1051 down
1052 down-history
1053
1054
1055
1056 The remaining bindings don't depend on the terminal setttings.
1057
1058 ^F
1059 cursor-right
1060
1061
1062 ^B
1063 cursor-left
1064
1065
1066 M-i
1067 insert-mode
1068
1069
1070 ^A
1071 beginning-of-line
1072
1073
1074 ^E
1075 end-of-line
1076
|
223 ls ~/tecla/
224 cd ~/tecla
225 ls -l getline.c
226 emacs ~/tecla/getline.c
227
228
229
230 If you next typed:
231
232 ls
233
234
235
236 and then hit M-p, then rather than returning the previously typed emacs
237 line, which doesn't start with "ls", tecla would recall the "ls -l
238 getline.c" line. Pressing M-p again would recall the "ls ~/tecla/"
239 line.
240
241
242 Note that if the string that you are searching for, contains any of the
243 special characters, *, ?, or '[', then it is interpreted as a pattern
244 to be matched. Thus, continuing with the above example, after typing
245 in the list of commands shown, if you then typed:
246
247 *tecla*
248
249
250
251 and hit M-p, then the "emacs ~/tecla/getline.c" line would be recalled
252 first, since it contains the word tecla somewhere in the line,
253 Similarly, hitting M-p again, would recall the "ls ~/tecla/" line, and
254 hitting it once more would recall the "ls ~/tecla/" line. The pattern
255 syntax is the same as that described for file name expansion, in the
256 ef_expand_file(3TECLA).
257
258 History Files
259 Authors of programs that use the tecla library have the option of
260 saving historical command-lines in a file before exiting, and
261 subsequently reading them back in from this file when the program is
262 next started. There is no standard name for this file, since it makes
263 sense for each application to use its own history file, so that
264 commands from different applications don't get mixed up.
265
578
579 history-re-search-backward
580 Recall the next oldest line who's prefix
581 matches that established by the last
582 invocation of either history-search-
583 forward or history-search-backward.
584
585
586 history-re-search-forward
587 Recall the next newest line who's prefix
588 matches that established by the last
589 invocation of either history-search-
590 forward or history-search-backward.
591
592
593 complete-word
594 Attempt to complete the incomplete word
595 which precedes the cursor. Unless the
596 host program has customized word
597 completion, file name completion is
598 attempted. In vi command mode the
599 character under the cursor is also
600 included in the word being completed, and
601 you are left in vi insert mode.
602
603
604 expand-filename
605 Within the command line, expand wild
606 cards, tilde expressions and dollar
607 expressions in the file name which
608 immediately precedes the cursor. In vi
609 command mode the character under the
610 cursor is also included in the file name
611 being expanded, and you are left in vi
612 insert mode.
613
614
615 list-glob
616 List any file names which match the wild-
617 card, tilde and dollar expressions in the
618 file name which immediately precedes the
619 cursor, then redraw the input line
620 unchanged.
621
622
623 list-history
624 Display the contents of the history list
625 for the current history group. If a
626 repeat count of > 1 is specified, only
627 that many of the most recent lines are
628 displayed. See the Entering Repeat Counts
629 section.
1036 because different types of terminals generate different key sequences
1037 when their cursor keys are pressed.
1038
1039 right
1040 cursor-right
1041
1042
1043 left
1044 cursor-left
1045
1046
1047 up
1048 up-history
1049
1050
1051 down
1052 down-history
1053
1054
1055
1056 The remaining bindings don't depend on the terminal settings.
1057
1058 ^F
1059 cursor-right
1060
1061
1062 ^B
1063 cursor-left
1064
1065
1066 M-i
1067 insert-mode
1068
1069
1070 ^A
1071 beginning-of-line
1072
1073
1074 ^E
1075 end-of-line
1076
|