<commit_before>// @(#)root/editline:$Id$
// Author: <NAME>, 2009

/*************************************************************************
 * Copyright (C) 1995-2009, <NAME> and <NAME>.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifdef __sun
# include R__CURSESHDR
extern "C" {
   // cannot #include term.h because it #defines move() etc
   char *tparm(char*, long, long, long, long, long, long, long, long, long);
   char *tigetstr(char*);
   int tigetnum(char*);
   char *tgoto(char*, int, int);
   int   tputs(char*, int, int (*)(int));
   int tgetflag(char*);
   int tgetnum(char*);
   char* tgetstr(char*, char**);
   int tgetent(char*, const char*);
}
#else
extern "C" {
# include R__CURSESHDR
# include <termcap.h>
int setupterm(const char* term, int fd, int* perrcode);
}
#endif

// un-be-lievable: termcap.h / term.h often #define these.
# ifdef erase
#  undef erase<commit_msg>Don't #include termcap.h if curses's version was already included by curses.h. Fixes problem with OpenSuSE 10.<commit_after>// @(#)root/editline:$Id$
// Author: <NAME>, 2009

/*************************************************************************
 * Copyright (C) 1995-2009, <NAME> and <NAME>.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifdef __sun
# include R__CURSESHDR
extern "C" {
   // cannot #include term.h because it #defines move() etc
   char *tparm(char*, long, long, long, long, long, long, long, long, long);
   char *tigetstr(char*);
   int tigetnum(char*);
   char *tgoto(char*, int, int);
   int   tputs(char*, int, int (*)(int));
   int tgetflag(char*);
   int tgetnum(char*);
   char* tgetstr(char*, char**);
   int tgetent(char*, const char*);
}
#else
extern "C" {
# include R__CURSESHDR
   // some curses.h include a curses-version of termcap.h which
   // conflicts with the system one:
# ifndef _TERMCAP_H
#  include <termcap.h>
# endif
int setupterm(const char* term, int fd, int* perrcode);
}
#endif

// un-be-lievable: termcap.h / term.h often #define these.
# ifdef erase
#  undef erase
{'fraction_non_alphanumeric': 0.22809611829944548, 'fraction_numerical': 0.009611829944547136, 'mean_word_length': 2.4603580562659846, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4864472', 'n_tokens_mistral': 840, 'n_tokens_neox': 774, 'n_words': 236}