aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-08-16 19:57:18 +0000
committerJason Molenda <jmolenda@apple.com>1999-08-16 19:57:18 +0000
commited288bb597072176e84fc8279707a3f2f475779b (patch)
treef33d87a24eb8da589ace3c8b052a49957a67af52
parent041d852c0324c4928e2607571e07c447adcd35c9 (diff)
parentd18570046c8cbacd074c2765813c06e541893f86 (diff)
downloadgdb-ed288bb597072176e84fc8279707a3f2f475779b.zip
gdb-ed288bb597072176e84fc8279707a3f2f475779b.tar.gz
gdb-ed288bb597072176e84fc8279707a3f2f475779b.tar.bz2
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
-rw-r--r--readline/doc/hsuser.texinfo4
-rw-r--r--readline/rltty.c4
-rw-r--r--readline/shell.c1
3 files changed, 7 insertions, 2 deletions
diff --git a/readline/doc/hsuser.texinfo b/readline/doc/hsuser.texinfo
index 76cb63b..7c4582d 100644
--- a/readline/doc/hsuser.texinfo
+++ b/readline/doc/hsuser.texinfo
@@ -117,7 +117,7 @@ history list and history file.
@table @code
@item fc
-@btindex fc
+@comment btindex fc
@example
@code{fc [-e @var{ename}] [-nlr] [@var{first}] [@var{last}]}
@code{fc -s [@var{pat}=@var{rep}] [@var{command}]}
@@ -149,7 +149,7 @@ that typing @samp{r cc} runs the last command beginning with @code{cc}
and typing @samp{r} re-executes the last command (@pxref{Aliases}).
@item history
-@btindex history
+@comment btindex history
@example
history [-c] [@var{n}]
history [-anrw] [@var{filename}]
diff --git a/readline/rltty.c b/readline/rltty.c
index a5ef938..2c7e886 100644
--- a/readline/rltty.c
+++ b/readline/rltty.c
@@ -189,7 +189,9 @@ get_tty_settings (tty, tiop)
int tty;
TIOTYPE *tiop;
{
+#if defined (TIOCGWINSZ)
set_winsize (tty);
+#endif
tiop->flags = tiop->lflag = 0;
@@ -388,7 +390,9 @@ get_tty_settings (tty, tiop)
{
int ioctl_ret;
+#if defined (TIOCGWINSZ)
set_winsize (tty);
+#endif
while (1)
{
diff --git a/readline/shell.c b/readline/shell.c
index 091ec08..f0ddc89 100644
--- a/readline/shell.c
+++ b/readline/shell.c
@@ -27,6 +27,7 @@
#endif
#include <sys/types.h>
+#include <stdio.h>
#if defined (HAVE_UNISTD_H)
# include <unistd.h>