rltty.c (157184) | rltty.c (165670) |
---|---|
1/* rltty.c -- functions to prepare and restore the terminal for readline's 2 use. */ 3 4/* Copyright (C) 1992-2005 Free Software Foundation, Inc. 5 6 This file is part of the GNU Readline Library, a library for 7 reading lines of text with interactive input and history editing. 8 --- 919 unchanged lines hidden (view full) --- 928 in KMAP. Should be static, now that we have rl_tty_set_default_bindings. */ 929void 930rltty_set_default_bindings (kmap) 931 Keymap kmap; 932{ 933#if !defined (NO_TTY_DRIVER) 934 TIOTYPE ttybuff; 935 int tty; | 1/* rltty.c -- functions to prepare and restore the terminal for readline's 2 use. */ 3 4/* Copyright (C) 1992-2005 Free Software Foundation, Inc. 5 6 This file is part of the GNU Readline Library, a library for 7 reading lines of text with interactive input and history editing. 8 --- 919 unchanged lines hidden (view full) --- 928 in KMAP. Should be static, now that we have rl_tty_set_default_bindings. */ 929void 930rltty_set_default_bindings (kmap) 931 Keymap kmap; 932{ 933#if !defined (NO_TTY_DRIVER) 934 TIOTYPE ttybuff; 935 int tty; |
936 static int called = 0; | |
937 938 tty = fileno (rl_instream); 939 940 if (get_tty_settings (tty, &ttybuff) == 0) 941 _rl_bind_tty_special_chars (kmap, ttybuff); 942#endif 943} 944 --- 91 unchanged lines hidden --- | 936 937 tty = fileno (rl_instream); 938 939 if (get_tty_settings (tty, &ttybuff) == 0) 940 _rl_bind_tty_special_chars (kmap, ttybuff); 941#endif 942} 943 --- 91 unchanged lines hidden --- |