/[gcl]/gcl/o/gcl_readline.d
ViewVC logotype

Diff of /gcl/o/gcl_readline.d

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.6.10.2 by camm, Sat Apr 30 22:33:34 2005 UTC revision 1.1.2.6.10.3 by camm, Mon Jul 18 17:07:24 2005 UTC
# Line 53  Foundation, 675 Mass Ave, Cambridge, MA Line 53  Foundation, 675 Mass Ave, Cambridge, MA
53    
54  int readline_on = 0;            /* On (1) or off (0) */  int readline_on = 0;            /* On (1) or off (0) */
55  static int rl_ungetc_em_char = -1;  static int rl_ungetc_em_char = -1;
56  static unsigned char *rl_putc_em_line = NULL;  static char *rl_putc_em_line = NULL;
57    
58  #ifdef RL_COMPLETION  #ifdef RL_COMPLETION
59    
# Line 225  static char **rl_completion(char *text, Line 225  static char **rl_completion(char *text,
225  int rl_putc_em(int c, FILE *f) {  int rl_putc_em(int c, FILE *f) {
226          static int allocated_length = 0;          static int allocated_length = 0;
227          static int current_length = 0;          static int current_length = 0;
228          unsigned char *old_line;          char *old_line;
229    
230          if (f!=stdout || !isatty(fileno(f)) ) goto tail;          if (f!=stdout || !isatty(fileno(f)) ) goto tail;
231    
# Line 255  int rl_putc_em(int c, FILE *f) { Line 255  int rl_putc_em(int c, FILE *f) {
255  }  }
256    
257  int rl_getc_em(FILE *f) {  int rl_getc_em(FILE *f) {
258          static unsigned char *line = NULL;          static char *line = NULL;
259          static int linepos = 0;          static int linepos = 0;
260          int r;          int r;
261                    

Legend:
Removed from v.1.1.2.6.10.2  
changed lines
  Added in v.1.1.2.6.10.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26