pc_scr.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*+-------------------------------------------------------------------------
  2. pc_scr.h - PC/AT screen definitions
  3. wht@wht.net
  4. --------------------------------------------------------------------------*/
  5. /*+:EDITS:*/
  6. /*:04-26-2000-11:16-wht@bob-RELEASE 4.42 */
  7. /*:03-16-1997-02:36-rll@felton.felton.ca.us-make boxes for SCO Products */
  8. /*:01-24-1997-02:37-wht@yuriatin-SOURCE RELEASE 4.00 */
  9. /*:09-11-1996-20:00-wht@yuriatin-3.48-major telnet,curses,structural overhaul */
  10. /*:09-07-1996-16:39-wht@kepler-capitalize on WINCH */
  11. /*:09-07-1996-16:18-wht@kepler-CFG_UseACS coined for use outside of config */
  12. /*:11-23-1995-11:20-wht@kepler-source control 3.37 for tsx-11 */
  13. /*:11-14-1995-10:23-wht@kepler-3.37.80-source control point: SOCKETS */
  14. /*:01-12-1995-15:20-wht@n4hgf-apply Andrew Chernov 8-bit clean+FreeBSD patch */
  15. /*:05-04-1994-04:39-wht@n4hgf-ECU release 3.30 */
  16. /*:11-12-1993-11:00-wht@n4hgf-Linux changes by bob@vancouver.zadall.com */
  17. /*:09-10-1992-14:00-wht@n4hgf-ECU release 3.20 */
  18. /*:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA */
  19. /*:03-27-1992-16:21-wht@n4hgf-re-include protection for all .h files */
  20. /*:07-25-1991-12:58-wht@n4hgf-ECU release 3.10 */
  21. /*:12-04-1990-02:48-wht@n4hgf-for nonansi terminals provide either ruling set */
  22. /*:08-14-1990-20:40-wht@n4hgf-ecu3.00-flush old edit history */
  23. #ifndef _pc_scr_h
  24. #define _pc_scr_h
  25. /*
  26. * AT ROM ruling characters
  27. */
  28. #define at_TL 0xDA /* top left single rule */
  29. #define at_TR 0xBF /* top right single rule */
  30. #define at_BL 0xC0 /* bottom left single rule */
  31. #define at_BR 0xD9 /* bottom right single rule */
  32. #define at_LT 0xC3 /* left hand T */
  33. #define at_RT 0xB4 /* right hand T */
  34. #define at_VR 0xB3 /* vertical rule */
  35. #define at_HR 0xC4 /* horizontal rule */
  36. /*
  37. * vanilla screen ruling
  38. */
  39. #define vanilla_TL '.'
  40. #define vanilla_TR '.'
  41. #define vanilla_BL '`'
  42. #define vanilla_BR '\''
  43. #define vanilla_LT '+'
  44. #define vanilla_RT '+'
  45. #define vanilla_VR '|'
  46. #define vanilla_HR '-'
  47. /*
  48. * we either use the ACS_... character definitions
  49. * or we don't
  50. */
  51. #undef CFG_UseACS
  52. #if defined(linux) || defined(__FreeBSD__) || defined(SCO32v4) || defined(SVR4)
  53. #define CFG_UseACS
  54. #endif
  55. #if defined(CFG_UseACS)
  56. typedef chtype WINCH;
  57. #else
  58. typedef unsigned char WINCH;
  59. #endif
  60. extern WINCH sTL;
  61. extern WINCH sTR;
  62. extern WINCH sBL;
  63. extern WINCH sBR;
  64. extern WINCH sLT;
  65. extern WINCH sRT;
  66. extern WINCH sVR;
  67. extern WINCH sHR;
  68. #endif /* _pc_scr_h */
  69. /* vi: set tabstop=4 shiftwidth=4: */
  70. /* end of pc_scr.h */