]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
The following changes were made by Jim Blandy
authorDavid Taylor <taylor@redhat.com>
Tue, 8 Dec 1998 16:33:13 +0000 (16:33 +0000)
committerDavid Taylor <taylor@redhat.com>
Tue, 8 Dec 1998 16:33:13 +0000 (16:33 +0000)
  <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.

readline/.Sanitize
readline/ChangeLog
readline/doc/ChangeLog
readline/doc/inc-hist.texi
readline/doc/rluser.texinfo
readline/sysdep-hpux.h [new file with mode: 0644]

index 62fd7da23fc76039ada254fc7378cdbfe9e3b090..e6c545f51920023d000636d0b89be61e7747b2fa 100644 (file)
@@ -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
index 727fd6215cd6a2199eaa24ad0b59a8531c1fa519..d3172bce3dab9a3ff8f1a87606161ebe0280b3a8 100644 (file)
@@ -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*.
index 2520a8522cd1cfefcd5e57b4c86ad2c6875a0ec4..43e1073317546898975ce7a55b1cf960f14263cd 100644 (file)
@@ -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.
index 9cdde401cd2b2942f83b2941ad278ac778de62f4..f55f7ae67d5d82e1fc10cd2c41bfa6309d8a387b 100644 (file)
@@ -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,
index da1111148bf921fbb4b78fbaa33aa6788d529b60..fb37f528fc13dc349f26d0747d8c55d27d80fc8f 100644 (file)
@@ -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 (file)
index 0000000..2ab2d38
--- /dev/null
@@ -0,0 +1,7 @@
+/* System-dependent stuff for HP/UX 10.20 on HPPA */
+
+#include <alloca.h>
+
+#include <dirent.h>
+typedef struct dirent dirent;
+