aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1998-12-08 16:33:13 +0000
committerDavid Taylor <taylor@redhat.com>1998-12-08 16:33:13 +0000
commit59bfc16ae34e56d6081ed4935a23f496aa5134e8 (patch)
treebcd95e2681bb6e435ec247f7cee309adc05cb228 /readline
parentb98e2024f49bed818e8f2a477536f406070650c6 (diff)
downloadgdb-59bfc16ae34e56d6081ed4935a23f496aa5134e8.zip
gdb-59bfc16ae34e56d6081ed4935a23f496aa5134e8.tar.gz
gdb-59bfc16ae34e56d6081ed4935a23f496aa5134e8.tar.bz2
The following changes were made by Jim Blandy
<jimb@zwingli.cygnus.com> and David Taylor <taylor@texas.cygnus.com> as part of a project to merge in changes made by HP; HP did not create ChangeLog entries. * config/mp-enable-tui: New file. (TUI_CFLAGS): Search devo's include directory, as long as we're totally ruining modularity. (INCLUDE_SRCDIR): New var. (GDB_TUI_SRCDIR): Fix syntax error. * configure.in: Check the --enable-tui flag; if it's set, include a makefile fragment that #defines TUI and adds the needed #include directories. (*-*-hpux*): New host; use sysdep-hpux.h. * Makefile.in (.c.o): Check the variable set in the makefile fragment above. * display.c (term_goto): declare it. (insert_some_chars): set it. (delete_chars): set it. * readline.c: add tui include files surrounded by TUI. (rl_reset): new function, move some of rl_abort functionality to here. (rl_abort): call rl_reset. (rl_getc): tui changes. (init_terminal_io): tui changes. * readline.h (tui_version, fputc_unfiltered, fputs_unfiltered, tui_tputs): declare if TUI is defined. * rltty.c (prepare_terminal_settings): additional comment. * signals.c: add tui include files surrounded by TUI. move #if and #endif to column 1 so HP's compiler will accept them. Remove declaration of tuiDoAndReturnToTop since it's declared in tui.h. (rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined. (rl_handle_sigwinch_on_clear): define if TUI defined. (rl_set_signals): if TUI, avoid infinite recursion. (rl_clear_signals): install rl_handle_sigwinch_on_clear. * sysdep-hpux.h: New file.
Diffstat (limited to 'readline')
-rw-r--r--readline/.Sanitize1
-rw-r--r--readline/ChangeLog47
-rw-r--r--readline/doc/ChangeLog4
-rw-r--r--readline/doc/inc-hist.texi2
-rw-r--r--readline/doc/rluser.texinfo32
-rw-r--r--readline/sysdep-hpux.h7
6 files changed, 76 insertions, 17 deletions
diff --git a/readline/.Sanitize b/readline/.Sanitize
index 62fd7da..e6c545f 100644
--- a/readline/.Sanitize
+++ b/readline/.Sanitize
@@ -52,6 +52,7 @@ sysdep-6irix.h
sysdep-aix.h
sysdep-cxux7.h
sysdep-hpux11.h
+sysdep-hpux.h
sysdep-irix.h
sysdep-linux.h
sysdep-norm.h
diff --git a/readline/ChangeLog b/readline/ChangeLog
index 727fd62..d3172bc 100644
--- a/readline/ChangeLog
+++ b/readline/ChangeLog
@@ -1,3 +1,50 @@
+Fri Dec 4 15:25:41 1998 David Taylor <taylor@texas.cygnus.com>
+
+ The following changes were made by Jim Blandy
+ <jimb@zwingli.cygnus.com> and David Taylor
+ <taylor@texas.cygnus.com> as part of a project to merge in changes
+ made by HP; HP did not create ChangeLog entries.
+
+ * config/mp-enable-tui: New file.
+ (TUI_CFLAGS): Search devo's include directory, as long as we're
+ totally ruining modularity.
+ (INCLUDE_SRCDIR): New var.
+ (GDB_TUI_SRCDIR): Fix syntax error.
+
+ * configure.in: Check the --enable-tui flag; if it's set, include
+ a makefile fragment that #defines TUI and adds the needed #include
+ directories.
+ (*-*-hpux*): New host; use sysdep-hpux.h.
+
+ * Makefile.in (.c.o): Check the variable set in the makefile
+ fragment above.
+
+ * display.c (term_goto): declare it.
+ (insert_some_chars): set it.
+ (delete_chars): set it.
+
+ * readline.c: add tui include files surrounded by TUI.
+ (rl_reset): new function, move some of rl_abort functionality to
+ here.
+ (rl_abort): call rl_reset.
+ (rl_getc): tui changes.
+ (init_terminal_io): tui changes.
+
+ * readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
+ tui_tputs): declare if TUI is defined.
+
+ * rltty.c (prepare_terminal_settings): additional comment.
+
+ * signals.c: add tui include files surrounded by TUI. move #if
+ and #endif to column 1 so HP's compiler will accept them. Remove
+ declaration of tuiDoAndReturnToTop since it's declared in tui.h.
+ (rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
+ (rl_handle_sigwinch_on_clear): define if TUI defined.
+ (rl_set_signals): if TUI, avoid infinite recursion.
+ (rl_clear_signals): install rl_handle_sigwinch_on_clear.
+
+ * sysdep-hpux.h: New file.
+
Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Check cygwin* instead of cygwin32*.
diff --git a/readline/doc/ChangeLog b/readline/doc/ChangeLog
index 2520a85..43e1073 100644
--- a/readline/doc/ChangeLog
+++ b/readline/doc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jul 9 17:03:26 1998 Edith Epstein <eepstein@sophia.cygnus.com>
+
+ * inc-hist.texi: one line change.
+
Wed Sep 20 12:57:29 1995 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (maintainer-clean): New synonym for realclean.
diff --git a/readline/doc/inc-hist.texi b/readline/doc/inc-hist.texi
index 9cdde40..f55f7ae 100644
--- a/readline/doc/inc-hist.texi
+++ b/readline/doc/inc-hist.texi
@@ -27,7 +27,7 @@ Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions.
@end ignore
-@node Using History Interactively
+@node Using History, Installing GDB, Command Line Editing, Top
@appendix Using History Interactively
This chapter describes how to use the GNU History Library interactively,
diff --git a/readline/doc/rluser.texinfo b/readline/doc/rluser.texinfo
index da11111..fb37f52 100644
--- a/readline/doc/rluser.texinfo
+++ b/readline/doc/rluser.texinfo
@@ -39,7 +39,7 @@ This text describes GNU's command line editing interface.
* Readline Init File:: Customizing Readline from a user's view.
@end menu
-@node Introduction and Notation
+@node Introduction and Notation, Readline Interaction, Command Line Editing, Command Line Editing
@section Introduction to Line Editing
The following paragraphs describe the notation we use to represent
@@ -62,7 +62,7 @@ In addition, several keys have their own names. Specifically,
stand for themselves when seen in this text, or in an init file
(@pxref{Readline Init File}, for more info).
-@node Readline Interaction
+@node Readline Interaction, Readline Init File, Introduction and Notation, Command Line Editing
@section Readline Interaction
@cindex interaction, readline
@@ -84,7 +84,7 @@ regardless of the location of the cursor within the line.
* Readline Arguments:: Giving numeric arguments to commands.
@end menu
-@node Readline Bare Essentials
+@node Readline Bare Essentials, Readline Movement Commands, Readline Interaction, Readline Interaction
@subsection Readline Bare Essentials
In order to enter characters into the line, simply type them. The typed
@@ -121,7 +121,7 @@ Undo the last thing that you did. You can undo all the way back to an
empty line.
@end table
-@node Readline Movement Commands
+@node Readline Movement Commands, Readline Killing Commands, Readline Bare Essentials, Readline Interaction
@subsection Readline Movement Commands
The above table describes the most basic possible keystrokes that you need
@@ -147,7 +147,7 @@ Notice how @key{C-f} moves forward a character, while @key{M-f} moves
forward a word. It is a loose convention that control keystrokes
operate on characters while meta keystrokes operate on words.
-@node Readline Killing Commands
+@node Readline Killing Commands, Readline Arguments, Readline Movement Commands, Readline Interaction
@subsection Readline Killing Commands
@dfn{Killing} text means to delete the text from the line, but to save
@@ -194,7 +194,7 @@ ring is not line specific; the text that you killed on a previously
typed line is available to be yanked back later, when you are typing
another line.
-@node Readline Arguments
+@node Readline Arguments,, Readline Killing Commands, Readline Interaction
@subsection Readline Arguments
You can pass numeric arguments to Readline commands. Sometimes the
@@ -212,7 +212,7 @@ the remainder of the digits, and then the command. For example, to give
the @key{C-d} command an argument of 10, you could type @key{M-1 0 C-d}.
-@node Readline Init File
+@node Readline Init File,, Readline Interaction, Command Line Editing
@section Readline Init File
Although the Readline library comes with a set of @sc{gnu} Emacs-like
@@ -232,7 +232,7 @@ incorporating any changes that you might have made to it.
* Readline vi Mode:: Switching to @code{vi} mode in Readline.
@end menu
-@node Readline Init Syntax
+@node Readline Init Syntax, Readline vi Mode, Readline Init File, Readline Init File
@subsection Readline Init Syntax
There are only four constructs allowed in the @file{~/.inputrc}
@@ -339,7 +339,7 @@ In the above example, @key{C-u} is bound to the function
@end menu
@need 2000
-@node Commands For Moving
+@node Commands For Moving, Commands For History, Readline Init Syntax, Readline Init Syntax
@subsubsection Commands For Moving
@ftable @code
@@ -367,7 +367,7 @@ Clear the screen leaving the current line at the top of the screen.
@end ftable
@need 2000
-@node Commands For History
+@node Commands For History, Commands For Text, Commands For Moving, Readline Init Syntax
@subsubsection Commands For Manipulating The History
@ftable @code
@@ -399,7 +399,7 @@ the the history as necessary.
@end ftable
@need 2000
-@node Commands For Text
+@node Commands For Text, Commands For Killing, Commands For History, Readline Init Syntax
@subsubsection Commands For Changing Text
@ftable @code
@@ -446,7 +446,7 @@ negative argument, do the previous word, but do not move point.
@end ftable
@need 2000
-@node Commands For Killing
+@node Commands For Killing, Numeric Arguments, Commands For Text, Readline Init Syntax
@subsubsection Killing And Yanking
@ftable @code
@@ -481,7 +481,7 @@ the prior command is yank or yank-pop.
@end ftable
@need 2000
-@node Numeric Arguments
+@node Numeric Arguments, Commands For Completion, Commands For Killing, Readline Init Syntax
@subsubsection Specifying Numeric Arguments
@ftable @code
@@ -496,7 +496,7 @@ Do what @key{C-u} does in @sc{gnu} Emacs. By default, this is not bound.
@need 2000
-@node Commands For Completion
+@node Commands For Completion, Miscellaneous Commands, Numeric Arguments, Readline Init Syntax
@subsubsection Letting Readline Type For You
@ftable @code
@@ -513,7 +513,7 @@ List the possible completions of the text before point.
@end ftable
@need 2000
-@node Miscellaneous Commands
+@node Miscellaneous Commands,, Commands For Completion, Readline Init Syntax
@subsubsection Some Miscellaneous Commands
@ftable @code
@@ -547,7 +547,7 @@ command enough times to get back to the beginning.
@end ftable
@need 2000
-@node Readline vi Mode
+@node Readline vi Mode,, Readline Init Syntax, Readline Init File
@subsection Readline @code{vi} Mode
@cindex @code{vi} style command editing
diff --git a/readline/sysdep-hpux.h b/readline/sysdep-hpux.h
new file mode 100644
index 0000000..2ab2d38
--- /dev/null
+++ b/readline/sysdep-hpux.h
@@ -0,0 +1,7 @@
+/* System-dependent stuff for HP/UX 10.20 on HPPA */
+
+#include <alloca.h>
+
+#include <dirent.h>
+typedef struct dirent dirent;
+