home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!tulane!ukma!cs.widener.edu!dsinc!phent!kkress
- From: kkress@phent.UUCP (Kenneth R. Kress)
- Newsgroups: comp.os.coherent
- Distribution: world
- Subject: Coherent quibbles
- Keywords: coherent errors ram awk stty ls
- Message-ID: <921123342@phent.UUCP>
- Organization: That's Entertainment BBS
- Date: Mon, 23 Nov 92 01:42:05 +0100
- Lines: 80
-
-
- _______________________________________________________
- | I discovered my /etc/timezone was messed up and |
- | this may have halted dissemination of some of |
- | my posts. If this is a repeat, I apologize. |
- -------------------------------------------------------
-
- Here are a few of my quibbles. These are minor points not worth
- devoting an individual post to, so I thought I'd combine them and get
- the whining out of my system.
- A. Coh v.4.0 manual, p. 996 (also true of Coh386):
- [!xyz] - Exclude characters xyz from the string search.
-
- ls ../db/e.*[!-i] produces:
- ../db/e.dates-i
- ../db/e.descs-i
- ../db/e.descs.junk-i
- ../db/e.hours-i
- ../db/e.prices-i
- ../db/e.telnos-i
- ../db/e.types-i
- ../db/e.vnums-i
-
- B. Coh r.4.0 Releaes Notes, p. 61:
- The command stty now requires redirection of stdin instead of
- stdout.
-
- But /bin/modeminit ships under 4.0 with:
-
- # /usr/bin/modeminit 9/5/91
- # Initialize modem, typically called from /etc/rc.
- # This example initializes a Hayes-compatible modem for echo off, autoanswer.
- # The sleep is required to keep the desired baud rate for the cat command.
-
- DEV=/dev/modem
- BAUD=2400
- sleep 2 >$DEV&
- stty $BAUD >$DEV
- cat >$DEV <<\!
- AT E0 V0 Q1 S0=1
- !
-
- # end of /usr/bin/modeminit
-
- C. In "Sed & Awk" (O'Reilly & Associates, Inc., 1991), p. 263:
- There are fixed limits within any awk implementation.
- The only trouble is that the documentation seldom reports them.
- Figure 10-1 lists the limitations as described in "The AWK
- Programming Language."
- ...
- Characters per input record 3000
- Characters per output record 3000
- Characters per field 1024
- ...
-
- In Coherent, it's 399! This limitation also applies to sort and grep!
- This has a negative impact on /rdb, which uses Coherent's awk and sort
- for its 'row' command.
-
- D. If you want to install a ramdisk under Coh 4.0, the manual
- says (p. 949):
- The next example replaces the default /dev/ram0 with a one-
- megabyte device containing a COHERENT file system. ...
- rm /dev/ram0
- /etc/mknod /dev/ram0 b 8 136
- /etc/mknod /dev/rram0 c 8 136
- ...
-
- But, if you do this, you will have created a filesystem on ram1, not ram0
- and lots of things will break. The minor number should be 16, not 136.
-
- I'm sure I've more quibbles stored somewhere around here, but the
- trouble with quibbles is you can't always put your hands on them when
- you want them.
- Ken.
- ===================================================================
- Ken Kress, Glenside, PA * dsinc!phent!kkress
- The moment one commits oneself then Providence moves too.
- W.H. Murray, "Scottish Himalayan Expedition
- -------------------------------------------------------------------
-