home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / Other / Coherent / documents / CohFAQ.v3.2 < prev   
Internet Message Format  |  1995-09-01  |  27KB

  1. From oznet.demon.co.uk!news.demon.co.uk!dispatch.news.demon.net!demon!tank.news.pipex.net!pipex!news.mathworks.com!news.kei.com!simtel!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!nanguo!earth Sun Sep  3 12:00:29 1995
  2. Newsgroups: comp.os.coherent
  3. Path: oznet.demon.co.uk!news.demon.co.uk!dispatch.news.demon.net!demon!tank.news.pipex.net!pipex!news.mathworks.com!news.kei.com!simtel!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!nanguo!earth
  4. From: earth@nanguo.chalmers.com.au (Robert Chalmers)
  5. Subject: Coherent FAQ. For Version 3.2.
  6. Version: 4.0
  7. Last-Modified: Tue Jun  6 20:48:51 1995 EST
  8. Reply-To: robert%chalmers.com.au@bunyip.cc.uq.oz.au
  9. Archive-Name: coh-faq/ver.3.2
  10. Organization: China House.
  11. Date: Sat, 2 Sep 1995 12:33:46 GMT
  12. Approved: none
  13. Message-ID: <DEA2wA.ACG@nanguo.chalmers.com.au>
  14. Lines: 770
  15.  
  16. This is the Frequently (occassionally)
  17. Asked Questions posting for comp.os.coherent,
  18. with answers about the COHERENT operating system, V3.2.  It
  19. is also posted on comp.os.coherent, but it is not a full FAQ for
  20. comp.os.coherent.  Companion postings have answers that apply to both
  21. Version 4.0 and 4.2.nn and answers that apply to 4.2.05 and X11 alone.
  22.  
  23. Some general notes:
  24.  
  25. When used alone, the word "Coherent" is used to mean any of the
  26. versions that may have been released.
  27.  
  28. Unless otherwise specified, these answers refer to COHERENT.3.2, which
  29. is the oldest release still seemingly still in use.
  30.  
  31. Many people have contributed to this list, directly or indirectly.  In
  32. some cases, an answer has been adapted from one or more postings on the
  33. comp.os.coherent newsgroup.  Our thanks to all of those who post answers.
  34. The name (or names) at the end of an entry indicate that the information
  35. was taken from postings by those individuals; the text may have been
  36. edited for this FAQ.  These citations are only given to acknowledge the
  37. contribution.
  38.  
  39. Cautionary Note.
  40. The Mark Williams Company is no longer trading. Coherent is no longer in
  41. development or production in any release, and the whole team is disbanded.
  42.  
  43. This FAQ is put in the net occassionally by
  44. the Keeper Of The FAQ, Bob Chalmers. robert@chalmers.com.au.
  45. Contributions Are Welcome.   There have been no contributions for over 2 years.
  46. Sources can be found on nanguo.chalmers.com.au 
  47.  
  48.     Thanks to "fingers" of no-real-name fame for puffing on the flame.
  49.  
  50.        T E C H N I C A L  T I P S  F O R  C O H E R E N T  3.2 
  51.  
  52.               Technical Tips FAQ for Rev 3.2 of Coherent
  53.  
  54.     C O N T E N T S
  55.     ================
  56.  
  57. Q1.    Modem devices:
  58. Q2.    Remote logins:
  59. Q3.    Fast modems:
  60. Q4.    Simultaneous users:
  61. Q5.    Usenet news software:
  62. Q6.    Email packages:
  63. Q7.    The 64K question:
  64. Q8.    Compiler hints:
  65. Q9.    Hardware configurations:
  66. Q10.    Termio hints:
  67. Q11.    Curses:
  68. Q12.    More uucp:
  69. Q13.    How to create a bootable >>>R/W<<< floppy from Coherent:
  70. Q14.    Master Boot Reinstallation:
  71. Q15.    Line Printer Help:
  72. Q16.    Moving data from a Sun to Coherent:
  73. Q17.    Multi-Volume Archive:
  74. Q18.    SCSI MKFS Notes:
  75. Q19.    DOS to Coherent:
  76. Q20.    Uuinstall Bug Help:
  77. Q21.    Xwindows:
  78. Q22.    Tar Help:
  79. Q23.    Setting Boot Partition: DOS or Coherent?
  80. Q24.    A Backup Script:
  81.  
  82. K E E P E R S  O F  T H E  F A Q:
  83. Robert Chalmers        robert@chalmers.com.au
  84.  
  85. T E C H N I C A L  T I P S :
  86. -----------------------------------------------------------------------
  87. Q1.
  88. MODEM DEVICES:
  89.  
  90. Q: What devices should I use with a modem for dialing in / dialing out
  91.  
  92. A: For dialing in you should use a device with modem control. For example
  93.    com1r or com2r. That is important to ensure that when the calling site
  94.    dropped carrier, that also at your site SIGHUP is sent to already running
  95.    processes, to ensure that the modem hangs up (dropping DTR) and a new
  96.    getty is opened on that port to enable further logins.
  97.  
  98.    For dialing out or local terminals you do not need modem control 
  99.    Also you do not have to worry about cabling problems, just use some
  100.    of those null modem cables available in most computer stores.
  101.  
  102. Q2.
  103. REMOTE LOGINS:
  104. Q:  How do I enable logins via modem to my machine:
  105.  
  106. A:  I assume that modem is set to AUTO-ANSWER (ATS0=1) and the cabling
  107.     is ok.
  108.     Edit the file  /etc/ttys. Here an example for com2:
  109.     
  110.     0rPcom2r
  111.   
  112.     0            = not yet enabled (enable = allow login, run getty)
  113.  
  114.     r            = remote access   (will enable asking of a password
  115.                                     for remote-access (see /etc/passwd)
  116.                    Why ? System security, additional password
  117.  
  118.     P            = speed (your modem is connected to the computer)
  119.                    P = 9600 Baud, I use this for my Telebit Modem
  120.        
  121.     com2r        = device with modem control, when CARRIER is lost it
  122.                    will sent SIGHUP to all processes running on that
  123.                    line and will also drop DTR so a modem hangup or 
  124.                    a modern modem does a hardware reset.
  125.  
  126.      Now type the following:
  127.      enable com2r    (for Coherent 3.2 that's enough)
  128.      kill -1 1       (Coherent 3.0.0 or 3.1.0, Process INIT will start
  129.                       a getty on com2r)
  130.  
  131.  
  132. Q3.
  133. FAST MODEMS:
  134. Q:    Can I use fast modems with Coherent ?
  135.  
  136. A:    Yes you can. But you must think about the following:
  137.  
  138.       a) maximum  Baud rate between modem - machine is 9600 Baud
  139.          (Coherent as a multiuser/multitasking environment is
  140.           not fast enough for 19200 Baud)
  141.  
  142.       b) cps-rates in transfer depend on modem/method
  143.  
  144.          calling into my machine (T2500) with a USR, using sz for transfer:
  145.                    480 cps to 600 cps (compressed, uncompressed files)
  146.  
  147.          calling out with uucp (T2500):
  148.                    860 cps
  149.  
  150.          The rate may differ if you use a slow 286 or 386. The above results
  151.          were yielded with a 386/33.
  152.  
  153.  
  154. Q4.
  155. SIMULTANEOUS USERS:
  156. Q:    I want to use Coherent as a multiuser operating system. How many
  157.       users can work with it at the same time ?
  158.  
  159. A:    Now 11 User:
  160.       console   : 1
  161.       com1      : 1
  162.       com2      : 1
  163.       Multiport : 8
  164.       --------------
  165.                  11
  166.  
  167.       I still do not know if there are device drivers for intelligent
  168.       Multiport-Cards but as far as I know there are only drivers for
  169.       "dumb" Multiport-Cards and only in polled mode.
  170.       Therefore you need a very fast machine for "multiuser"
  171.  
  172.  
  173. Q5.
  174. USENET NEWS SOFTWARE:
  175. Q:    Is there any Net-News Software for Coherent ?
  176.  
  177. A:    Yes, there are several packages available:
  178.  
  179.       1. CNEWS  -  the famous package
  180.  
  181.          difficult to install (although there is a nice installation
  182.          script in the Coherent version). Only for advanced users !
  183.          Has no reader !
  184.  
  185.       2. WNEWS 3.0  -  News for MINIX, ported to Coherent
  186.  
  187.          based on BNEWS - small, not bad
  188.          Has no reader
  189.  
  190.       3.  GNEWS 2.0 (or newer now ?)
  191.  
  192.          all you need for News, easy to install, Newsreader, nice
  193.  
  194.       4.  rn
  195.  
  196.           the well known newsreader
  197.  
  198.       5.  tass 
  199.       
  200.             curses based newsreader. Nice, but you should not have
  201.             too much groups or articles in /usr/spool/news.
  202.  
  203.       6.  bsnews
  204.  
  205.           small news package for receiving news via email
  206.  
  207.  
  208. Q6.
  209. EMAIL PACKAGES:
  210. Q:    I do not like Coherent's mailer. What can I use instead of it ?
  211.  
  212. A:    WMAIL 3.63  -  a minix port, MAILX-clone
  213.  
  214.       comb 1.29   -  curses based mailer, nice interface
  215.  
  216.       You should ensure that in both cases you have smail 2.5 as
  217.       a smart-mailer that understands domain addresses.
  218.       smail 2.5 is already in Coherent 3.2
  219.  
  220. Q7.
  221. THE 64K QUESTION:
  222. Q:    Does Coherent really have a 64 kb limitation ? I want to port
  223.       the GNU-C-Compiler and compile big programs.
  224.  
  225. A:    Coherent programs are limited to 64 K for code and 64 k for data
  226.       and stack. The limit is not in the compiler, it's in the kernel
  227.       or at least in the actual system design. No process can exceed this
  228.       limitation.
  229.       But Binaries in Coherent are about 40 % smaller so big programs
  230.       for "Real-UNIXES" may also be portable
  231.  
  232. Q8.
  233. COMPILER HINTS:
  234. Q:    I write a C-program that seems to be ok but it still core dumped.
  235.       Is this a compiler error ? Is my program wrong ?
  236.  
  237. A:    If a program needs a lot of space for local data (resided on the
  238.       stack in most cases) then the maximum size for the stack may be
  239.       exceeded and your return addresses or other important things were
  240.       overwritten.
  241.       With the program fixstack you can increase the size for the stack
  242.       (and also cut the space for data)
  243.       Try size my_prog before and after fixstacking to see the difference.
  244.  
  245. Q9.
  246. HARDWARE CONFIGURATIONS:
  247. Q:     What hardware (Motherboard, hard disk) do I need for Coherent ?
  248.  
  249. A:     Difficult question. Minimum is a AT 286 with 640 KB RAM and a
  250.        hard disk (MFM,RLL,ESDI,SCSI (some), IDE (some)) with at least
  251.        10 MB free disk space.
  252.  
  253.        Nevertheless Coherent is not the fastest operating system, so
  254.        a 386 with at least 25 MHZ and 4 MB RAM and a fast hard disk
  255.        (a hard disk is always too small !!!!) is the minimum config-
  256.        uration for a usable multi-user-operating.
  257.  
  258. Q10.
  259. TERMIO HINTS:
  260. Q:    I compiled a program that uses termio but it did not work.
  261.  
  262. A:    The termio in Coherent (at least 3.1.0 and the first 3.2.0) did
  263.       not work in all cases. So try the sgtty, that works fine.
  264.       When porting programs try to find the -DBSD-parts. There you will
  265.       find in most cases the sgtty-parts you need for porting.
  266.  
  267. Q11.
  268. CURSES:
  269. Q:    I compiled a program that uses curses but the screen sometimes get
  270.       garbled or the machine seems to hang
  271.  
  272. A:    Maybe you still have an old libcurses.a. Replace it with a newer
  273.       copy.
  274.  
  275. Q12.
  276. MORE UUCP:
  277. Q:    I often loose email or files after receiving them with UUCP.
  278.  
  279. A:    Try to get the newest UUCP-update from MWCBBS. The old packages
  280.       still have some problems. Check the permissions, at least for example
  281.       with comparing them with those on your original diskettes.
  282.       Check also the permissions of the needed directories.
  283.       In /usr/spool/uucp/Logs./uucp-program you will find the "hints" of the
  284.       "uucp-program" (uucico, uucp, uux,uuxqt) what goes wrong.
  285.       In Coherent 3.2. you have the program uucheck that will check your
  286.       uucp-installation and is also able to "fix" problems. But you have to
  287.       run it twice if you run it as root because the first time it creates
  288.       the needed directories and the second run sets the correct permission.
  289.  
  290. Q:    I am having a problem connecting to uucp sites not running Coherent 
  291.       after updating to Coherent 3.2.  The error looks like a parity 
  292.       problem, with an {expect} / {actually got} output like: 
  293.     uu315323t 342og310n:   (With backslashes before the numbers)
  294.  
  295. A:      Again, get the latest UUCP package from MWCBBS.  The 3.2 Coherent 
  296.       release may exhibit a parity problem which is cured with the latest 
  297.       uucp release.
  298.  
  299. Q13.
  300. HOW TO CREATE A BOOTABLE >>>R/W<<< FLOPPY from Coherent
  301.     From: Peter Fillingham     fillingham@att.com
  302.  
  303. The COHERENT Operating System Release Notes (Release 3.1.0)
  304. along with the main manual suggest ways of creating a bootable
  305. floppy.  One difficulty of this procedure is that, after 
  306. producing a bootable floppy, one can't write to it !
  307. The following shell programs are suggested as a way making a
  308. bootable floppy, and below is the fix recommended by mwc
  309. for making the bootable floppy system read-write.
  310.  
  311.  
  312. (0) first boot your system from your hard disk, login in as root,
  313. use mkdir to make a convenient subdirectory [e.g., /bin/temp ]. 
  314. cd to /bin/temp. Place disk #1 of your mwc original floppies in 
  315. drive A:, then enter
  316.  
  317.  
  318. dd if=/dev/fha0 of=cohboot count=80 bs=30b
  319.  
  320. Run it in the background if you wish [follow the above line with 
  321. an &; use ps -axfl if you are curious].  This will take just over 
  322. three minutes depending on the speed of your system.  What is
  323. going on is that dd is creating an image of your boot floppy in
  324. you default directory with the file name cohboot. When it finishes,
  325. remove the mwc original floppy, and insert a blank disk.
  326.  
  327.  
  328. (1) Next run the following shell program:
  329.  
  330.  
  331. echo "/etc/fdformat -v /dev/fha0"
  332. /etc/fdformat -v /dev/fha0
  333. echo "/etc/badscan -o proto /dev/fha0 2400"
  334. /etc/badscan -o proto /dev/fha0 2400
  335.  
  336.  
  337.  
  338. Run it in the background if you wish; it takes time.
  339. The echo lines simply display each command line just before it is
  340. carried out to tell you what is going on. The second and fourth
  341. lines format the floppy and check for bad blocks, respectively.
  342. In addition, a file (proto) is being built in your default
  343. subdirectory.  This file will contain a list of the bad blocks:
  344. look for a line with %b in it. Probably it is best to use only
  345. a floppy with NO bad blocks: so try until you find one.
  346.  
  347.  
  348. (2) make sure you have a subdirectory /f0 on your hard disk;
  349.  
  350. if not, use mkdir /f0.
  351.  
  352. (3) Next run the following shell program:
  353.  
  354.  
  355. echo "/etc/mkfs /dev/fha0 proto"
  356. /etc/mkfs /dev/fha0 proto
  357. echo "cp /conf/boot.fha /dev/fha0"
  358. cp /conf/boot.fha /dev/fha0
  359. echo "dd if=cohboot of=/dev/fha0 count=80 bs=30b"
  360. dd if=cohboot of=/dev/fha0 count=80 bs=30b
  361. echo "/etc/mount /dev/fha0 /f0"
  362. /etc/mount /dev/fha0 /f0
  363. echo "cd /f0 "
  364. cd /f0 
  365. echo "^G DONE but f0 still mounted !"
  366.  
  367.  
  368.  
  369. The second line produces the file system on the floppy using the 
  370. information from file proto.  The fourth line copies boot.fha
  371. to the floppy.  The sixth line transfers the image of your
  372. system boot floppy to your newly formatted disk (note all
  373. these things take time). Finally, the floppy is mounted so that
  374. while you have booted from the hard disk and have root permissions
  375. you can write to the floppy. The last line simply rings the bell
  376. and tells you it is done.
  377.  
  378.  
  379. (4) next (noting that your default directory is /f0, i.e. the
  380.  
  381.   floppy disk) enter:
  382.   
  383.   mv begin autoboot
  384.     then enter
  385.   db coherent
  386.     then enter
  387.   ronflag
  388.     the response is
  389.   ronflag=001
  390.     then enter
  391.   .=0
  392.     then a response appears
  393.   ronflag=000
  394.     then enter
  395.   :q
  396.     and you should get back your prompt.
  397.  
  398.  
  399.  
  400.  
  401. (5) Finally while the floppy is still mounted, cp over your most useful
  402. programs to the appropriate directories (e.g., vi or me, du, df ...)
  403. Lastly umount f0, shutdown, sync and boot your writable floppy.
  404.  
  405.  
  406.  
  407. Q14.
  408. MASTER BOOT REINSTALLATION:
  409.     From: doug@mwc.com (Doug Peterson)
  410. I want to upgrade the DOS partition from MS-DOS 3.3 to 5.0, and the 
  411. installation program refuses to work with the Coherent master bootstrap
  412. program. It no longer asks for the ability to boot Coherent!
  413.  
  414. The problem specifically is caused be Microsoft's faulty update install
  415. procedure. They assume you have no other operating system on the 
  416. computer.
  417.  
  418. When the 5.0 update install is run, the procedure archives the original
  419. master boot block of the hard drive and rewrites a brand new one. 
  420. Problem is, it takes Coherent's master boot along with it. To restore 
  421. the master boot is very simple:
  422.  
  423. Use dos 5.0 fdisk to change the active partition to COHERENT. Reboot.
  424.  
  425. Use COHERENT's fdisk utility with the -b option to rewrite a new master
  426. boot. Specifically; fdisk -b /conf/mboot /dev/at0x <ENTER>
  427.  
  428. Once completed, you can now boot either system no matter which one is 
  429. active or inactive.
  430.  
  431.  
  432.  
  433. Q15.
  434. LINE PRINTER HELP: From: dave@uvm-gen!pete (Dave Peterson)
  435. I have my printer hooked up to lpt1 and cannot get any output.  I have 
  436. checked my files, but, no luck.  What's the problem?
  437.  
  438. 1) ls -li   ( The i will list the inode number, this will tell you where
  439.               you have linked /dev/lp to. )
  440.  
  441. 2) ln -f /dev/lpt2 /dev/lp  ( link to lpt2  IBM and MWC number the ports 
  442.                            differently thus lpt2 is the first printer )
  443.                            [ you need to be root or bin to do the link ]
  444.                             
  445. This is a partial listing of my /dev directory note the first number is
  446. the inode number.  I have linked lp to lpt2.
  447.   174 c-w--w--w-  2 bin        bin          3   1 Mon Nov 25 17:36 /dev/lp
  448.   101 c-w--w--w-  1 bin        bin          3   0 Fri Apr 27  1990 /dev/lpt1
  449.   174 c-w--w--w-  2 bin        bin          3   1 Mon Nov 25 17:36 /dev/lpt2
  450.   173 c-w--w--w-  1 bin        bin          3   2 Fri Apr 27  1990 /dev/lpt3
  451.  
  452. As a final point when you send data to /dev/lpt2 use pipes not redirection.
  453. Try cat (file) | /dev/lpt2  it works for me.
  454.  
  455.  
  456. Q16.
  457. MOVING DATA FROM A SUN TO COHERENT:
  458.         (From: PINEAU@uqac.uquebec.ca (Louis Pineau))
  459.  
  460. First, the floppy have to be formatted whether on the sun or on the
  461. Coherent system (with fdformat /dev/rfd0c on the sun). Once the floppy
  462. is formatted, there is no need to reformat or mkfs it for the life of the
  463. floppy or until something unusual happens.
  464.  
  465. To write and read the floppy, on both system (sun and coherent), I use the
  466. command "ustar" since it can handle multi-volume files (files that are too
  467. large to fit on a single floppy).
  468.  
  469.  
  470. Thus, on the sun, I do:
  471.   /usr/5bin/ustar -cvf /dev/rfd0c file [files ...]    to write on the floppy
  472.   /usr/5bin/ustar -tvf /dev/rfd0c                     to list the floppy
  473.   /usr/5bin/ustar -xvf /dev/rfd0c [file ...]          to read the floppy
  474.  
  475.  
  476. On my coherent system, I use the same commands without the /usr/5bin prefix
  477. and with the proper floppy device (/dev/fva1 on my system).
  478.  
  479. I know that there is a way to read or write ms-dos formatted floppy but in
  480. order to mount or unmount the floppy, you must become superuser.
  481.  
  482.  
  483.  
  484. Q17.
  485. MULTI-VOLUME ARCHIVE: (From: jr@connie.de.convex.com (Joachim Riedel))
  486.  
  487. I'm trying to archive a 5 mb file (which is itself a compressed cpio file)
  488. from hard disk onto floppy disk (fva1). I've tried cpio and tar and even pax
  489. directly but cannot get past one volume. 
  490.  
  491. Use the raw device (i.e. /dev/rfva1 ) instead of the device  fva1.
  492.  
  493. Q18.
  494. SCSI MKFS NOTES: Answer From: stephen@mwc.com (Stephen Davis)
  495.  
  496. I am trying to add a second scsi drive to my system.  mkfs will not accept 
  497. a proto file.  What do I do?
  498.  
  499. You do not badscan a SCSI drive. Instead of giving mkfs a proto file, you give
  500. it the total number of blocks in the partition. The number of blocks is listed
  501. in the partition table under f-disk.
  502.  
  503.  
  504.  
  505. Q19.
  506. DOS TO COHERENT:
  507. Q: The question is, is it possible to read DOS-format 360KB-diskettes?
  508.  
  509. A: yes it is :-)   From: lvds@tfpbbs.uucp (Laurent Cas)
  510.  
  511. Here is the device type reference table:
  512. Device name  Sectors/track  Heads  Sectors  Bytes   Format
  513. /dev/f9a0          9          2      720    360 KB   5.25"
  514. /dev/fqa0          9          2     1440    720 KB   3.5"
  515. /dev/fha0         15          2     2400    1.2 MB   5.25"
  516. /dev/fva0         18          2     2880    1.44 MB  3.5"
  517.  
  518.  
  519. If your 360KB drive is 'A:' (MSDOS reference) you can do dos t /dev/f9a0
  520. to list your disk, or if your 360KB is 'B:' you will have to do dos t /dev/f9a1
  521.  
  522. drive A is number 0 and drive B is number 1 ; same for partitions on your
  523. hard disk...
  524.  
  525.  
  526. Cheers, Laurent.
  527.  
  528.  
  529. Q20.
  530. UUINSTALL BUG HELP: (From norm@mwc.com)
  531.  
  532. Using Coherent 3.2, I run UUINSTALL, upon exiting, I am back at my 
  533. prompt, but, the system hangs. the only way to restart via a reboot.
  534. Is this problem specific to 3.2 or is it something I have possibly done?
  535.  
  536. This is a bug in the 3.2.0 release of uuinstall. Occasionally, upon exiting,
  537. it leaves your terminal in "raw" mode.  The Errata sheet which is included
  538. with 3.2 releases mentions this, as far as I know.  To fix your terminal
  539. after exiting uuinstall, enter the following (note that <ctrl-J> is the control
  540. key plus the letter J):
  541.  
  542.  
  543.     <ctrl-J> stty sane <ctrl-J>
  544.  
  545.  
  546. Q21.
  547. XWINDOWS:  (From doug@mwc:)
  548.  
  549. From time to time, we get people asking about X windows on Coherent. Many new
  550. entrants into the field of UNIX have probably heard of the popular UNIX
  551. graphics interface called X-WINDOWS.
  552.  
  553. X-WINDOWS was developed by MIT. To the best of our knowledge they still hold
  554. the rights to the source code and it is in the public domain.
  555.  
  556. To the best of our knowledge, the source code takes up 110mb of disk space!
  557. The binaries, an additional 12 - 20mb's of disk space. It requires TCP or
  558. Streams support, neither of which is in COHERENT.
  559.  
  560. X-windows it seems, has become somewhat of a popular GUI for
  561. UNIX in a very short time. Various hardware firms have developed and are
  562. marketing X-workstations, servers and cards.
  563.  
  564. On page 14 of the November 1991 issue of UNIX REVIEW, is an ad for
  565. X11 Release 5 for System V/386. The price advertised is $495 with printed
  566. manuals, $395 without. So, X is not cheap via the commercial route.
  567.  
  568. Given COHERENT'S small model compiler, it is obviously impossible at this
  569. time for COHERENT to even compile the code, let alone run it. COHERENT 386,
  570. currently undergoing intensive development, will feature a 32-bit native
  571. mode compiler.
  572.  
  573. At this time, we don't envision COHERENT ever shipping with X-Windows
  574. given the fact that the size of it would double the size of COHERENT
  575. overnight.
  576.  
  577.  
  578. Q22.
  579. TAR HELP:
  580.  
  581. The Coherent version of tar has been known to create problems for users.
  582. It is believed that the latest version of tar has alleviated most of these
  583. problems. Some of the original problems include inability to read a tar archive
  584. to tar creating recursive inode/file loops that can only be removed by
  585. "clri".  The more recent Coherent releases also includes ustar, which 
  586. appears to be much more robust.  It has been suggested to use the ustar
  587. command instead of the Coherent native tar command in most cases.
  588.  
  589.  
  590. Q23.
  591. SETTING BOOT PARTITION: DOS or Coherent?
  592.  
  593. Occasionally, a user may want to boot to Coherent for the most part, rather
  594. than come up in DOS by default.  You can leave the DOS partition in tact,
  595. and switch between the preferred operating systems on as "as needed" basis.
  596. To do this, simply use the fdisk program in either operating system and 
  597. make the partition active for the operating system that resides there. Reboot
  598. the system, (AMI Bios system owners require a hard reset) and the system will
  599. now boot to the partition made active with fdisk. For example, if you wish
  600. to boot DOS by default, make the first partition active.  If you want to boot
  601. Coherent by default, make the partition active that Coherent resides on.
  602.  
  603. Q24.
  604. A BACKUP SCRIPT:   From udo@umunk.gun.de Thu Aug 20 07:58:16 1992
  605.  
  606.     [ This script was Written by Udo Munk, a name you will see thoughout 
  607.     the Coherent 4.0 manual.  Udo has ported a *lot* of software to
  608.     Coherent, and following is a backup script Udo sent me some time
  609.     ago.  I am very appreciative of his efforts, he has made a very
  610.     positive difference in the quality of software available for 
  611.     Coherent, as well as many features used in Coherent, (terminfo and
  612.     tic just to name two).  I wish I could contribute so much!  
  613.     Thanks Udo!  ]  --Mike 
  614.  ----- cut here -----
  615.  # shell script to backup Coherent's system files to disk
  616.  # Should work with Coherent 3.x and Coherent 4.0.
  617.  # At the end of the file are the installation dependent files, 
  618.  # please change to your needing.
  619.  # Written by Udo Munk (udo@umunk.GUN.de)
  620.  
  621.  # the output device:
  622.  # [May need to be changed to reflect your particular floopy drive type --Mike ]
  623.  OUTDEV=/dev/fva1
  624.  
  625.  echo -n "Put a disk with a filesystem in $OUTDEV and hit return: "
  626.  read dummy
  627.  /etc/mount $OUTDEV /mnt
  628.  
  629.  echo "Copying files in / ..."
  630.  cp .profile /mnt
  631.  cp backup /mnt
  632.  
  633.  echo "Copying files in /bin ..."
  634.  if [ ! -d /mnt/bin ]
  635.  then
  636.      mkdir /mnt/bin
  637.  fi
  638.  cp /bin/mount /mnt/bin
  639.  cp /bin/umount /mnt/bin
  640.  
  641.  echo "Copying files in /etc ..."
  642.  if [ ! -d /mnt/etc ]
  643.  then
  644.      mkdir /mnt/etc
  645.  fi
  646.  cp /etc/.profile /mnt/etc
  647.  cp /etc/brc /mnt/etc
  648.  cp /etc/checklist /mnt/etc
  649.  cp /etc/domain /mnt/etc
  650.  cp /etc/drvld.all /mnt/etc
  651.  cp /etc/group /mnt/etc
  652.  cp /etc/logmsg /mnt/etc
  653.  cp /etc/modemcap /mnt/etc
  654.  cp /etc/motd /mnt/etc
  655.  cp /etc/mount.all /mnt/etc
  656.  cp /etc/newusr /mnt/etc
  657.  cp /etc/passwd /mnt/etc
  658.  cp /etc/profile /mnt/etc
  659.  cp /etc/rc /mnt/etc
  660.  cp /etc/serialno /mnt/etc
  661.  cp /etc/shutdown /mnt/etc
  662.  cp /etc/termcap /mnt/etc
  663.  cp /etc/timezone /mnt/etc
  664.  cp /etc/ttys /mnt/etc
  665.  cp /etc/umount.all /mnt/etc
  666.  cp /etc/uucpname /mnt/etc
  667.  
  668.  # if available copy files in /etc/default
  669.  if [ -d /etc/default ]
  670.  then
  671.      echo "Copying files in /etc/default ..."
  672.      cpdir /etc/default /mnt/etc/default
  673.  fi
  674.  
  675.  echo "Copying files in /usr/bin ..."
  676.  if [ ! -d /mnt/usr ]
  677.  then
  678.      mkdir /mnt/usr
  679.  fi
  680.  if [ ! -d /mnt/usr/bin ]
  681.  then
  682.      mkdir /mnt/usr/bin
  683.  fi
  684.  cp /usr/bin/modeminit /mnt/usr/bin
  685.  cp /usr/bin/ramdisk /mnt/usr/bin
  686.  
  687.  echo "Copying files in /usr/lib ..."
  688.  if [ ! -d /mnt/usr/lib ]
  689.  then
  690.      mkdir /mnt/usr/lib
  691.  fi
  692.  if [ -f /usr/lib/crontab ]
  693.  then
  694.      cp /usr/lib/crontab /mnt/usr/lib
  695.  fi
  696.  cp /usr/lib/units /mnt/usr/lib
  697.  
  698.  echo "Copying files in /usr/lib/mail ..."
  699.  if [ ! -d /mnt/usr/lib/mail ]
  700.  then
  701.      mkdir /mnt/usr/lib/mail
  702.  fi
  703.  cp /usr/lib/mail/aliases /mnt/usr/lib/mail
  704.  cp /usr/lib/mail/paths /mnt/usr/lib/mail
  705.  
  706.  echo "Copying files in /usr/lib/uucp ..."
  707.  if [ ! -d /mnt/usr/lib/uucp ]
  708.  then
  709.      mkdir /mnt/usr/lib/uucp
  710.  fi
  711.  cp /usr/lib/uucp/L-devices /mnt/usr/lib/uucp
  712.  cp /usr/lib/uucp/L.sys /mnt/usr/lib/uucp
  713.  cp /usr/lib/uucp/Permissions /mnt/usr/lib/uucp
  714.  
  715.  # if available save /usr/lib/news
  716.  if [ -d /usr/lib/news ]
  717.  then
  718.      if [ ! -d /mnt/usr/lib/news ]
  719.      then
  720.          mkdir /mnt/usr/lib/news
  721.      fi
  722.      echo "Copying files in /usr/lib/news ..."
  723.      cp /usr/lib/news/active /mnt/usr/lib/news
  724.      cp /usr/lib/news/distributions /mnt/usr/lib/news
  725.      cp /usr/lib/news/newsgroups /mnt/usr/lib/news
  726.      cp /usr/lib/news/organization /mnt/usr/lib/news
  727.      cp /usr/lib/news/sys /mnt/usr/lib/news
  728.  fi
  729.  
  730.  # if available save /usr/spool/cron/crontabs
  731.  if [ -d /usr/spool/cron/crontabs ]
  732.  then
  733.      if [ ! -d /mnt/usr/spool ]
  734.      then
  735.          mkdir /mnt/usr/spool
  736.      fi
  737.      if [ ! -d /mnt/usr/spool/cron ]
  738.      then
  739.          mkdir /mnt/usr/spool/cron
  740.      fi
  741.      echo "Copying files in /usr/spool/cron/crontabs ..."
  742.      cpdir /usr/spool/cron/crontabs /mnt/usr/spool/cron/crontabs
  743.  fi
  744.  
  745.  # save /usr/local/lib
  746.  # these are my personal needs! edit for your own!
  747.  if [ ! -d /mnt/usr/local ]
  748.  then
  749.      mkdir /mnt/usr/local
  750.  fi
  751.  if [ ! -d /mnt/usr/local/lib ]
  752.  then
  753.      mkdir /mnt/usr/local/lib
  754.  fi
  755.  echo "Copying files in /usr/local/lib ..."
  756.  cp /usr/local/lib/Cu.sys /mnt/usr/local/lib
  757.  cpdir /usr/local/lib/xc /mnt/usr/local/lib/xc
  758.  cpdir /usr/local/lib/minicom /mnt/usr/local/lib/minicom
  759.  
  760.  /etc/umount $OUTDEV
  761.  /etc/fsck $OUTDEV
  762.  echo "Backup ready, remove disk from $OUTDEV."
  763.  ----- cut here -----
  764.  
  765.  
  766. Q24.
  767. DISCLAIMER:
  768. ANY REFERENCE TO THIS ARTICLE, IN ANY FORM, IS PURELY AT YOUR OWN RISK!
  769. All opinions, tips, and instructions in this article are those of the 
  770. contributors, and not of any company associated with the individual 
  771. contributor,
  772. or any company mentioned in this article.  Any reference to this article 
  773. is done purely AT YOUR OWN RISK!  The information contained within is
  774. not guaranteed to be free of errors in any way.  
  775.  
  776. The intention of this note
  777. is only to inform curious usenet readers about some aspects of the operating
  778. system of Coherent, and those companies mentioned are encouraged to add
  779. corrections, additions, or suggest deletions to this note to as per their
  780. policy or willingness to provide positive criticism.
  781.  
  782.  
  783. TRADEMARKS
  784. Unix is the trademark of AT&T / Unix System Laboratories, Inc.
  785. Coherent is the trademark of the Mark Williams Company.
  786.  
  787.