home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / coherent / 6726 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  6.3 KB

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!easix!umunk!udo
  2. From: udo@umunk.GUN.de (Udo Munk)
  3. Newsgroups: comp.os.coherent
  4. Distribution: world
  5. Subject: COHERENT problems FAQ
  6. Keywords: problems, missing functions, COHERENT
  7. Summary: 
  8. X-Newsreader: TIN [version 1.1 PL8]
  9. Message-ID: <930111735@umunk.GUN.de>
  10. Organization: Udo Munk's private BBS
  11. Date: Mon, 11 Jan 93 03:18:51 GMT
  12. Lines: 164
  13.  
  14.  
  15.           C O H E R E N T  4 . 0  P R O B L E M S  F A Q
  16.  
  17.                        R E L E A S E  1 . 0
  18.  
  19.  
  20. This FAQ describes known problems with COHERENT 4.x and gives hints for
  21. workarounds. I'll try to hold this list up to date and post it all two
  22. weeks and after major changes. Also a copy goes to the development staff
  23. at MWC. If you know about other problems please send me a mail, so that
  24. I can add them to this FAQ.
  25.  
  26. 1. System calls:
  27. ================
  28.  
  29. 1.1 Missing system calls:
  30. -------------------------
  31.  
  32. nice:    It's not documented but it's available. However, it's a dummy because
  33.     COHERENT's scheduler doesn't make use of the nice value yet.
  34.  
  35. ulimit:    Will be available with the next update.
  36.  
  37. The following system calls aren't defined in iBCS2, so they are technically
  38. *not* missing from COHERENT. However, this system calls are used by various
  39. software, so it would be nice to have them.
  40.  
  41. fsync
  42. setreuid
  43. setregid
  44.  
  45. 1.2 System calls with bugs:
  46. ---------------------------
  47. There are no know bugs or incompatiblies from iBCS2 yet.
  48.  
  49.  
  50. 2. Library functions:
  51. =====================
  52.  
  53. 2.1 Missing library functions:
  54. ------------------------------
  55.  
  56. vprintf family:    Will be available with the next update. In the meantime
  57.         you can get it from raven.alska.edu and my system.
  58.  
  59. alarm2, tick:    Both functions are not part of System V or iBCS2, so they
  60.         are accessible from COHERENT 286 binaries only.
  61.         A value equivalent to that of tick() is returned by times(),
  62.         but is omitted from the COHERENT 386 lexicon article of
  63.         times().
  64.  
  65. tzset:        This function is available, but as settz().
  66.  
  67. getutent, getutid, getutline, pututline, setutent, endutent, utmpname:
  68.         The "getut" family of functions is not defined in iBCS2,
  69.         so technically they are not missed from COHERENT.
  70.         Because other System V 386 ports include them, they are
  71.         added to MWC's to-do list.
  72.  
  73. 2.2 Library functions with bugs:
  74. --------------------------------
  75.  
  76. mktemp:        Uses not only letters (A-Z, a-z) and digits (0-9) to
  77.         create temporary filenames, it also uses the special
  78.         characters $%&/... This results in a lot of problems if
  79.         such a filename is used in a system() call.
  80.         Will be fixed by MWC ASAP.
  81.  
  82. access:        access(filename, AEXEC) executed under user root returns
  83.         execute permission also for files, where the x-bit are off.
  84.  
  85. getpwent:    Does not fill pw_comment, but filles pw_gecos. Also this
  86.         "pwent" family of functions is not defined in iBCS2.
  87.  
  88. execvp:        Can't execute shell scripts. This is already fixed by MWC.
  89.  
  90.  
  91. 3.0 Header files:
  92. =================
  93.  
  94. fcntl.h:    Under COHERENT 286 fcntl.h has been in /usr/include/sys.
  95.         Under COHERENT 386 now it is in /usr/include. Most System V's
  96.         have the real contents in /usr/include/sys/fcntl.h while
  97.         /usr/include/fcntl.h only inludes one line:
  98.         #include <sys/fcntl.h>
  99.         This should be changed with the next update.
  100.  
  101. stat.h:        /usr/include/sys/stat.h is missing some permissions and
  102.         defining some not System V compatible. Use the following
  103.         code to make your program portable:
  104.             #ifdef COHERENT
  105.             #define S_IRUSR        S_IREAD
  106.             #define S_IWUSR        S_IWRITE
  107.             #define S_IXUSR        S_IEXEC
  108.             #define S_IFIFO        S_IFPIP
  109.             #define S_IRGRP        00040
  110.             #define S_IWGRP        00020
  111.             #define S_IXGRP        00010
  112.             #define S_IROTH        00004
  113.             #define S_IWOTH        00002
  114.             #define S_IXOTH        00001
  115.             #endif
  116.  
  117.  
  118. 4.0 Curses:
  119. ===========
  120.  
  121. The curses library from the distribution disks has problems with terminals,
  122. where some arithmetics are used, to position the cursor. This bug is fixed.
  123. Also input/output of 8-bit characters with addstr()/getstr() doesn't work,
  124. which also is fixed. The terminfo descriptions for terminals aren't very
  125. complete on the distribution disk. Better versions are available from
  126. raven.alska.edu. Also the next COHERENT update comes with better tested
  127. terminfo terminal desciptions. For a future version I'm adding color support,
  128. panels and mouse support.
  129. Here a complete and working ansipc.ti for the console:
  130.  
  131. ap|ansipc|ansi personal computer,
  132.     bw, am, cols#80, lines#24, it#8, xmc#0,
  133.     bel=^G, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  134.     clear=\E[2O, el=\E[K, ed=\E[O, hpa=\E[%i%p1%d`, cup=\E[%i%p1%d;%p2%dH,
  135.     cud1=\E[B, civis=\E[1v, cub1=\E[D, cnorm=\E[v, cuf1=\E[C, cuu1=\E[A, 
  136.     cvvis=\E[v, dl1=\E[M, blink=\E[5m, bold=\E[1m, rev=\E[7m,
  137.     smso=\E[7m, rmso=\E[m, smul=\E[4m, rmul=\E[m, sgr0=\E[m,
  138.     is1=\E[1;1f\E[m, il1=\E[L, kbs=^H, kdch1=\E[P, kcud1=\E[B,
  139.     khome=\E[H, kich1=\E[@, kll=\E[24H, kcub1=\E[D, knp=\E[U, kpp=\E[V,
  140.     kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rs1=\E>, rc=\E8, vpa=\E[%i%p1%dd,
  141.     kf1=\E[1x, kf2=\E[2x, kf3=\E[3x, kf4=\E[4x, kf5=\E[5x,
  142.     kf6=\E[6x, kf7=\E[7x, kf8=\E[8x, kf9=\E[9x, kf10=\E[0x,
  143.     sc=\E7, ind=\E[S, ri=\E[T,
  144.     acsc=a\260f\370j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263~\3720\333,
  145.  
  146. The latest version of curses, header files and terminfo programs is available
  147. from my system.
  148.  
  149.  
  150. 5. Commands:
  151. ============
  152.  
  153. make:        The make from the distribution disks doesn't allow redefinition
  154.         of the default actions. If a makefile includes
  155.         .c.o:
  156.             cc -O -c $*
  157.         this results in a error message "multiple actions on .c.o".
  158.         This problem is fixed, get the updated make from MWCBBS or
  159.         my system.
  160.  
  161. sed:        The pattern buffer is very small, it aborts with the error
  162.         message "pattern buffer overflow", if a large pattern is
  163.         given. MWC will increase the size of the pattern buffer.
  164.  
  165. sh:        Some of the configure programs for various packages uses
  166.         \\ for lines to be continued. This doesn't work, remove
  167.         the secound \.
  168.  
  169. cc:        Option -B and -L doesn't work.
  170.  
  171.  
  172. 5. Miscellaneous:
  173. =================
  174.  
  175. Why doesn't input of 8-bit characters work after installation of the DDK?
  176. The tty drivers now are more System V compatible, add "stty -istrip" to
  177. /etc/profile and it will work again.
  178. --
  179. Udo Munk, Oberstr. 21, 4040 Neuss 1, Germany
  180. udo@umunk.GUN.de   ...!{mcshh,smurf,unido}!easix!umunk!udo   CIS: 100021,2515
  181. uucp: +49 2131 278869 V22/32/42bis 8N1 login: uucp pwd: public MYNAME=bbsuser
  182. request file /usr/spool/uucppublic/info for instructions
  183.