Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
3.2 KiB

  1. /* File: D:\WACKER\emu\vtemu.hh (Created: 08-Dec-1993)
  2. *
  3. * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
  4. * All rights reserved
  5. *
  6. * $Revision: 4 $
  7. * $Date: 5/21/01 4:34p $
  8. */
  9. /* maxcol definitions */
  10. /* they're one more than normal, line won't wrap until next CHAR to display */
  11. #define VT_MAXCOL_80MODE 80
  12. #define VT_MAXCOL_132MODE 132
  13. /* from autoinit.c */
  14. void emuAutoInit(void);
  15. /* from ansiinit.c */
  16. void emuAnsiInit(void);
  17. void csrv_init(const int new_emu);
  18. int emuAnsiReset(const int);
  19. /* from ansi.c */
  20. VOID ansi_setmode(VOID);
  21. VOID ansi_resetmode(VOID);
  22. VOID ansi_savecursor(VOID);
  23. int ansi_kbdin(int key, const int fTest);
  24. /* from vt52init.c */
  25. void vt52_init(void);
  26. /* from vt52.c */
  27. VOID vt52PrintCommands(VOID);
  28. void vt52Print(void);
  29. VOID vt52_id(VOID);
  30. VOID vt52_CUP(VOID);
  31. INT vt52_kbdin(int key, const BOOL fTest);
  32. /* from vt100.c */
  33. VOID ANSI_DA(VOID);
  34. VOID vt100_savecursor(VOID);
  35. VOID vt100_answerback(VOID);
  36. VOID vt100_hostreset(VOID);
  37. int vt100_reset(const int);
  38. VOID vt100_report(VOID);
  39. int vt100_kbdin(int key, const int);
  40. int fakevt_kbdin(int key, const int);
  41. /* from vt100ini.c */
  42. VOID wang_init(BOOL new_emu);
  43. VOID ibm3278_init(BOOL new_emu);
  44. VOID renx_init(BOOL new_emu);
  45. void vt100_init(void);
  46. /* from vt220ini.c */
  47. VOID vt220_init(BOOL new_emu);
  48. VOID vt220_savekeys(BOOL save_ptrs);
  49. /* from vtutf8ini.c */
  50. void vtutf8_init(const HHEMU hhEmu);
  51. /* from vt220.c */
  52. VOID vt220_hostreset(VOID);
  53. UINT vt220_reset(BOOL host_request);
  54. VOID vt220_softreset(VOID);
  55. VOID vt220mode_reset(VOID);
  56. VOID vt220_DA(VOID);
  57. VOID vt220_2ndDA(VOID);
  58. VOID vt220_clearkey(VOID);
  59. VOID vt220_definekey(VOID);
  60. VOID vt220_level(VOID);
  61. int vt220_kbdin(int key, const BOOL fTest);
  62. VOID vt220_protectinsert(BOOL line_only);
  63. VOID vt220_protectdelete(BOOL line_only);
  64. VOID vt220_protmode(VOID);
  65. VOID vt220_protect_IL(int toprow);
  66. VOID vt220_protect_DL(int toprow);
  67. VOID vt220_clearprotect(INT fromrow, INT fromcol, INT torow, INT tocol);
  68. BOOL vt220_isprotected(INT row, INT col);
  69. VOID vt220_deinstall(BOOL quitting);
  70. VOID vt220_scroll(INT nlines, BOOL direction);
  71. VOID vt220_scrollup(INT nlines);
  72. VOID vt220_scrolldown(INT nlines);
  73. /* from vt_chars.c */
  74. VOID vt_charset_init(VOID);
  75. VOID vt_charset_save(VOID);
  76. VOID vt_charset_restore(VOID);
  77. VOID vt_scs1(VOID);
  78. VOID vt_scs2(VOID);
  79. VOID vt_charshift(VOID);
  80. #if defined(EXTENDED_FEATURES)
  81. int vt_char_emulatecmd(const HHEMU hhEmu, const ECHAR ccode);
  82. #else
  83. int vt_char_emulatecmd(const HEMU hEmu, const ECHAR ccode);
  84. #endif
  85. /* from vt_xtra.c */
  86. VOID ANSI_DSR(VOID);
  87. VOID ANSI_RM(VOID);
  88. VOID ANSI_SM(VOID);
  89. VOID vt_alt_kpmode(VOID);
  90. VOID vt_screen_adjust(VOID);
  91. VOID vt_shiftscreen(INT key);
  92. VOID vt_kbdlocked(INT key);
  93. VOID vt_scrollrgn(VOID);
  94. VOID DEC_STBM(INT top, INT bottom);
  95. VOID vt52_toANSI(VOID);
  96. VOID vt_DCH(VOID);
  97. VOID vt_IL(VOID);
  98. VOID vt_DL(VOID);
  99. void vt_clearline(const int);
  100. void vt_clearscreen(const int);
  101. VOID vt_graphic(VOID);
  102. VOID vt_backspace(VOID);
  103. VOID vt_CUB(VOID);
  104. // From vt100.c
  105. //
  106. void vt100PrintCommands(void);
  107. VOID vt100_prnc(VOID);
  108. extern TCHAR *vt220_protimg; /* address of protected bytes map */
  109. /* end of vtemu.hh */