home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / coherent / 5812 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  2.9 KB

  1. Path: sparky!uunet!spool.mu.edu!tulane!ukma!cs.widener.edu!dsinc!phent!kkress
  2. From: kkress@phent.UUCP (Kenneth R. Kress)
  3. Newsgroups: comp.os.coherent
  4. Distribution: world
  5. Subject: Coherent quibbles
  6. Keywords: coherent errors ram awk stty ls
  7. Message-ID: <921123342@phent.UUCP>
  8. Organization: That's Entertainment BBS
  9. Date: Mon, 23 Nov 92 01:42:05 +0100
  10. Lines: 80
  11.  
  12.  
  13.      _______________________________________________________
  14.     | I discovered my /etc/timezone was messed up and    |
  15.     | this may have halted dissemination of some of        |
  16.     | my posts. If this is a repeat, I apologize.        |
  17.      -------------------------------------------------------
  18.  
  19. Here are a few of my quibbles. These are minor points not worth
  20. devoting an individual post to, so I thought I'd combine them and get
  21. the whining out of my system.
  22.     A. Coh v.4.0 manual, p. 996 (also true of Coh386):
  23.     [!xyz] - Exclude characters xyz from the string search.
  24.  
  25. ls ../db/e.*[!-i] produces:
  26. ../db/e.dates-i
  27. ../db/e.descs-i
  28. ../db/e.descs.junk-i
  29. ../db/e.hours-i
  30. ../db/e.prices-i
  31. ../db/e.telnos-i
  32. ../db/e.types-i
  33. ../db/e.vnums-i
  34.  
  35.     B. Coh r.4.0 Releaes Notes, p. 61:
  36.     The command stty now requires redirection of stdin instead of
  37.     stdout.
  38.  
  39. But /bin/modeminit ships under 4.0 with:
  40.  
  41. # /usr/bin/modeminit 9/5/91
  42. # Initialize modem, typically called from /etc/rc.
  43. # This example initializes a Hayes-compatible modem for echo off, autoanswer.
  44. # The sleep is required to keep the desired baud rate for the cat command.
  45.  
  46. DEV=/dev/modem
  47. BAUD=2400
  48. sleep 2 >$DEV&
  49. stty $BAUD >$DEV
  50. cat >$DEV <<\!
  51. AT E0 V0 Q1 S0=1
  52. !
  53.  
  54. # end of /usr/bin/modeminit
  55.  
  56.     C. In "Sed & Awk" (O'Reilly & Associates, Inc., 1991), p. 263:
  57.     There are fixed limits within any awk implementation.
  58.     The only trouble is that the documentation seldom reports them.
  59.     Figure 10-1 lists the limitations as described in "The AWK
  60.     Programming Language."
  61.     ...
  62.     Characters per input record     3000
  63.     Characters per output record    3000
  64.     Characters per field        1024
  65.     ...
  66.  
  67. In Coherent, it's 399! This limitation also applies to sort and grep!
  68. This has a negative impact on /rdb, which uses Coherent's awk and sort
  69. for its 'row' command.
  70.  
  71.     D. If you want to install a ramdisk under Coh 4.0, the manual
  72.     says (p. 949):
  73.     The next example replaces the default /dev/ram0 with a one-
  74.     megabyte device containing a COHERENT file system. ...
  75.         rm /dev/ram0
  76.         /etc/mknod /dev/ram0 b 8 136
  77.         /etc/mknod /dev/rram0 c 8 136
  78.         ...
  79.  
  80. But, if you do this, you will have created a filesystem on ram1, not ram0
  81. and lots of things will break. The minor number should be 16, not 136.
  82.  
  83. I'm sure I've more quibbles stored somewhere around here, but the
  84. trouble with quibbles is you can't always put your hands on them when
  85. you want them.
  86.                 Ken.
  87. ===================================================================
  88.     Ken Kress, Glenside, PA * dsinc!phent!kkress 
  89. The moment one commits oneself then Providence moves too.
  90.             W.H. Murray, "Scottish Himalayan Expedition
  91. -------------------------------------------------------------------
  92.