summaryrefslogtreecommitdiff
path: root/doc/history.info
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-23 19:26:12 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-23 19:26:12 -0500
commitb1b0b2d7c8574132c39d819dc54522b4fe7e6df9 (patch)
tree95f51da88feb690d1af90b057fc5ce62819d25de /doc/history.info
parentcdd796540cf235ad4b5d4a892570aba697c7fb61 (diff)
Readline-6.2 import
Diffstat (limited to 'doc/history.info')
-rw-r--r--doc/history.info87
1 files changed, 47 insertions, 40 deletions
diff --git a/doc/history.info b/doc/history.info
index 32f3302..dc5e8a0 100644
--- a/doc/history.info
+++ b/doc/history.info
@@ -1,11 +1,11 @@
This is history.info, produced by makeinfo version 4.13 from
/usr/src/local/chet/src/bash/readline-src/doc/history.texi.
-This document describes the GNU History library (version 6.1, 9 October
-2009), a programming tool that provides a consistent user interface for
-recalling lines of previously typed input.
+This document describes the GNU History library (version 6.2, September
+6 2010), a programming tool that provides a consistent user interface
+for recalling lines of previously typed input.
- Copyright (C) 1988-2009 Free Software Foundation, Inc.
+ Copyright (C) 1988-2011 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
@@ -102,7 +102,8 @@ File: history.info, Node: Event Designators, Next: Word Designators, Up: Hist
-----------------------
An event designator is a reference to a command line entry in the
-history list.
+history list. Unless the reference is absolute, events are relative to
+the current position in the history list.
`!'
Start a history substitution, except when followed by a space, tab,
@@ -118,12 +119,13 @@ history list.
Refer to the previous command. This is a synonym for `!-1'.
`!STRING'
- Refer to the most recent command starting with STRING.
+ Refer to the most recent command preceding the current position in
+ the history list starting with STRING.
`!?STRING[?]'
- Refer to the most recent command containing STRING. The trailing
- `?' may be omitted if the STRING is followed immediately by a
- newline.
+ Refer to the most recent command preceding the current position in
+ the history list containing STRING. The trailing `?' may be
+ omitted if the STRING is followed immediately by a newline.
`^STRING1^STRING2^'
Quick Substitution. Repeat the last command, replacing STRING1
@@ -642,6 +644,11 @@ GNU History Library.
can be preserved between sessions. The default value is 0,
meaning that timestamps are not saved.
+ The current timestamp format uses the value of HISTORY_COMMENT_CHAR
+ to delimit timestamp entries in the history file. If that
+ variable does not have a value (the default), timestamps will not
+ be written.
+
-- Variable: char history_expansion_char
The character that introduces a history event. The default is `!'.
Setting this to 0 inhibits history expansion.
@@ -1276,7 +1283,7 @@ Appendix B Concept Index
* anchored search: Searching the History List.
(line 10)
* event designators: Event Designators. (line 6)
-* history events: Event Designators. (line 7)
+* history events: Event Designators. (line 8)
* history expansion: History Interaction. (line 6)
* History Searching: Searching the History List.
(line 6)
@@ -1305,27 +1312,27 @@ Appendix C Function and Variable Index
* get_history_event: History Expansion. (line 31)
* history_arg_extract: History Expansion. (line 46)
* history_base: History Variables. (line 10)
-* history_comment_char: History Variables. (line 33)
+* history_comment_char: History Variables. (line 38)
* history_expand: History Expansion. (line 9)
-* history_expansion_char: History Variables. (line 25)
+* history_expansion_char: History Variables. (line 30)
* history_get: Information About the History List.
(line 23)
* history_get_history_state: Initializing History and State Management.
(line 15)
* history_get_time: Information About the History List.
(line 29)
-* history_inhibit_expansion_function: History Variables. (line 57)
+* history_inhibit_expansion_function: History Variables. (line 62)
* history_is_stifled: History List Management.
(line 47)
* history_length: History Variables. (line 13)
* history_list: Information About the History List.
(line 10)
* history_max_entries: History Variables. (line 16)
-* history_no_expand_chars: History Variables. (line 48)
-* history_quotes_inhibit_expansion: History Variables. (line 53)
+* history_no_expand_chars: History Variables. (line 53)
+* history_quotes_inhibit_expansion: History Variables. (line 58)
* history_search: Searching the History List.
(line 13)
-* history_search_delimiter_chars: History Variables. (line 43)
+* history_search_delimiter_chars: History Variables. (line 48)
* history_search_pos: Searching the History List.
(line 33)
* history_search_prefix: Searching the History List.
@@ -1334,13 +1341,13 @@ Appendix C Function and Variable Index
(line 19)
* history_set_pos: Moving Around the History List.
(line 10)
-* history_subst_char: History Variables. (line 29)
+* history_subst_char: History Variables. (line 34)
* history_tokenize: History Expansion. (line 39)
* history_total_bytes: Information About the History List.
(line 32)
* history_truncate_file: Managing the History File.
(line 35)
-* history_word_delimiters: History Variables. (line 39)
+* history_word_delimiters: History Variables. (line 44)
* history_write_timestamps: History Variables. (line 20)
* next_history: Moving Around the History List.
(line 20)
@@ -1368,27 +1375,27 @@ Appendix C Function and Variable Index

Tag Table:
-Node: Top1312
-Node: Using History Interactively1957
-Node: History Interaction2465
-Node: Event Designators3889
-Node: Word Designators4824
-Node: Modifiers6463
-Node: Programming with GNU History7688
-Node: Introduction to History8431
-Node: History Storage10121
-Node: History Functions11256
-Node: Initializing History and State Management12245
-Node: History List Management13057
-Node: Information About the History List15089
-Node: Moving Around the History List16586
-Node: Searching the History List17587
-Node: Managing the History File19519
-Node: History Expansion21339
-Node: History Variables23247
-Node: History Programming Example26053
-Node: GNU Free Documentation License28730
-Node: Concept Index53921
-Node: Function and Variable Index54626
+Node: Top1314
+Node: Using History Interactively1959
+Node: History Interaction2467
+Node: Event Designators3891
+Node: Word Designators5033
+Node: Modifiers6672
+Node: Programming with GNU History7897
+Node: Introduction to History8640
+Node: History Storage10330
+Node: History Functions11465
+Node: Initializing History and State Management12454
+Node: History List Management13266
+Node: Information About the History List15298
+Node: Moving Around the History List16795
+Node: Searching the History List17796
+Node: Managing the History File19728
+Node: History Expansion21548
+Node: History Variables23456
+Node: History Programming Example26488
+Node: GNU Free Documentation License29165
+Node: Concept Index54356
+Node: Function and Variable Index55061

End Tag Table