"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "rltty.c" between
readline-7.0-rc1.tar.gz and readline-7.0-rc2.tar.gz

About: GNU Readline library - get a line from a user with editing. Release candidate.

rltty.c  (readline-7.0-rc1):rltty.c  (readline-7.0-rc2)
/* rltty.c -- functions to prepare and restore the terminal for readline's /* rltty.c -- functions to prepare and restore the terminal for readline's
use. */ use. */
/* Copyright (C) 1992-2015 Free Software Foundation, Inc. /* Copyright (C) 1992-2016 Free Software Foundation, Inc.
This file is part of the GNU Readline Library (Readline), a library This file is part of the GNU Readline Library (Readline), a library
for reading lines of text with interactive input and history editing. for reading lines of text with interactive input and history editing.
Readline is free software: you can redistribute it and/or modify Readline is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
Readline is distributed in the hope that it will be useful, Readline is distributed in the hope that it will be useful,
skipping to change at line 717 skipping to change at line 717
_rl_release_sigint (); _rl_release_sigint ();
return; return;
} }
terminal_prepped = 0; terminal_prepped = 0;
RL_UNSETSTATE(RL_STATE_TERMPREPPED); RL_UNSETSTATE(RL_STATE_TERMPREPPED);
_rl_release_sigint (); _rl_release_sigint ();
} }
#endif /* !NO_TTY_DRIVER */ #endif /* !NO_TTY_DRIVER */
/* Set readline's idea of whether or not it is echoing output to the terminal,
returning the old value. */
int
rl_tty_set_echoing (u)
int u;
{
int o;
o = _rl_echoing_p;
_rl_echoing_p = u;
return o;
}
/* **************************************************************** */ /* **************************************************************** */
/* */ /* */
/* Bogus Flow Control */ /* Bogus Flow Control */
/* */ /* */
/* **************************************************************** */ /* **************************************************************** */
int int
rl_restart_output (count, key) rl_restart_output (count, key)
int count, key; int count, key;
{ {
skipping to change at line 878 skipping to change at line 891
TIOTYPE ttybuff; TIOTYPE ttybuff;
{ {
SET_SPECIAL (VERASE, rl_rubout); SET_SPECIAL (VERASE, rl_rubout);
SET_SPECIAL (VKILL, rl_unix_line_discard); SET_SPECIAL (VKILL, rl_unix_line_discard);
# if defined (VLNEXT) && defined (TERMIOS_TTY_DRIVER) # if defined (VLNEXT) && defined (TERMIOS_TTY_DRIVER)
SET_SPECIAL (VLNEXT, rl_quoted_insert); SET_SPECIAL (VLNEXT, rl_quoted_insert);
# endif /* VLNEXT && TERMIOS_TTY_DRIVER */ # endif /* VLNEXT && TERMIOS_TTY_DRIVER */
# if defined (VWERASE) && defined (TERMIOS_TTY_DRIVER) # if defined (VWERASE) && defined (TERMIOS_TTY_DRIVER)
# if defined (VI_MODE)
if (rl_editing_mode == vi_mode)
SET_SPECIAL (VWERASE, rl_vi_unix_word_rubout);
else
# endif
SET_SPECIAL (VWERASE, rl_unix_word_rubout); SET_SPECIAL (VWERASE, rl_unix_word_rubout);
# endif /* VWERASE && TERMIOS_TTY_DRIVER */ # endif /* VWERASE && TERMIOS_TTY_DRIVER */
} }
#endif /* !NEW_TTY_DRIVER */ #endif /* !NEW_TTY_DRIVER */
/* Set the system's default editing characters to their readline equivalents /* Set the system's default editing characters to their readline equivalents
in KMAP. Should be static, now that we have rl_tty_set_default_bindings. */ in KMAP. Should be static, now that we have rl_tty_set_default_bindings. */
void void
rltty_set_default_bindings (kmap) rltty_set_default_bindings (kmap)
 End of changes. 3 change blocks. 
1 lines changed or deleted 19 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS