home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / old / ckermit5a188 / ckuver.h < prev    next >
C/C++ Source or Header  |  2020-01-01  |  11KB  |  583 lines

  1. /* ckuver.h -- C-Kermit UNIX Version heralds */
  2. /*
  3.   Author: Frank da Cruz (fdc@columbia.edu, FDCCU@CUVMA.BITNET),
  4.   Columbia University Center for Computing Activities.
  5.   First released January 1985.
  6.   Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New
  7.   York.  Permission is granted to any individual or institution to use this
  8.   software as long as it is not sold for profit.  This copyright notice must be
  9.   retained.  This software may not be included in commercial products without
  10.   written permission of Columbia University.
  11. */
  12.  
  13. #ifndef CKUVER_H
  14. #define CKUVER_H
  15.  
  16. /* Arranged more or less alphabetically by compiler symbol */
  17. /* Must be included AFTER ckcdeb.h. */
  18.  
  19. #ifdef MAC
  20. #define HERALD " Apple Macintosh"
  21. #endif /* MAC */
  22.  
  23. #ifdef A986
  24. #define HERALD " Altos 986 / Xenix 3.0"
  25. #endif /* A986 */
  26.  
  27. #ifdef aegis
  28. #ifdef BSD4
  29. #define HERALD " Apollo DOMAIN/IX 4.2 BSD"
  30. #else
  31. #ifdef ATTSV
  32. #define HERALD " Apollo DOMAIN/IX System V"
  33. #else
  34. #define HERALD " Apollo Aegis"
  35. #endif /* BSD4  */
  36. #endif /* ATTSV */
  37. #endif /* aegis */
  38.  
  39. #ifdef AIXRS
  40. #define HERALD " IBM RS/6000 (AIX 3.x)"
  41. #endif /* AIXRS */
  42.  
  43. #ifdef PS2AIX10
  44. #define HERALD " IBM PS/2 (AIX 1.x)"
  45. #endif /* PS2AIX10 */
  46.  
  47. #ifdef AIXPS2
  48. #define HERALD " IBM PS/2 (AIX 3.x)"
  49. #endif /* AIXPS2 */
  50.  
  51. #ifdef AIX370
  52. #ifndef HERALD
  53. #define HERALD " IBM System/370 AIX/370"
  54. #endif
  55. #endif /* AIX370 */
  56.  
  57. #ifdef AIXESA
  58. #ifndef HERALD
  59. #define HERALD " IBM AIX/ESA version 2.1"
  60. #endif
  61. #endif /* AIXESA */
  62.  
  63. #ifdef ATT6300
  64. #define HERALD " AT&T 6300"
  65. #endif /* ATT6300 */
  66.  
  67. #ifdef ATT7300
  68. #define HERALD " AT&T 7300 UNIX PC"
  69. #endif /* ATT7300 */
  70.  
  71. #ifdef AUX
  72. #define HERALD " Apple Macintosh AUX"
  73. #endif /* AUX */
  74.  
  75. #ifdef BSD44
  76. #define HERALD " 4.4 BSD"
  77. #endif /* BSD44 */
  78.  
  79. #ifdef ENCORE
  80. #ifdef BSD43
  81. #define HERALD " Encore Multimax UMAX 4.3"
  82. #else
  83. #define HERALD " Encore Multimax UMAX 4.2"
  84. #endif
  85. #endif /* ENCORE */
  86.  
  87. #ifdef BSD29
  88. #define HERALD " 2.9 BSD"
  89. #endif /* BSD29 */
  90.  
  91. #ifdef BSD41
  92. #define HERALD " 4.1 BSD"
  93. #endif /* BSD41 */
  94.  
  95. #ifdef C70
  96. #define HERALD " BBN C/70"
  97. #endif /* c70 */
  98.  
  99. #ifdef CIE
  100. #define HERALD " CIE Systems 680/20 Regulus"
  101. #endif /* CIE */
  102.  
  103. #ifdef COHERENT
  104. #ifdef _I386
  105. #define HERALD " MWC Coherent 386 4.x"
  106. #else
  107. #define HERALD " PC/AT MWC Coherent 286 3.x"
  108. #endif /* _I386 */
  109. #endif /* COHERENT */
  110.  
  111. #ifdef CONVEX9
  112. #define HERALD " Convex/OS"
  113. #endif /* CONVEX9 */
  114.  
  115. #ifdef _CRAY
  116. #define HERALD " Cray UNICOS"
  117. #endif /* _CRAY */
  118.  
  119. #ifdef DGUX430
  120. #define HERALD " Data General DG/UX 4.30"
  121. #endif /* DGUX430 */
  122.  
  123. #ifdef DGUX540
  124. #define HERALD " Data General DG/UX 5.4"
  125. #endif /* DGUX540 */
  126.  
  127. #ifdef datageneral
  128. #ifndef HERALD
  129. #define HERALD " Data General AOS/VS"
  130. #endif /* HERALD */
  131. #endif /* datageneral */
  132.  
  133. #ifdef DELL_SVR4
  134. #define HERALD " Dell System V R4"
  135. #endif /* DELL_SVR4 */
  136.  
  137. #ifdef ICL_SVR4
  138. #define HERALD " ICL System V R4 DRS N/X"
  139. #endif /* ICL_SVR4 */
  140.  
  141. #ifdef FT18
  142. #ifdef FT21
  143. #define HERALD " Fortune For:Pro 2.1"
  144. #else
  145. #define HERALD " Fortune For:Pro 1.8"
  146. #endif /* FT21 */
  147. #endif /* FT18 */
  148.  
  149. #ifdef GEMDOS
  150. #define HERALD " Atari ST GEM 1.0"
  151. #endif /* GEMDOS */
  152.  
  153. #ifdef I386IX
  154. #ifdef SVR3JC
  155. #define HERALD " Interactive UNIX System V/386 R3.2"
  156. #else
  157. #define HERALD " Interactive Systems Corp 386/ix"
  158. #endif /* SVR3JC */
  159. #endif /* I386IX */
  160.  
  161. #ifdef IRIX40
  162. #define HERALD " Silicon Graphics IRIX 4.0"
  163. #endif /* IRIX40 */
  164.  
  165. #ifdef ISIII
  166. #define HERALD " Interactive Systems Corp System III"
  167. #endif /* ISIII */
  168.  
  169. #ifdef IX370
  170. #define HERALD " IBM IX/370"
  171. #endif /* IX370 */
  172.  
  173. #ifdef HPUX
  174. #define HERALD " HP 9000 Series HP-UX"
  175. #endif /* HPUX */
  176.  
  177. #ifdef MINIX
  178. #define HERALD " Minix"
  179. #endif /* MINIX */
  180.  
  181. #ifdef MIPS
  182. #define HERALD " MIPS RISC/OS (System V R3)"
  183. #endif /* MIPS */
  184.  
  185. #ifdef NEXT
  186. #define HERALD " NeXT"
  187. #endif /* NEXT */
  188.  
  189. #ifdef OSF
  190. #define HERALD " DEC OSF/1 1.0"
  191. #endif /* OSF */
  192.  
  193. #ifdef PTX
  194. #define HERALD " DYNIX/PTX 1.3"
  195. #endif /* PTX */
  196.  
  197. #ifdef PCIX
  198. #define HERALD " PC/IX"
  199. #endif /* PCIX */
  200.  
  201. #ifdef sxaE50
  202. #define HERALD " PFU SX/A V10/L50"
  203. #endif /* sxaE50 */
  204.  
  205. #ifdef PROVX1
  206. #define HERALD " DEC Professional 300 (Venix 1.0)"
  207. #endif /* PROVX1 */
  208.  
  209. #ifdef RTAIX
  210. #define HERALD " IBM RT PC (AIX 2.2)"
  211. #endif /* RTAIX */
  212.  
  213. #ifdef RTU
  214. #define HERALD " Masscomp/Concurrent RTU"
  215. #endif /* RTU */
  216.  
  217. #ifdef sony_news
  218. #define HERALD " SONY NEWS"
  219. #endif /* sony_news */
  220.  
  221. #ifdef SVR4
  222. #ifdef sun
  223. #define HERALD "SUN Solaris 2.1"
  224. #endif /* sun */
  225. #endif /* SVR4 */
  226.  
  227. #ifdef SOLARIS
  228. #ifdef sun
  229. #define HERALD " SUN Solaris 2.0"
  230. #else
  231. #define HERALD " Solaris 2.0"
  232. #endif /* SUN */
  233. #endif /* SOLARIS */
  234.  
  235. #ifdef SUNOS4
  236. #ifdef BSD4
  237. #ifdef SUNOS41
  238. #define HERALD " SunOS 4.1 (BSD)"
  239. #else
  240. #define HERALD " SunOS 4.0 (BSD)"
  241. #endif /* SUNOS41 */
  242. #endif /* BSD4 */
  243. #endif /* SUNOS4 */
  244.  
  245. #ifdef SUN4S5
  246. #ifdef HDBUUCP
  247. #define HERALD " SunOS 4.1 (SVR3)"
  248. #else
  249. #define HERALD " SunOS 4.0 (SVR3)"
  250. #endif /* HDBUUCP */
  251. #endif /* SUN4S5 */
  252.  
  253. #ifdef TOWER1
  254. #define HERALD " NCR Tower 1632 (OS 1.02)"
  255. #endif /* TOWER1 */
  256.  
  257. #ifdef TRS16
  258. #define HERALD " Tandy 16/6000 (Xenix 3.0)"
  259. #endif /* TRS16 */
  260.  
  261. #ifdef u3b2
  262. #ifndef HERALD
  263. #ifdef SVR3
  264. #define HERALD " AT&T 3B2 (System V R3)"
  265. #else
  266. #define HERALD " AT&T 3B2 (System V)"
  267. #endif /* SVR3 */
  268. #endif /* HERALD */
  269. #endif /* u3b2 */
  270.  
  271. #ifdef ultrix
  272. #ifdef vax
  273. #define HERALD " VAX/ULTRIX"
  274. #else
  275. #ifdef mips
  276. #define HERALD " DECstation/ULTRIX"
  277. #else
  278. #define HERALD " ULTRIX"
  279. #endif /* mips */
  280. #endif /* vax */
  281. #endif /* ultrix */
  282.  
  283. #ifdef OXOS
  284. #define HERALD " Olivetti X/OS"
  285. #endif /* OXOS */
  286.  
  287. #ifdef _386BSD
  288. #define HERALD " 386BSD"
  289. #endif /* _386BSD */
  290.  
  291. #ifdef POSIX
  292. #ifdef HERALD
  293. #undef HERALD
  294. #endif /* HERALD */
  295. #ifdef QNX
  296. #define HERALD " QNX"
  297. #else
  298. #define HERALD " POSIX"
  299. #endif /* QNX */
  300. #endif /* POSIX */
  301.  
  302. #ifdef UTS24
  303. #define HERALD " Amdahl UTS 2.4"
  304. #endif /* UTS24 */
  305.  
  306. #ifdef UTSV
  307. #define HERALD " Amdahl UTS V"
  308. #endif /* UTSV */
  309.  
  310. #ifdef VXVE
  311. #define HERALD " CDC VX/VE 5.2.1 System V"
  312. #endif /* VXVE */
  313.  
  314. #ifdef XENIX
  315. #ifdef HERALD
  316. #undef HERALD
  317. #endif /* HERALD */
  318. #ifdef M_UNIX 
  319. #define HERALD " SCO UNIX/386"
  320. #else
  321. #ifdef M_I386
  322. #define HERALD " Xenix/386"
  323. #else
  324. #ifdef M_I286
  325. #define HERALD " Xenix/286"
  326. #else
  327. #define HERALD " Xenix"
  328. #endif /* M_I286 */
  329. #endif /* M_I386 */
  330. #endif /* M_UNIX */
  331. #endif /* XENIX  */
  332.  
  333. #ifdef ZILOG
  334. #define HERALD " Zilog S8000 Zeus 3.21+"
  335. #endif /* ZILOG */
  336.  
  337. #ifdef UTEK
  338. #define HERALD " UTek"
  339. #endif /* UTEK */
  340.  
  341. /* Catch-alls for anything not defined explicitly above */
  342.  
  343. #ifndef HERALD
  344. #ifdef SVR4
  345. #ifdef i386
  346. #define HERALD " AT&T System V/386 R4"
  347. #else
  348. #ifdef AMIX
  349. #define HERALD " Commodore Amiga System V/m68k R4"
  350. #else
  351. #define HERALD " AT&T System V R4"
  352. #endif /* AMIX */
  353. #endif /* i386 */
  354. #else
  355. #ifdef SVR3
  356. #define HERALD " AT&T System V R3"
  357. #else
  358. #ifdef ATTSV
  359. #define HERALD " AT&T System III / System V"
  360. #else
  361. #ifdef BSD43
  362. #ifdef pdp11
  363. #define HERALD " PDP-11 2.10 BSD"
  364. #else
  365. #ifdef vax
  366. #define HERALD " VAX 4.3 BSD"
  367. #else
  368. #define HERALD " 4.3 BSD"
  369. #endif /* vax */
  370. #endif /* pdp11 */
  371. #else
  372. #ifdef BSD4
  373. #ifdef vax
  374. #define HERALD " VAX 4.2 BSD"
  375. #else
  376. #define HERALD " 4.2 BSD"
  377. #endif /* vax */
  378. #else
  379. #ifdef V7
  380. #define HERALD " UNIX Version 7"
  381. #endif /* V7 */
  382. #endif /* BSD4 */
  383. #endif /* BSD43 */
  384. #endif /* ATTSV */
  385. #endif /* SVR3 */
  386. #endif /* SVR4 */
  387. #endif /* HERALD */
  388.  
  389. #ifdef OS2
  390. #ifdef HERALD
  391. #undef HERALD
  392. #endif /* HERALD */
  393. #define HERALD " OS/2"
  394. #endif /* OS/2 */
  395.  
  396. #ifndef HERALD
  397. #define HERALD " Unknown Version"
  398. #endif /* HERALD */
  399.  
  400. /* Hardware type */
  401.  
  402. #ifdef vax                /* DEC VAX */
  403. #ifndef CKCPU
  404. #define CKCPU "vax"
  405. #endif /* CKCPU */
  406. #endif /*  vax */
  407. #ifdef pdp11                /* DEC PDP-11 */
  408. #ifndef CKCPU
  409. #define CKCPU "pdp11"
  410. #endif /* CKCPU */
  411. #endif /* pdp11 */
  412.  
  413. #ifdef __ALPHA
  414. #ifndef CKCPU
  415. #define CKCPU "Alpha"
  416. #endif /* CKCPU */
  417. #endif /* __ALPHA */
  418.  
  419. #ifdef __hp9000s800            /* HP 9000 */
  420. #define CKCPU "hp9000s800"
  421. #endif /* __hp9000s800 */
  422. #ifdef __hp9000s500
  423. #ifndef CKCPU
  424. #define CKCPU "hp9000s500"
  425. #endif /* CKCPU */
  426. #endif /* __hp9000s500 */
  427. #ifdef __hp9000s300
  428. #ifndef CKCPU
  429. #define CKCPU "hp9000s300"
  430. #endif /* CKCPU */
  431. #endif /* __hp9000s300 */
  432. #ifdef __hp9000s200
  433. #ifndef CKCPU
  434. #define CKCPU "hp9000s200"
  435. #endif /* CKCPU */
  436. #endif /* __hp9000s200 */
  437. #ifdef m88000                /* Motorola 88000 */
  438. #ifndef CKCPU
  439. #define CKCPU "mc88000"
  440. #endif /* CKCPU */
  441. #endif /* m88000 */
  442. #ifdef __using_M88KBCS            /* DG symbol for Motorola 88000 */
  443. #ifndef CKCPU
  444. #define CKCPU "mc88000"
  445. #endif /* CKCPU */
  446. #endif /* __using_M88KBCS */
  447. #ifdef m88k                /* Motorola symbol for 88000 */
  448. #ifndef CKCPU
  449. #define CKCPU "mc88000"
  450. #endif /* CKCPU */
  451. #endif /* m88k */
  452. #ifdef mc68040                /* Motorola 68040 */
  453. #ifndef CKCPU
  454. #define CKCPU "mc68040"
  455. #endif /* CKCPU */
  456. #endif /* mc68040 */
  457. #ifdef mc68030                /* Motorola 68030 */
  458. #ifndef CKCPU
  459. #define CKCPU "mc68030"
  460. #endif /* CKCPU */
  461. #endif /* mc68030 */
  462. #ifdef mc68020                /* Motorola 68020 */
  463. #ifndef CKCPU
  464. #define CKCPU "mc68020"
  465. #endif /* CKCPU */
  466. #endif /* mc68020 */
  467. #ifdef mc68010                /* Motorola 68010 */
  468. #ifndef CKCPU
  469. #define CKCPU "mc68010"
  470. #endif /* CKCPU */
  471. #endif /* mc68010 */
  472. #ifdef mc68000                /* Motorola 68000 */
  473. #ifndef CKCPU
  474. #define CKCPU "mc68000"
  475. #endif /* CKCPU */
  476. #endif /* mc68000 */
  477. #ifdef mc68k                /* Ditto (used by DIAB DS90) */
  478. #ifndef CKCPU
  479. #define CKCPU "mc68000"
  480. #endif /* CKCPU */
  481. #endif /* mc68k */
  482. #ifdef m68                /* Ditto */
  483. #ifndef CKCPU
  484. #define CKCPU "mc68000"
  485. #endif /* CKCPU */
  486. #endif /* m68 */
  487. #ifdef m68k                /* Ditto */
  488. #ifndef CKCPU
  489. #define CKCPU "mc68000"
  490. #endif /* CKCPU */
  491. #endif /* m68k */
  492. #ifdef i486                /* Intel 80486 */
  493. #ifndef CKCPU
  494. #define CKCPU "i486"
  495. #endif /* CKCPU */
  496. #endif /* i80486 */
  497. #ifdef i386                /* Intel 80386 */
  498. #ifndef CKCPU
  499. #define CKCPU "i386"
  500. #endif /* CKCPU */
  501. #endif /* i80386 */
  502. #ifdef i286                /* Intel 80286 */
  503. #ifndef CKCPU
  504. #define CKCPU "i286"
  505. #endif /* CKCPU */
  506. #endif /* i286 */
  507. #ifdef i186                /* Intel 80186 */
  508. #ifndef CKCPU
  509. #define CKCPU "i186"
  510. #endif /* CKCPU */
  511. #endif /* i186 */
  512. #ifdef M_I386                /* Intel 80386 */
  513. #ifndef CKCPU
  514. #define CKCPU "i386"
  515. #endif /* CKCPU */
  516. #endif /* M_I386 */
  517. #ifdef _M_I386                /* Intel 80386 */
  518. #ifndef CKCPU
  519. #define CKCPU "i386"
  520. #endif /* CKCPU */
  521. #endif /* _M_I386 */
  522. #ifdef M_I286                /* Intel 80286 */
  523. #ifndef CKCPU
  524. #define CKCPU "i286"
  525. #endif /* CKCPU */
  526. #endif /* M_I286 */
  527. #ifdef M_I86                /* Intel 80x86 */
  528. #ifndef CKCPU
  529. #define CKCPU "ix86"
  530. #endif /* CKCPU */
  531. #endif /* M_I86 */
  532. #ifdef sparc                /* SUN SPARC */
  533. #ifndef CKCPU
  534. #define CKCPU "sparc"
  535. #endif /* CKCPU */
  536. #endif /* sparc */
  537. #ifdef mips                /* MIPS RISC processor */
  538. #ifndef CKCPU
  539. #define CKCPU "mips"
  540. #endif /* CKCPU */
  541. #endif /* mips */
  542. #ifdef _IBMR2                /* IBM RS/6000 */
  543. #ifndef CKCPU                /* (what do they call the chip?) */
  544. #define CKCPU "rs6000"
  545. #endif /* CKCPU */
  546. #endif /* rs6000 */
  547. #ifdef u3b5                /* WE32000 MAC-32, AT&T 3Bx */
  548. #ifndef CKCPU
  549. #define CKCPU "u3b5"
  550. #endif /* CKCPU */
  551. #endif /* u3b5 */
  552. #ifdef n3b
  553. #ifndef CKCPU
  554. #define CKCPU "n3b"
  555. #endif /* CKCPU */
  556. #endif /* n3b */
  557. #ifdef u3b
  558. #ifndef CKCPU
  559. #define CKCPU "u3b"
  560. #endif /* CKCPU */
  561. #endif /* u3b */
  562. #ifdef n16                /* Encore Multimax */
  563. #ifndef CKCPU
  564. #define CKCPU "n16"
  565. #endif /* CKCPU */
  566. #endif /* n16 */
  567. #ifdef u370                /* IBM 370 */
  568. #ifndef CKCPU
  569. #define CKCPU "u370"
  570. #endif /* CKCPU */
  571. #endif /* u370 */
  572. #ifdef MAC                /* Macintosh catch-all */
  573. #ifndef CKCPU
  574. #define CKCPU "mc68000"
  575. #endif /* CKCPU */
  576. #endif /* MAC */
  577.  
  578. #ifndef CKCPU                /* All others */
  579. #define CKCPU "unknown"
  580. #endif /* CKCPU */
  581.  
  582. #endif /* CKUVER_H */
  583.