home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / AP / JED / JED097-1.TAR / jed / src / display.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-12  |  2.0 KB  |  57 lines

  1. /*
  2.  *  Copyright (c) 1992, 1994 John E. Davis  (davis@amy.tch.harvard.edu)
  3.  *  All Rights Reserved.
  4.  */
  5.  
  6. #include <stdio.h>
  7.  
  8. #include "config.h"
  9. #include "display.h"
  10. #include "slang.h"
  11.  
  12. void (*tt_goto_rc)(int, int)          = SLtt_goto_rc;
  13. void (*tt_begin_insert)(void)          = SLtt_begin_insert;
  14. void (*tt_end_insert)(void)          = SLtt_end_insert;
  15. void (*tt_del_eol)(void)          = SLtt_del_eol;
  16. void (*tt_delete_nlines)(int)          = SLtt_delete_nlines;
  17. void (*tt_delete_char)(void)          = SLtt_delete_char;
  18. void (*tt_erase_line)(void)          = SLtt_erase_line;
  19. void (*tt_tt_normal_video)(void)      = SLtt_normal_video;
  20. void (*tt_cls)(void)              = SLtt_cls;
  21. void (*tt_beep)(void)              = SLtt_beep;
  22. void (*tt_reverse_index)(int)         = SLtt_reverse_index;
  23. void (*tt_smart_puts)(unsigned short *, unsigned short *, int, int)  = SLtt_smart_puts;
  24. void (*tt_write_string)(char *)      = SLtt_write_string;
  25. void (*tt_putchar)(char)          = SLtt_putchar;
  26. void (*tt_init_video)(void)          = SLtt_init_video;
  27. void (*tt_reset_video)(void)          = SLtt_reset_video;
  28. void (*tt_normal_video)(void)          = SLtt_normal_video;
  29. void (*tt_set_scroll_region)(int, int)  = SLtt_set_scroll_region;
  30. void (*tt_reset_scroll_region)(void)      = SLtt_reset_scroll_region;
  31. void (*tt_get_terminfo)(void)          = SLtt_get_terminfo;
  32. void (*tt_set_color)(int, char *, char *, char *) = SLtt_set_color;
  33.  
  34. #ifndef pc_system
  35. void (*tt_set_color_esc)(int, char *)    = SLtt_set_color_esc;
  36. void (*tt_wide_width)(void)          = SLtt_wide_width;
  37. void (*tt_narrow_width)(void)          = SLtt_narrow_width;
  38. void (*tt_enable_cursor_keys)(void)      = SLtt_enable_cursor_keys;
  39. void (*tt_set_term_vtxxx)(int *)      = SLtt_set_term_vtxxx;
  40. #endif
  41.  
  42. int *tt_Ignore_Beep          = &SLtt_Ignore_Beep;
  43. int *tt_Use_Ansi_Colors      = &SLtt_Use_Ansi_Colors;
  44. int *tt_Term_Cannot_Scroll      = &SLtt_Term_Cannot_Scroll;
  45. int *tt_Term_Cannot_Insert      = &SLtt_Term_Cannot_Insert;
  46. int *tt_Screen_Rows          = &SLtt_Screen_Rows;
  47. int *tt_Screen_Cols          = &SLtt_Screen_Cols;
  48.  
  49. #ifndef pc_system
  50. int *tt_Baud_Rate          = &SLtt_Baud_Rate;
  51. #endif
  52.  
  53. void flush_output (void)
  54. {
  55.    SLtt_flush_output ();
  56. }
  57.