This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
This commit is contained in:
commit
ed288bb597
3 changed files with 7 additions and 2 deletions
|
@ -117,7 +117,7 @@ history list and history file.
|
||||||
@table @code
|
@table @code
|
||||||
|
|
||||||
@item fc
|
@item fc
|
||||||
@btindex fc
|
@comment btindex fc
|
||||||
@example
|
@example
|
||||||
@code{fc [-e @var{ename}] [-nlr] [@var{first}] [@var{last}]}
|
@code{fc [-e @var{ename}] [-nlr] [@var{first}] [@var{last}]}
|
||||||
@code{fc -s [@var{pat}=@var{rep}] [@var{command}]}
|
@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}).
|
and typing @samp{r} re-executes the last command (@pxref{Aliases}).
|
||||||
|
|
||||||
@item history
|
@item history
|
||||||
@btindex history
|
@comment btindex history
|
||||||
@example
|
@example
|
||||||
history [-c] [@var{n}]
|
history [-c] [@var{n}]
|
||||||
history [-anrw] [@var{filename}]
|
history [-anrw] [@var{filename}]
|
||||||
|
|
|
@ -189,7 +189,9 @@ get_tty_settings (tty, tiop)
|
||||||
int tty;
|
int tty;
|
||||||
TIOTYPE *tiop;
|
TIOTYPE *tiop;
|
||||||
{
|
{
|
||||||
|
#if defined (TIOCGWINSZ)
|
||||||
set_winsize (tty);
|
set_winsize (tty);
|
||||||
|
#endif
|
||||||
|
|
||||||
tiop->flags = tiop->lflag = 0;
|
tiop->flags = tiop->lflag = 0;
|
||||||
|
|
||||||
|
@ -388,7 +390,9 @@ get_tty_settings (tty, tiop)
|
||||||
{
|
{
|
||||||
int ioctl_ret;
|
int ioctl_ret;
|
||||||
|
|
||||||
|
#if defined (TIOCGWINSZ)
|
||||||
set_winsize (tty);
|
set_winsize (tty);
|
||||||
|
#endif
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined (HAVE_UNISTD_H)
|
#if defined (HAVE_UNISTD_H)
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
|
Loading…
Reference in a new issue