README.porting 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Last updated, Thu Jun 15 18:32:31 EDT 1995
  2. Anyway you do it,
  3. PPPPPP L EEEEEEE A SSSSS EEEEEEE
  4. P P L E A A S S E
  5. P P L E A A S E
  6. PPPPPP L EEEEE A A SSSSS EEEEE
  7. P L E AAAAAAA S E
  8. P L E A A S S E
  9. P LLLLLLL EEEEEEE A A SSSSS EEEEEEE
  10. 1. READ THIS DIATRIBE
  11. 2. TALK TO US IN DETAIL BEFORE EMBARKING ON EPIC HACK-A_THONS
  12. 3. USE CONTEXT DIFFS WHEN COMMUNICATING CHANGES
  13. 4. UPDATE THE DOC TOO!
  14. 5. FOLLOW THE YELLOW BRICK ROAD AND HAVE FUN!!!
  15. Generally, you'll HAVE to have (or construct a replacement for)
  16. 1. nap() or -DUSE_SELECT if you have a working select()
  17. 2. ftime() or -DUSE_GETTIMEOFDAY if you have gettimeofday()
  18. 3. SVR3 termio or -DUSE_TERMIOS if you have POSIX/SVR4 termios
  19. 4. termcap- or terminfo-based curses (ecu_curses.h and
  20. Make.src/Makefile LDLIBS hackery)
  21. 5. HDB ASCII-style lock file conventions or -DUSE_DECIMAL_PIDS
  22. if int-sized values are to be used.
  23. Configure, config.c and Make.src conspire to pass these
  24. configuration #defines to ECU:
  25. #define identifier defined if
  26. --------------------- ----------------------------------------------
  27. CFG_BinaryUucpPids UUCP lock files have int pids not ASCII
  28. CFG_FionrdRdchk If you lack rdchk() but have ioctl(FIONREAD)
  29. CFG_GettodFtime If you lack ftime() but have gettimeofday()
  30. CFG_MmapSHM If you lack SYSV shm, but have mmap()
  31. CFG_SelectNap If you lack nap() but have select()
  32. CFG_TermiosLineio If you lack termio but have POSIX termios
  33. CFG_UngettyChown If want ecuungetty to manage tty ownership
  34. CFG_UseUngetty If you want and have ported ecuungetty
  35. CFG_ScreenLinesMax maximum number of screen rows (config.c default=50)
  36. CFG_ScreenColsMax maximum number of screen columns (config.c default=80)
  37. CFG_SemWithShm DO NOT TURN THIS ON
  38. There are more (this list is incomplete).
  39. There are other dragons not so easily compartmentalised. Study config.c.
  40. Again,
  41. PPPPPP L EEEEEEE A SSSSS EEEEEEE
  42. P P L E A A S S E
  43. P P L E A A S E
  44. PPPPPP L EEEEE A A SSSSS EEEEE
  45. P L E AAAAAAA S E
  46. P L E A A S S E
  47. P LLLLLLL EEEEEEE A A SSSSS EEEEEEE
  48. TTTTTTT A L K K
  49. T A A L K K
  50. T A A L K K
  51. T A A L KKK
  52. T AAAAAAA L K K
  53. T A A L K K
  54. T A A LLLLLLL K K
  55. TTTTTTT OOOOOOO U U SSSSS
  56. T O O U U S S
  57. T O O U U S
  58. T O O U U SSSSS
  59. T O O U U S
  60. T O O U U S S
  61. T OOOOOOO UUUUU SSSSS
  62. BEFORE EMBARKING ON EPIC HACK-A_THONS
  63. --
  64. Warren Tucker wht@wht.net n4hgf!wht
  65. The velocity of history is increasing exponentially. -- Henry Gonzales