Getline_el.cxx File Reference

#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <list>
#include <string>
#include <fstream>
#include "editline.h"

Go to the source code of this file.

Defines

#define BUF_SIZE   1024

Functions

char * Getline (const char *prompt)
char * Getlinem (int mode, const char *prompt)
void Gl_config (const char *which, int value)
void Gl_setwidth (int w)
void Gl_windowchanged ()
int Gl_eof ()
void Gl_histinit (char *file)
void Gl_histadd (char *buf)
void Gl_setColors (const char *colorTab, const char *colorTabComp, const char *colorBracket, const char *colorBadBracket, const char *colorPrompt)
void Gl_histsize (int size, int save)

Variables

int(*) Gl_tab_hook (char *buf, int prompt_width, int *loc)=0
int(*) Gl_beep_hook ()=0
int(*) Gl_in_key (int ch)=0
const char * hist_file = 0
int size_lines = 500
int save_lines = -1


Define Documentation

#define BUF_SIZE   1024

Definition at line 254 of file Getline_el.cxx.


Function Documentation

char* Getline ( const char *  prompt  ) 

char* Getlinem ( int  mode,
const char *  prompt 
)

void Gl_config ( const char *  which,
int  value 
)

int Gl_eof (  ) 

Definition at line 1013 of file Getline.c.

void Gl_histadd ( char *  buf  ) 

void Gl_histinit ( char *  file  ) 

void Gl_histsize ( int  size,
int  save 
)

Definition at line 411 of file Getline_el.cxx.

References save_lines, size_lines, and stifle_history().

void Gl_setColors ( const char *  colorTab,
const char *  colorTabComp,
const char *  colorBracket,
const char *  colorBadBracket,
const char *  colorPrompt 
)

void Gl_setwidth ( int  w  ) 

void Gl_windowchanged (  ) 


Variable Documentation

int(* ) Gl_beep_hook()=0

Definition at line 231 of file Getline_el.cxx.

int(* ) Gl_in_key(int ch)=0

Definition at line 232 of file Getline_el.cxx.

int(* ) Gl_tab_hook(char *buf, int prompt_width, int *loc)=0

Definition at line 230 of file Getline_el.cxx.

const char* hist_file = 0

newer imported interfaces

Definition at line 250 of file Getline_el.cxx.

int save_lines = -1

Definition at line 264 of file Getline_el.cxx.

Referenced by Gl_histsize().

int size_lines = 500

Definition at line 263 of file Getline_el.cxx.

Referenced by Gl_histsize().


Generated on Tue Jul 5 15:57:23 2011 for ROOT_528-00b_version by  doxygen 1.5.1