aboutsummaryrefslogtreecommitdiff
path: root/readline/doc/history.info
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-09 16:21:23 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-07-09 16:21:23 +0000
commitf9267e152c9c4e2b150366c590674180e66d45df (patch)
treee7e5dfd0d642c0a71503684b9eaff7da99c50562 /readline/doc/history.info
parenta44161c313d46a1b10fd764728a089c26037710a (diff)
downloadfsf-binutils-gdb-f9267e152c9c4e2b150366c590674180e66d45df.zip
fsf-binutils-gdb-f9267e152c9c4e2b150366c590674180e66d45df.tar.gz
fsf-binutils-gdb-f9267e152c9c4e2b150366c590674180e66d45df.tar.bz2
Import of readline 4.1
Diffstat (limited to 'readline/doc/history.info')
-rw-r--r--readline/doc/history.info61
1 files changed, 42 insertions, 19 deletions
diff --git a/readline/doc/history.info b/readline/doc/history.info
index 7a87cbd..e73cd63 100644
--- a/readline/doc/history.info
+++ b/readline/doc/history.info
@@ -1,4 +1,4 @@
-This is Info file history.info, produced by Makeinfo version 1.67 from
+This is Info file history.info, produced by Makeinfo version 1.68 from
the input file /usr/homes/chet/src/bash/readline-src/doc/hist.texinfo.
INFO-DIR-SECTION Libraries
@@ -141,6 +141,22 @@ be omitted if the word designator begins with a `^', `$', `*', `-', or
word being denoted by 0 (zero). Words are inserted into the current
line separated by single spaces.
+ For example,
+
+`!!'
+ designates the preceding command. When you type this, the
+ preceding command is repeated in toto.
+
+`!!:$'
+ designates the last argument of the preceding command. This may be
+ shortened to `!$'.
+
+`!fi:2'
+ designates the second argument of the most recent command starting
+ with the letters `fi'.
+
+ Here are the word designators:
+
`0 (zero)'
The `0'th word. For many applications, this is the command word.
@@ -261,6 +277,13 @@ the history substitution provided by `csh'.
includes some history manipulation by default, and has the added
advantage of command line editing.
+ Before declaring any functions using any functionality the History
+library provides in other code, an application writer should include
+the file `<readline/history.h>' in any file that uses the History
+library's features. It supplies extern declarations for all of the
+library's public functions and variables, and declares all of the
+public data structures.
+

File: history.info, Node: History Storage, Next: History Functions, Prev: Introduction to History, Up: Programming with GNU History
@@ -527,8 +550,8 @@ History Expansion
if there was an error in expansion;
`2'
- if the returned line should only be displayed, but not
- executed, as with the `:p' modifier (*note Modifiers::.).
+ if the returned line should be displayed, but not executed,
+ as with the `:p' modifier (*note Modifiers::.).
If an error ocurred in expansion, then OUTPUT contains a
descriptive error message.
@@ -768,21 +791,21 @@ Node: Using History Interactively1742
Node: History Interaction2250
Node: Event Designators3669
Node: Word Designators4596
-Node: Modifiers5845
-Node: Programming with GNU History6983
-Node: Introduction to History7709
-Node: History Storage9030
-Node: History Functions10123
-Node: Initializing History and State Management11094
-Node: History List Management11886
-Node: Information About the History List13407
-Node: Moving Around the History List14713
-Node: Searching the History List15598
-Node: Managing the History File17430
-Node: History Expansion18936
-Node: History Variables20780
-Node: History Programming Example23098
-Node: Concept Index25702
-Node: Function and Variable Index26188
+Node: Modifiers6225
+Node: Programming with GNU History7363
+Node: Introduction to History8089
+Node: History Storage9774
+Node: History Functions10867
+Node: Initializing History and State Management11838
+Node: History List Management12630
+Node: Information About the History List14151
+Node: Moving Around the History List15457
+Node: Searching the History List16342
+Node: Managing the History File18174
+Node: History Expansion19680
+Node: History Variables21519
+Node: History Programming Example23837
+Node: Concept Index26441
+Node: Function and Variable Index26927

End Tag Table