Print this page
9842 man page typos and spelling


 320 .in -2
 321 
 322 .sp
 323 .LP
 324 If you next typed:
 325 .sp
 326 .in +2
 327 .nf
 328 ls
 329 .fi
 330 .in -2
 331 
 332 .sp
 333 .LP
 334 and then hit \fBM-p\fR, then rather than returning the previously typed
 335 \fBemacs\fR line, which doesn't start with "ls", tecla would recall the "ls -l
 336 getline.c" line. Pressing \fBM-p\fR again would recall the "ls ~/tecla/" line.
 337 .sp
 338 .LP
 339 Note that if the string that you are searching for, contains any of the special
 340 characters, *, ?, or '[', then it is interpretted as a pattern to be matched.
 341 Thus, cotinuing with the above example, after typing in the list of commands
 342 shown, if you then typed:
 343 .sp
 344 .in +2
 345 .nf
 346 *tecla*
 347 .fi
 348 .in -2
 349 
 350 .sp
 351 .LP
 352 and hit \fBM-p\fR, then the "\fBemacs\fR ~/tecla/getline.c" line would be
 353 recalled first, since it contains the word tecla somewhere in the line,
 354 Similarly, hitting \fBM-p\fR again, would recall the "ls ~/tecla/" line, and
 355 hitting it once more would recall the "ls ~/tecla/" line. The pattern syntax is
 356 the same as that described for file name expansion, in the
 357 \fBef_expand_file\fR(3TECLA).
 358 .SS "History Files"
 359 .LP
 360 Authors of programs that use the tecla library have the option of saving
 361 historical command-lines in a file before exiting, and subsequently reading


 864 .RE
 865 
 866 .sp
 867 .ne 2
 868 .na
 869 \fBhistory-re-search-forward\fR
 870 .ad
 871 .RS 30n
 872 Recall the next newest line who's prefix matches that established by the last
 873 invocation of either history-search-forward or history-search-backward.
 874 .RE
 875 
 876 .sp
 877 .ne 2
 878 .na
 879 \fBcomplete-word\fR
 880 .ad
 881 .RS 30n
 882 Attempt to complete the incomplete word which precedes the cursor. Unless the
 883 host program has customized word completion, file name completion is attempted.
 884 In \fBvi\fR commmand mode the character under the cursor is also included in
 885 the word being completed, and you are left in \fBvi\fR insert mode.
 886 .RE
 887 
 888 .sp
 889 .ne 2
 890 .na
 891 \fBexpand-filename\fR
 892 .ad
 893 .RS 30n
 894 Within the command line, expand wild cards, tilde expressions and dollar
 895 expressions in the file name which immediately precedes the cursor. In \fBvi\fR
 896 commmand mode the character under the cursor is also included in the file name
 897 being expanded, and you are left in \fBvi\fR insert mode.
 898 .RE
 899 
 900 .sp
 901 .ne 2
 902 .na
 903 \fBlist-glob\fR
 904 .ad
 905 .RS 30n
 906 List any file names which match the wild-card, tilde and dollar expressions in
 907 the file name which immediately precedes the cursor, then redraw the input line
 908 unchanged.
 909 .RE
 910 
 911 .sp
 912 .ne 2
 913 .na
 914 \fBlist-history\fR
 915 .ad
 916 .RS 30n


1592 .sp
1593 .ne 2
1594 .na
1595 \fBup\fR
1596 .ad
1597 .RS 9n
1598 up-history
1599 .RE
1600 
1601 .sp
1602 .ne 2
1603 .na
1604 \fBdown\fR
1605 .ad
1606 .RS 9n
1607 down-history
1608 .RE
1609 
1610 .sp
1611 .LP
1612 The remaining bindings don't depend on the terminal setttings.
1613 .sp
1614 .ne 2
1615 .na
1616 \fB\fB^F\fR\fR
1617 .ad
1618 .RS 21n
1619 cursor-right
1620 .RE
1621 
1622 .sp
1623 .ne 2
1624 .na
1625 \fB\fB^B\fR\fR
1626 .ad
1627 .RS 21n
1628 cursor-left
1629 .RE
1630 
1631 .sp
1632 .ne 2




 320 .in -2
 321 
 322 .sp
 323 .LP
 324 If you next typed:
 325 .sp
 326 .in +2
 327 .nf
 328 ls
 329 .fi
 330 .in -2
 331 
 332 .sp
 333 .LP
 334 and then hit \fBM-p\fR, then rather than returning the previously typed
 335 \fBemacs\fR line, which doesn't start with "ls", tecla would recall the "ls -l
 336 getline.c" line. Pressing \fBM-p\fR again would recall the "ls ~/tecla/" line.
 337 .sp
 338 .LP
 339 Note that if the string that you are searching for, contains any of the special
 340 characters, *, ?, or '[', then it is interpreted as a pattern to be matched.
 341 Thus, continuing with the above example, after typing in the list of commands
 342 shown, if you then typed:
 343 .sp
 344 .in +2
 345 .nf
 346 *tecla*
 347 .fi
 348 .in -2
 349 
 350 .sp
 351 .LP
 352 and hit \fBM-p\fR, then the "\fBemacs\fR ~/tecla/getline.c" line would be
 353 recalled first, since it contains the word tecla somewhere in the line,
 354 Similarly, hitting \fBM-p\fR again, would recall the "ls ~/tecla/" line, and
 355 hitting it once more would recall the "ls ~/tecla/" line. The pattern syntax is
 356 the same as that described for file name expansion, in the
 357 \fBef_expand_file\fR(3TECLA).
 358 .SS "History Files"
 359 .LP
 360 Authors of programs that use the tecla library have the option of saving
 361 historical command-lines in a file before exiting, and subsequently reading


 864 .RE
 865 
 866 .sp
 867 .ne 2
 868 .na
 869 \fBhistory-re-search-forward\fR
 870 .ad
 871 .RS 30n
 872 Recall the next newest line who's prefix matches that established by the last
 873 invocation of either history-search-forward or history-search-backward.
 874 .RE
 875 
 876 .sp
 877 .ne 2
 878 .na
 879 \fBcomplete-word\fR
 880 .ad
 881 .RS 30n
 882 Attempt to complete the incomplete word which precedes the cursor. Unless the
 883 host program has customized word completion, file name completion is attempted.
 884 In \fBvi\fR command mode the character under the cursor is also included in
 885 the word being completed, and you are left in \fBvi\fR insert mode.
 886 .RE
 887 
 888 .sp
 889 .ne 2
 890 .na
 891 \fBexpand-filename\fR
 892 .ad
 893 .RS 30n
 894 Within the command line, expand wild cards, tilde expressions and dollar
 895 expressions in the file name which immediately precedes the cursor. In \fBvi\fR
 896 command mode the character under the cursor is also included in the file name
 897 being expanded, and you are left in \fBvi\fR insert mode.
 898 .RE
 899 
 900 .sp
 901 .ne 2
 902 .na
 903 \fBlist-glob\fR
 904 .ad
 905 .RS 30n
 906 List any file names which match the wild-card, tilde and dollar expressions in
 907 the file name which immediately precedes the cursor, then redraw the input line
 908 unchanged.
 909 .RE
 910 
 911 .sp
 912 .ne 2
 913 .na
 914 \fBlist-history\fR
 915 .ad
 916 .RS 30n


1592 .sp
1593 .ne 2
1594 .na
1595 \fBup\fR
1596 .ad
1597 .RS 9n
1598 up-history
1599 .RE
1600 
1601 .sp
1602 .ne 2
1603 .na
1604 \fBdown\fR
1605 .ad
1606 .RS 9n
1607 down-history
1608 .RE
1609 
1610 .sp
1611 .LP
1612 The remaining bindings don't depend on the terminal settings.
1613 .sp
1614 .ne 2
1615 .na
1616 \fB\fB^F\fR\fR
1617 .ad
1618 .RS 21n
1619 cursor-right
1620 .RE
1621 
1622 .sp
1623 .ne 2
1624 .na
1625 \fB\fB^B\fR\fR
1626 .ad
1627 .RS 21n
1628 cursor-left
1629 .RE
1630 
1631 .sp
1632 .ne 2