home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / 3b1-faq / part1 next >
Internet Message Format  |  2004-03-30  |  40KB

  1. Message-ID: <3b1_faq_part1_1080621651@nyx10.nyx.net>
  2. Supersedes: <3b1_faq_part1_1074637141@nyx10.nyx.net>
  3. Expires: 28 Apr 2004 04:40:51 GMT
  4. Newsgroups: comp.sys.3b1,comp.answers,news.answers
  5. Subject: comp.sys.3b1 FAQ part1
  6. Followup-To: comp.sys.3b1
  7. Reply-To: 3b1-faq@nyx10.nyx.net
  8. Approved: news-answers-request@MIT.Edu
  9. Summary: This Posting contains a list of Frequently Asked Questions (and
  10.      answers) about 3b1 computers.  It should be read by all who want
  11.      to participate in the comp.sys.3b1 newsgroup. 
  12. From: jbunch@nyx2.nyx.net (John B. Bunch)
  13. Organization: Nyx Net, The Spirit of the Night
  14. Cache-Post-Path: irys.nyx.net!1055@nyx2.nyx.net
  15. X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
  16. NNTP-Posting-Host: 206.124.29.6
  17. Date: 29 Mar 2004 21:40:52 -0700
  18. X-Trace: omega.dimensional.com 1080621652 206.124.29.6 (29 Mar 2004 21:40:52 -0700)
  19. Lines: 1026
  20. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!border1.nntp.ash.giganews.com!nntp.giganews.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!dimensional.com!pulsar.dimensional.com!omega.dimensional.com!not-for-mail
  21. Xref: senator-bedfellow.mit.edu comp.sys.3b1:14759 comp.answers:56691 news.answers:268844
  22.  
  23. Archive-name: 3b1-faq/part1
  24. Version: $Id: 3b1-faq-part1,v 2.5 2000/09/05 19:17:48 jbunch 
  25.  
  26. ----------------------------------------------------------------------
  27. | Answers to some frequently asked questions about the AT&T UNIX PC, |
  28. |     as well as some frequent problems, hints, and solutions.         |
  29. ----------------------------------------------------------------------
  30. | Make a Hard Copy on the FAQ *NOW*, it probably wont be readable if |
  31. |           it is on your machine when you *NEED* it.                |
  32. ----------------------------------------------------------------------
  33. [$Revision: 2.5 $ $Date: 00/09/05 19:17:48 $]
  34. Send updates to 3b1-faq@nyx.cs.du.edu.
  35.  
  36.             Part 1 of 2
  37.  
  38. ------------------------------
  39.  
  40. Subject: 0.1. Table of Contents for part 1 of the faq.
  41.  
  42.      0.1.  Table of Contents for part 1 of the faq.
  43.      1.0.  General
  44.      1.1.  What exactly are the AT&T UNIX PC, PC7300, and 3B1?
  45.      1.2.  What is the operating system?  Its origins?
  46.      1.3.  What are the "OSU Archives"?
  47.      1.4.  Who supports these machines?  Are there any user groups?
  48.      1.5.  Where can I get my machine serviced or fixed?
  49.      2.0.  Software
  50.      2.1.  How do I get my free Personal Calendar program?
  51.      2.2.  What is "THE STORE!" and how can I access it?
  52.      2.3.  Is there any GNU software available?
  53.      2.4.  Is the X Window system available for the UNIX PC?
  54.      2.5.  What's MGR?
  55.      2.6.  How can I get a full 360kB when I format a MS-DOS floppy
  56.            on the UNIX PC?
  57.      2.7.  Are there any other utilities for fiddling with MS-DOS 
  58.            floppies?
  59.      2.8.  What commercial software was available for the UNIX PC?
  60.      3.0.  Software Development
  61.      3.1.  Can I use the GNU C compiler in place of the hard-to-find
  62.            development set?
  63.      3.2.  What do I with old object-file archives?
  64.      4.0.  Administration
  65.      4.1.  How do I restore from a backup when one of the floppies 
  66.            is bad?
  67.      4.2.  How can I make a floppy-disk-based UNIX for fsck'ing the 
  68.                hard drive?
  69.      4.3.  How can I get the machine to ask the device and program to
  70.                boot from?
  71.      4.4.  How do I get multiple login windows? 
  72.      4.5.  What the heck is a +IN suffix on a file?
  73.      4.6.  What do the HDERR (FDERR, or TPERR) messages in 
  74.                /usr/adm/unix.log mean?
  75.      4.7.  Why are the header files missing after an install of the
  76.                Development Set?
  77.      4.8.  Why is the machine is booting over and over?
  78.      4.9.  Is HoneyDanBer UUCP available to replace the stock uucp 
  79.                software?
  80.      4.10. Why doesn't the On-Board Modem (OBM) work with some other 
  81.                modems?
  82.      4.11. How do I get my on-board modem to be a dial-out-only modem?
  83.      4.12. Does the on-board modem support 2400 bps?
  84.      4.13. Why aren't the lpadmin, accept, and reject commands working
  85.            right?
  86.      4.14. Why are all the jobs on the printer always followed by a
  87.                formfeed?
  88.      4.15. Why can't I send bitmapped images to the printer correctly?
  89.      4.16. How do I configure a Hayes compatible external modem on the
  90.                UNIX PC?
  91.      4.17. Any tips on building Cnews?
  92.      4.18. What are lipc and nipc, and how can I use nipc instead of 
  93.                lipc?
  94.      5.0.  Upgrading
  95.      5.1.  What third-party hardware is available?
  96.      5.2.  Can I put a 68881 math coprocessor in my machine?
  97.  
  98. ------------------------------
  99.  
  100. Subject: 1.0. General
  101.  
  102. This section contains general questions about the Unix-PC.
  103.  
  104. ------------------------------
  105.  
  106. Subject: 1.1.  What exactly are the AT&T UNIX PC, PC7300, and 3B1?
  107.  
  108.     The name "UNIX PC" is a catch-all name for a set of machines
  109. developed by Convergent Technologies (now part of Unisys) and sold by
  110. AT&T in the mid to late 80's, all having the same basic configuration:
  111.  
  112.     o 10MHz 68010 with custom MMU
  113.     o demand paged, virtual memory UNIX (max. process size 2.5M)
  114.     o 10/20/40/67MB disk
  115.     o 512k/1M/2MB RAM
  116.     o monochrome, quasi-Hercules display
  117.  
  118.     As marketing strategies changed and basic features were added,
  119. the original offering (the PC7300) became known as the 3B1.  The 7300
  120. machines featured 512k RAM on the motherboard with a 10 or 20MB disk.
  121. The later 7300's featured 1M on the motherboard and a 20MB half-height
  122. Miniscribe drive.  The later 3B1 machines had 1M or 2M on the motherboard, 
  123. and came with a 40 or 67MB disk.  Accommodating the larger, full-height 
  124. drives in the 3B1 required that a hump be added to the sloping, 
  125. wedge-shaped case top.  The 3B1 also has a heftier power supply.
  126.  
  127. ------------------------------
  128.  
  129. Subject: 1.2.  What is the operating system?  Its origins?
  130.  
  131.     The operating system is based on UNIX System V Release 2, with
  132. extensions from BSD 4.1, BSD 4.2, System V Release 3 and Convergent
  133. Technologies.  The most recent version is 3.51, with a 3.51m FIXDISK
  134. (2.0) available.  The FIXDISK was available from AT&T directly, but is
  135. now only available on the OSU Archives as FIXDISK2.0+IN.
  136.  
  137. ------------------------------
  138.  
  139. Subject: 1.3.  What are the "OSU Archives"?
  140.  
  141.     OSU-CIS is an Ohio State University computer system which
  142. holds a very large selection of UNIX-PC-related programs and files.
  143. David Brierley (dave@galaxia.network23.com) is the current maintainer
  144. of the archives.  Ohio State graciously allows both anonymous FTP and
  145. UUCP access to this archive.  For FTP from the Internet, access is via
  146. the machine archive.cis.ohio-state.edu (IP address: 128.146.8.52).
  147.  
  148. This is the URL for the OSU archives ftp access.
  149. <ftp://archive.cis.ohio-state.edu/pub/att7300/>
  150.  
  151. Dave Brierley has also now added www access to the UNIX-PC archives with
  152. this URL.
  153. <file://archive.cis.ohio-state.edu/pub/att7300/README.html>
  154.  
  155. They recommend the following L.sys (Systems) entries:
  156.  
  157.     #
  158.     # Direct Trailblazer
  159.     # dead, dead, dead...sigh.  for the 3rd time in as many months.
  160.     #
  161.     #osu-cis Any ACU 19200 1-614-292-5112 in:--in:--in: Uanon
  162.     #
  163.     # Direct V.32 (MNP 4)
  164.     # dead, dead, dead...sigh.
  165.     #
  166.     #osu-cis Any ACU 9600 1-614-292-1153 in:--in:--in: Uanon
  167.     #
  168.     # Micom port selector, at 1200, 2400, or 9600 bps.
  169.     # Replace ##'s below with 12, 24, or 96 (both speed and phone number).
  170.     # Can't use MNP with V.32 on -3196
  171.     #
  172.     osu-cis Any ACU ##00 1-614-292-31## "" \r\c Name? osu-cis nected \c GO \d\r\d\r\d\r\d\r\d\r\d\r\d\r in:--in:--in: Uanon
  173.  
  174.     The file ~/att7300/README.Z contains a detailed list of the
  175. archive's contents and should be the first thing to get.
  176.  
  177.     Another source of software for Internet-connected sites is the
  178. anonymous FTP area on ftp.cs.caltech.edu.  Andy Fyfe
  179. (andy@cs.caltech.edu) maintains new versions of TeX and GNU utilities
  180. in the pub/3b1 directory.
  181.  
  182. [Ed. Note: As far as I know the archive at ftp.cs.caltech.edu for the
  183.            3b1 has been shut down, everything in the caltech archives
  184.        is mirrored in the OSU archives in ~/pub/att7300/csvax ]
  185.  
  186. ------------------------------
  187.  
  188. Subject: 1.4.  Who supports these machines?  Are there any user groups?
  189.  
  190.     The primary support for the machine is the Usenet newsgroup
  191. comp.sys.3b1.  There are a lot of dedicated people who enjoy these
  192. machines and post a wealth of information to the network.
  193.  
  194.     If you are in the Silicon Valley area, contact Thad Floryan
  195. (thad@btr.com) for information on how to go to the "AT&T UNIX User's
  196. Group" meeting on the fourth Wednesday of every month.  Although it's
  197. a generic AT&T UNIX group, a large number of the members (including
  198. Thad) own UNIX PC's.
  199.  
  200. ------------------------------
  201.  
  202. Subject: 1.5.  Where can I get my machine serviced or fixed?
  203.  
  204.     This is difficult, since AT&T no longer supports the machine.
  205. The only remaining possibility appears to be ``A Small Computer Repair
  206. Company'' (ASCRC).  They will diagnose your problem, and repair or
  207. replace the part that is broken.  They will try their hardest to
  208. repair the item first.  You need to send the computer (or just the
  209. component in question) to them.  They will repair/replace it and ship
  210. it back.  Their turn-around time is usually 48-72 hours.  They repair
  211. AT&T's 6300, 6300+, 7300, 3B1 and UNIX PC computers. For more
  212. information and/or to arrange servicing, contact:
  213.  
  214.         A Small Computer Repair Company
  215.         5762 Dichondra Place
  216.         Newark, CA  94560
  217.         (510) 430-9226 or (510) 793-6980
  218.  
  219. ------------------------------
  220.  
  221. Subject: 2.0. Software
  222.  
  223. This section describes some of the software available.
  224.  
  225. ------------------------------
  226.  
  227. Subject: 2.1.  How do I get my free Personal Calendar program?
  228.  
  229.     Enclosed with the documentation of many or all UNIX PC's was a
  230. card which you could send in to receive a free copy of the Personal
  231. Calendar program.  The machine is discontinued, so sending in the card
  232. now won't accomplish anything, but that doesn't mean that you're out
  233. of luck.  Many machines were shipped with the calendar program in
  234. /etc/fixes.  Install it as follows (the name of the program is
  235. "pcal"):
  236.  
  237.     Append this to your /usr/lib/ua/Office file:
  238.  
  239.         Name=Calendar
  240.         Default = Open
  241.         Open=EXEC -d /usr/bin/pcal -c
  242.         Help=EXEC -d /usr/bin/uahelp -h /usr/lib/ua/ua.hlp -t Calendar
  243.  
  244.     Append this to your /usr/lib/ua/Preferences file:
  245.  
  246.         Name=Calendar
  247.         Default = Open
  248.         Open=EXEC -d /usr/bin/pcal -p
  249.         Help=EXEC -d /usr/bin/uahelp -h /usr/lib/ua/ua.hlp -t Calendar
  250.  
  251.     If you are using the pcal that is located in /etc/fixes:
  252.  
  253.         $ su
  254.         Password:
  255.         # mv /etc/fixes/pcal /usr/bin
  256.         # mv /etc/fixes/pcal.hlp /usr/lib/ua
  257.         # chown bin /usr/bin/pcal /usr/lib/ua/pcal.hlp
  258.         # chgrp bin /usr/bin/pcal /usr/lib/ua/pcal.hlp
  259.         # chmod 755 /usr/bin/pcal 
  260.         # chmod 644 /usr/lib/ua/pcal.hlp
  261.  
  262. ------------------------------
  263.  
  264. Subject: 2.2.  What is "THE STORE!" and how can I access it?
  265.  
  266.     THE STORE! was owned and operated by AT&T, but is no longer
  267. available for dialup uucp.  All publicly accessible software that was
  268. formerly available there has been moved and archived on the OSU
  269. archives (see above).
  270.  
  271. ------------------------------
  272.  
  273. Subject: 2.3.  Is there any GNU software available?
  274.  
  275.     There are fairly recent versions of gcc, g++, gas, gdb, and
  276. emacs as binary-only cpio archives on OSU as well at CalTech (see
  277. above).
  278.  
  279. ------------------------------
  280.  
  281. Subject: 2.4.  Is the X Window system available for the UNIX PC?
  282.  
  283.     No, X has not been ported, and probably won't ever be ported
  284. to the UNIX PC.  X is quite large, and there have been several
  285. discussions about porting it in comp.sys.3b1, but it's probably not
  286. worth the effort.
  287.  
  288. ------------------------------
  289.  
  290. Subject: 2.5. What's MGR?
  291.  
  292.     MGR is an alternative windowing environment developed by Steve
  293. Uhler at Bellcore and ported to the UNIX PC by Brad Bosch and Brian
  294. Botton.  The MGR windowing environment can replace the standard
  295. /dev/window environment on the UNIX PC quite nicely (it does prevent
  296. some UNIX PC specific programs from being run since the wind.o
  297. loadable device driver is not loaded).  MGR's user interface is quite
  298. similar to a SunWindows environment, and raster operations are quite
  299. fast.  MGR is a user program, not a driver (besides the pty driver),
  300. so it doesn't take up precious kernel space.  It does require a
  301. hardware modification called the VIDPAL.  The VIDPAL (developed by
  302. Brian Botton [...!att!iexist!botton]) is a daughterboard that sits
  303. sandwiched between the 68010 CPU and the motherboard and allows direct
  304. access to video memory from a user process.
  305.  
  306.     At one time, Brian had provided VIDPAL kits but no longer does
  307. so.  If you want to try out MGR, but can't get a VIDPAL board, you may
  308. want to try out John Milton's VIDPAL emulator -- a software-only
  309. solution to video memory access.  It is certainly slower than a real
  310. VIDPAL, but is interesting none the less.  The VIDPAL emulator was
  311. posted to comp.sources.3b1 and so should be archived at standard
  312. archive sites like uunet.uu.net.
  313.  
  314.     A beta source distribution of MGR is on OSU, and can also be
  315. gotten via anonymous ftp from max.physics.sunysb.edu (129.49.21.100).
  316.  
  317. ------------------------------
  318.  
  319. Subject: 2.6. How can I get a full 360kB when I format a MS-DOS floppy
  320.          on the UNIX PC?
  321.  
  322.     The md_format program defaults to formatting floppies with 8
  323. tracks per sector (320kB).  Use the "-9" option to get 9 tracks per
  324. sector (360kB).
  325.  
  326.     A further suggestion is to get windy ("windy.cpio.Z" at OSU)
  327. and use it to run the md_format program, since md_format is one of
  328. those which tends to turn your full-screen UNIX window into a little,
  329. horrible-looking window.  Windy fixes this by running the command in
  330. its own window.
  331.  
  332. ------------------------------
  333.  
  334. Subject: 2.7. Are there any other utilities for fiddling with MS-DOS 
  335.          floppies?
  336.  
  337.     The best of the bunch is Emmet P. Gray's Mtools package, which
  338. is available on OSU.  The utilities in this package allow one to copy
  339. files, delete files, rename files, make directories, format disks,
  340. etc.  The 2.0 version of Mtools also supports the C:, D:, etc. drive
  341. partitions of the DOS-73 emulator.
  342.  
  343. ------------------------------
  344.  
  345. Subject: 2.8. What commercial software was available for the UNIX PC?
  346.  
  347.     What follows is a list Steve Urich (beyo@beyonet.UUCP) typed
  348. in from an old TRC catalog listing UNIX PC commercial software.  At
  349. the end of this list are a few more products seen by other folks on
  350. Usenet.
  351.  
  352.                 UNIX PC SOFTWARE
  353.  
  354. Model        Description
  355. AT&T650002    GSS Terminal. Access to host graphics; Tektronix 4014 EGM
  356. AT&T650005    3270+ Emulator. For SNA networks through dial-up or dedicated
  357.         lines
  358. AT&T650007    AT&T Electronic Mail. menu driven with lots of options for
  359.         sending notes & files
  360. AT&T650008    TCP/IP Ethernet, includes ICMP, UDP, NVT, PTP, SMPT, TFTP &
  361.         remote cmnds
  362. AT&T650101    Voice Mail Software. Send and receive text and vioce mail
  363. AT&T650S01    UNIX PC Network. Starlan messaging, file transfer and e-mail
  364. AT&T650S02    UNIX PC Server. Starlan file server for MS-DOS networks.
  365. AT&T651002    GSS Drivers+ VDI based software for printers
  366. AT&T651003    UNIX System V Release 3.51 
  367. AT&T651004    GSS Toolkit. Graphics programming including metafile, plotting
  368.         & windows.
  369. AT&T651005    GSS Metafile Interpreter. Library of functions for VDM standard
  370. AT&T651006    GSS GKS. C tool implements the GKS standard
  371. AT&T651007    GSS Plotting System. Chart building capabilities.
  372. AT&T651008    GSS Window Manager for C language windowing.
  373. AT&T651010    Informix C-ISAM. Tool for ISAM without a full RDBMS.
  374. AT&T651018    Development Tools. Commercial and scientific ISAM sort/merge
  375. AT&T651021    UNIX Utilities 3.51.
  376. AT&T651201    MS Basic. Basic with over 120 commands from Microsoft.
  377. AT&T651202    SMC Basic. Business Basic III compatability.
  378. AT&T651203    SMC Run Time. Executable only; non-development version.
  379. AT&T651204    RM Cobol. 1974 ANSI standard; certified by GSA.
  380. AT&T651205    RM Cobol Run Time. Executable only; non-development version.
  381. AT&T651209    LPI Fortran. Fortran 77 meeting ANSI X3.9-1978
  382. AT&T651210    LPI Pascal. ANSI/IEEE standard supported by LPI Debug.
  383. AT&T651211    LPI C Full implementation with LPI's modular component 
  384.         architecture.
  385. AT&T651216    LPI Debug. Interactive source level debugger works with all
  386.         LPI products.
  387. AT&T651219    RM Fortran. High preformance implementation of F77 and ANSI
  388.         3.9-78.
  389. AT&T651221    Animator. Integrated with MF Level II Cobol.
  390. AT&T651223    Cobol LVL II. ANSI-74, ISAM tools, source compatible with 
  391.         compact Cobol II
  392. AT&T651224    Forms II. Visual programming tool for screen based forms
  393.         generation.
  394. AT&T651226    Cobol LVL II Run Time. Executable only; non-development version
  395. AT&T651227    SVS Fortran. ANSI-77 including Symbolic Debugger.
  396. AT&T651229    SVS Pascal. Combines ISO and UCSD standards
  397. AT&T651232    AT&T BASIC Interpreter. Standard Basic with many extensions
  398. AT&T651233    AT&T BASIC Compiler. Full implementation of ANSI X3.60-78 with
  399.         extensions.
  400. AT&T651237    UNIFY. Multi-user RDBMS.
  401. AT&T651702    dBASE III. Ashton-Tate and AT&T
  402. AT&T651706    QUICKCODE III. Automate dBASE III programming.
  403. AT&T651707    dUTIL. Toolkit for dBASE III programmers.
  404. AT&T651713    FILE-IT. Easy to use personal DBMS which builds informix files
  405.         thru menus.
  406. AT&T651713    INFORMIX. The most flexible true relational multi-user
  407.         programming language.
  408. AT&T651714    INFORMIX Run Time. Executable versions of Informix programs.
  409. AT&T651715    SMART DBMS. Powerful relational database integrated with the
  410.         Smart package.
  411. AT&T651L60    BASIC ORACLE. Fully compatible with IBM's SQL/DS and DB2
  412. AT&T651L61    TURBO ORACLE. ANSI Standard SQL; C language precompiler.
  413. AT&T652004    Multiplan. Microsoft's spreadsheet solution.
  414. AT&T652009    GSS CHART. Interactive standalone package for mainframe quality
  415.         graphics.
  416. AT&T652010    GSS Sound Pres. Fully featured interactive graphics on a wide
  417.         variety of devices.
  418. AT&T652016    AT&T SUPERCOMP 20. The multiuser standard of spreadsheets.
  419. AT&T652017    BUSINESS GRAPHICS. Turn your 20/20 data into charts.
  420.         (Requires Supercomp 20).
  421. AT&T652022    PAINT POWER. Sophisticated but easy to use drawing package.
  422. AT&T652026    SMART SFTWR SYS. Database-Spreadsheet-Wordprocessor.
  423. AT&T652029    TEAM POWER. Office work groups for 2 to 5 users sharing all
  424.         resources.
  425. AT&T652202    MS WORD. Microsoft's professional word processor for UNIX.
  426. AT&T652204    AT&T Word Processor. Easy to use word processor.
  427. AT&T652208    Crystalwriter. Powerful word processing with English language
  428.         commands.
  429. AT&T652209    Wordstar 2000. MicroPro's best selling word processor.
  430. AT&T652210    SMART WORD PROCESSOR. Professional word processor which works
  431.         with Smart.
  432. AT&T653001    BUSINESS ACCTING. Complete business accounting system.
  433. AT&T653002    OC/INV. Complete package for managing incoming orders and 
  434.         product control.
  435. AT&T653003    PAYROLL. Complete payroll and personnel management.
  436. AT&T653004    A/P. Comprehensive control system-can be integrated with G/L.
  437. AT&T653005    A/R. Maintains customer profiles and accounts-can be integrated
  438.         with G/L.
  439. AT&T653006    GENERAL LEDGER. Fully automated package for maintaining
  440.         business records.
  441.  
  442. AT&T??????    Wordmarc Composer.  Word processing package.
  443. AT&T??????    Pegasys.  Computer-aided design.
  444. AT&T??????    Image Director
  445. AT&T??????    Samna.  Word processor.
  446. AT&T??????    Q-Office.  Office integration
  447. AT&T??????    User Agent Design Tool.
  448.  
  449. ------------------------------
  450.  
  451. Subject: 2.0. Software Development
  452.  
  453. This section gives a little info on what is necessary for software
  454. development
  455.  
  456. ------------------------------
  457.  
  458. Subject: 3.1. Can I use the GNU C compiler in place of the hard-to-find
  459.          development set?
  460.  
  461.     In theory, anyway, most of what you need from the Development
  462. Set can be obtained elsewhere.  There are at least five things that
  463. you need to do C programming on the UNIX PC:
  464.     o a C compiler
  465.         Use GCC (binary available in languages/gcc-gas.tar.Z
  466.         on OSU-CIS)
  467.     o an assembler
  468.         Use GAS (binary available in languages/gcc-gas.tar.Z
  469.         on OSU-CIS)
  470.     o a linker/loader (/bin/ld)
  471.         This is included in the Foundation Set.
  472.     o system header files
  473.         Alex Crain (alex@umbc3.umbc.edu) has created a set of
  474.         ANSI header files which appeared in Volume 1, Issue 49
  475.         of comp.sources.3b1, with one patch.
  476.     o libraries
  477.         This is the tough one.  There are a bunch of libraries
  478.         that come the Development Set which would be difficult
  479.         to replace.  One of the most important (/lib/libc.a)
  480.         is on the Encryption Set disks in the Foundation Set.
  481.         Supposedly FIXDISK2.0 contains one or more updated
  482.         libraries.  The network and OSU remain good sources
  483.         for strings, POSIX, dirent, etc. libraries.  Of
  484.         course, there are other libraries like /lib/libm.a
  485.         (math) and /lib/libld.a (COFF access) which might be
  486.         more difficult to replace.
  487.  
  488.     This writer hasn't actually heard of anyone actually pulling
  489. this feat off, but sometimes he has trouble paying attention. ("Eh?")
  490.  
  491.     (Thanks to Glenn Thobe for providing up-to-date information.)
  492.  
  493. ------------------------------
  494.  
  495. Subject: 3.2. What do I with old object-file archives?
  496.  
  497.     The object-file archive format was changed from release 3.0 to
  498. 3.5 of the operating system.  There is a utility to convert these
  499. archives to the new format.
  500.  
  501.         # convert oldarchive.a newarchive.a
  502.  
  503.     Or you can run:
  504.  
  505.         # arconvert
  506.         # file oldarchive.a newarchive.a
  507.         oldarchive.a: 5.0 archive
  508.         newarchive.a: 5.2 archive
  509.  
  510.     That will convert all the archives in /usr/lib and /lib that
  511. are in the old 5.0 archive format to the new 5.2 archive format.
  512.  
  513. ------------------------------
  514.  
  515. Subject: 4.0. Administration
  516.  
  517. This section contains info on how to administer the 3b1 and some of the
  518. available packages for the 3b1
  519.  
  520. ------------------------------
  521.  
  522. Subject: 4.1. How do I restore from a backup when one of the floppies
  523.          is bad?
  524.  
  525.     Get the public domain program called "afio".  It's available
  526. in the OSU archives.  It supports reading the floppy disk backup set,
  527. and will ignore errors and recover when it finds the next cpio ASCII
  528. header if you use the "-k" option.  The backup set must be written
  529. using cpio and the "-c" option must have been used during the writing
  530. of the diskettes.
  531.  
  532.     The syntax for afio to restore is:
  533.         # cd /
  534.         # afio -ivk /dev/rfp021
  535.               ^ use the k option to allow dealing with
  536.                 corrupted archives
  537.  
  538. ------------------------------
  539.  
  540. Subject: 4.2. How can I make a floppy-disk-based UNIX for fsck'ing the
  541.          hard drive?
  542.  
  543.     Make a copy of the "Floppy Filesystem Disk" (Disk 3 of ##) of
  544. the Foundation Set as follows.  Insert the original floppy filesystem
  545. diskette, and have a formatted, 10 sectors/track diskette ready.  Type
  546. the "fpcp" command and copy it.
  547.  
  548.     Now that you have a copy, place a copy of /etc/fsck on it.
  549. While you're at it, save your /etc/inittab in case it gets destroyed
  550. in the future and you can't get the machine to boot.
  551.  
  552.         # mount /dev/fp021 /mnt
  553.         # cp /etc/fsck /mnt/etc/fsck
  554.         # cp /etc/inittab /mnt/etc/inittab.save
  555.         # sync
  556.         # umount /dev/fp021
  557.  
  558.     Now you have a disk that will help you do a standalone
  559. filesystem check.
  560.  
  561.     To use this, first boot the system using the "Floppy Boot
  562. Disk" (Disk 2 of ##).  It will stop and ask you to insert the Floppy
  563. Filesystem Disk.  Insert your copy instead.  When it comes to the
  564. first question, interrupt the script with <DEL> to get a "#" prompt.
  565.  
  566.     The disk is already mounted as /mnt, so unmount it:
  567.         # umount /dev/fp002
  568.         warning: /dev/fp002 not in mount table
  569.     Do your filesystem check:
  570.         # /etc/fsck -D -S /dev/rfp002
  571.     Reboot the system:
  572.         # sync
  573.         # sync
  574.         # reboot
  575.  
  576.     NOTE: the root filesystem is the floppy filesystem, so the
  577. "-s" option to fsck salvages the floppy root filesystem, not the root
  578. filesystem on the hard drive.  This is why "-s" is not used above.
  579.  
  580.     *** THE FOLLOWING IS NOT FOR THE UNINHIBITED OR CASUAL USER ***
  581.  
  582.     For the real UNIX hacker out there (who is fortunate enough to
  583. have a tape drive on your machine) you could grab the fp_unix.sh.Z,
  584. conf.sh.Z and kern.cpio.Z files from the OSU Archives.  This is a set
  585. of tools, along with the kernel object files for 3.51m, that will let
  586. you link in the tape driver (tp.o) to your floppy UNIX kernel and give
  587. you full control of the tape device from the floppy UNIX.  This is
  588. very handy for doing full backups or restores from the floppy!
  589.  
  590. ------------------------------
  591.  
  592. Subject: 4.3. How can I get the machine to ask the device and program
  593.          to boot from?
  594.  
  595.     By default the UNIX PC is set up with the non-verbose system
  596. loader.  This can be changed to the "verbose" loader which will ask
  597. what program and device to load from.
  598.  
  599.     *** WARNING *** Any time you write to the disk device like the
  600. following, be extra careful that you type the correct device name.  A
  601. backup is always recommended.
  602.  
  603.     Insert a blank diskette in the floppy drive.
  604.         # fdfmt.vl
  605.         # /etc/ldrcpy /dev/rfp020 /dev/rfp000
  606.  
  607.     Reboot your machine and you'll be able to load from the floppy
  608. or the hard disk whatever program you desire (not that there is too
  609. much you can load).  It may be useful to copy the several diagnostic
  610. utilities to the hard disk (for easy retrieval).
  611.  
  612.     Insert your diagnostic disk ...
  613.         # mount /dev/fp021 /mnt -r
  614.         # mkdir /dgn
  615.         # cp /mnt/s4diag /dgn/s4diag
  616.         # umount /dev/fp021
  617.  
  618.     This can be repeated for diagnostics like, STARLAN, Voice
  619. Power, DOS-73, Floppy Tape, etc.  Name the diagnostic programs
  620. something unique (slndiag, vpdiag, dosdiag, etc.)  Now you can load
  621. from the hard disk /dgn/s4diag, /dgn/vpdiag, etc.. and have that
  622. diagnostic utility handy when needed.
  623.  
  624.     NOTE: After you do this procedure your system will not reboot
  625. automatically (after power failures) without some user input.
  626.  
  627. ------------------------------
  628.  
  629. Subject: 4.4. How do I get multiple login windows? 
  630.  
  631.     It is fairly easy to start up several windows with logins on
  632. them: all you need to do is add additional getty commands to the
  633. /etc/inittab file.  Don't be afraid to edit your /etc/inittab, even
  634. though there is a big warning at the top of the file -- nothing will
  635. happen if you are careful.
  636.  
  637.          vid:2:respawn:/etc/getty window 9600
  638.          vd2:2:respawn:/etc/getty window 9600
  639.          vd3:2:respawn:/etc/getty window 9600
  640.         ^ NOTE: in all cases there is a space character there.
  641.  
  642.     This will start up 3 windows with logins.  Using the
  643. <Shift><Suspd> key, you can cycle through all of them.
  644.  
  645.     Another option is to get the Boyd Ostroff's "wlogin" package,
  646. posted to comp.sources.3b1 and available from the archives.  This
  647. program can either replace or work with /etc/getty on the console and
  648. lets you have multiple overlapping 24 line x 80 character windows
  649. using a smaller font.  It will work with or without wmgr, smgr, ph and
  650. ua.  The number of windows and their position is fully configurable by
  651. the user.  If desired, it can provide a simple alternative windowing
  652. environment to the UA, allowing you to remove ua and all its
  653. associated files, thus freeing up over 1 MB of disk space.
  654.  
  655. ------------------------------
  656.  
  657. Subject: 4.5. What the heck is a +IN suffix on a file?
  658.  
  659.     On the UNIX PC, "+IN" denotes an "Installable File".  If you
  660. were to use the UA it would show that it's an Installable File.  The
  661. Installable format is just a normal cpio archive.  The file can be
  662. installed by hand by doing:
  663.  
  664.         # mkdir /tmp/install
  665.         # mv FILE+IN /tmp
  666.         # cd /tmp/install
  667.         # cpio -icduvmB < ../FILE+IN
  668.         [...]
  669.         # ./Install
  670.  
  671.     A list of other Suffixes appears in the file
  672. /usr/lib/ua/Suffixes.
  673.  
  674. ------------------------------
  675.  
  676. Subject: 4.6. What do the HDERR (FDERR, or TPERR) messages in 
  677.          /usr/adm/unix.log mean?
  678.  
  679.     There are several possible causes for these.  One of course is
  680. a bad disk, or a disk that has gone bad.  But one should check the
  681. other options before determining the disk is really bad.
  682.  
  683.     Dirty power supply contacts have been known to cause these
  684. problems.  Open the machine and clean the power supply contacts on the
  685. ribbon-type cable that goes from the supply to the motherboard.
  686.  
  687.     A weak or faulty power supply could also be your problem.
  688. Test the power supply voltages (with the hard drive and motherboard
  689. connected as a load), using some sort of Y-connector off the power
  690. cable to the hard drive.  Test the +12VDC and +5VDC supplies with a
  691. meter, and make sure they are within acceptable tolerances.  If they
  692. are too low, intermittent HDERRs will occur.  There are several
  693. adjustment screws on the power supply (marked +5, +12, -12) that can
  694. adjust these values.  Turning clockwise will increase the value, and
  695. counterclockwise will decrease it.  Faulty power can make a good hard
  696. disk or motherboard appear to be bad.
  697.  
  698.     More commonly you'll find FDERRs in your /usr/adm/unix.log
  699. file.  Every time you format a new floppy disk, you'll get at least
  700. one.  Floppy disks are prone to more errors, especially if you get
  701. those bargain basement brand types.
  702.  
  703.     TPERRs might appear if you have a bad or defective cartridge
  704. tape block.  If you start seeing a lot of these during your backup or
  705. verify phases, it would be a good idea to re-format the tape and run
  706. another surface check (to check for possibly bad streams, or good
  707. streams that have gone bad).
  708.  
  709. ------------------------------
  710.  
  711. Subject: 4.7. Why are the header files missing after an install of 
  712.          the Development Set?
  713.  
  714.     One of the packages' Install scripts (apparently that of
  715. "Curses/Terminfo Programmers Package"), copies curses.h to
  716. /usr/include anticipating that the directory has already been created
  717. by a previous package's Install script.  If /usr/include doesn't exist
  718. yet because the packages weren't installed in the right order, the
  719. Install script will make a *file* called /usr/include, which is really
  720. curses.h.
  721.  
  722.     To prevent this from happening, install the packages in this
  723. order:
  724.  
  725.         Curses/Terminfo End User Package
  726.         Development Set 3.5x
  727.         Curses/Terminfo Programmers Package
  728.  
  729. ------------------------------
  730.  
  731. Subject: 4.8. Why is the machine is booting over and over?
  732.  
  733.     The stock /etc/rc that called when the machine boots up writes
  734. the output of the fsck(1M) to the hard disk (/etc/.lastfsck).  This is
  735. definitely a problem.  Many people prefer having control over what
  736. fsck does rather than running fsck with the "-y" option and having it
  737. do all the work.  A lot of times fsck will delete files or clear them
  738. and you have no control over what it's doing.
  739.  
  740.     Check out the fsokay.cpio.Z package on OSU, it contains some
  741. enhanced /etc/rc scripts and tools to make the booting phase of the
  742. UNIX PC a lot cleaner and more reliable.
  743.  
  744. ------------------------------
  745.  
  746. Subject: 4.9. Is HoneyDanBer UUCP available to replace the stock uucp
  747.          software?
  748.  
  749.     HDB binaries and documentation are available on OSU as the
  750. following files:
  751.         ~/att7300/STORE/HDB3.5+IN.Z
  752.         ~/att7300/STORE/HONEYDOCS+IN.Z
  753.  
  754. ------------------------------
  755.  
  756. Subject: 4.10. Why doesn't the On-Board Modem (OBM) work with some
  757.          other modems?
  758.  
  759.     One problem is that the OBM seems to create answerback tones
  760. which identifies itself (for some reason) as an MNP reliable modem
  761. (!).  This confuses some MNP modems and the Telebit Trailblazer (only
  762. if set in MNP reliable mode).  These cannot be altered in the OBM, but
  763. often a system which cannot call the UNIX PC OBM can be called by the
  764. UNIX PC OBM.
  765.  
  766.     Another problem is that the OBM has trouble establishing a
  767. UUCP connection when calling Telebits configured in locked-speed mode.
  768. Chris Lewis (clewis@ferret.ocunix.on.ca) has written a program called
  769. phfix which can be invoked from /etc/rc to correct this particular
  770. problem using the (undocumented?) PIOCOVSPD setting on the OBM.  The
  771. result is that the OBM can successfully connect with locked-speed
  772. Telebits, and they can connect back.  The program is not on OSU or in
  773. any comp.sources.3b1 archives, so it is presented here:
  774.  
  775. /*    Sample program for bashing the OBM into tone dial and
  776.     setting PIOCOVSPD to permit talking to certain modems
  777.     (particularly telebits).
  778.     The documentation mentions 2.3% speed change for PIOCOVSPD.
  779.     That's all I know.
  780.  
  781.     You are free to do whatever you wish with this code, but
  782.     please leave this comment in.
  783.  
  784.     Chris Lewis, clewis@ecicrl.uucp, Jan 2 1991.
  785.  */
  786. #include <stdio.h>
  787. #include <fcntl.h>
  788. #include <sys/phone.h>
  789.  
  790. main(argc, argv)
  791. int argc; char **argv; {
  792.     int f;
  793.     struct updata upd;
  794.     f = open("/dev/ph1", O_RDWR | O_NDELAY, 0);
  795.     if (f < 0) {
  796.     perror("/dev/ph1");
  797.     exit(1);
  798.     }
  799.     ioctl(f, PIOCGETP, &upd);    /* retrieve Phone parameters */
  800.  
  801. #ifdef    NEVER
  802.     /* if you want to play with these go ahead - for some reason my
  803.        3b1 always comes up in PULSE */
  804.     upd.c_lineparam &= ~PULSE;    /* reverse the sense to set to pulse dial */
  805.     upd.c_lineparam |= DTMF;    /* reverse the sense to set to pulse dial */
  806.  
  807.     upd.c_feedback |= SPEAKERON;
  808.     upd.c_feedback |= LOUDSPK;
  809.     ioctl(f, PIOCDISC, &upd);    /* apply PIOCOVSPD for talking to some modems*/
  810. #endif
  811.  
  812.     ioctl(f, PIOCOVSPD, &upd);    /* apply PIOCOVSPD for talking to some modems,
  813.                    eg: Telebits */
  814.     ioctl(f, PIOCSETP, &upd);    /* set phone parameters */
  815. }
  816.  
  817. ------------------------------
  818.  
  819. Subject: 4.11. How do I get my on-board modem to be a dial-out-only
  820.          modem?
  821.  
  822.     The easiest way to do this is to edit (with your favorite
  823. editor) the /etc/inittab file.  Change the line:
  824.  
  825.          ph0:2:respawn:/etc/getty ph0 1200
  826.     to:
  827.          ph0:2:off:/etc/getty ph0 1200
  828.         ^
  829.     NOTE: There is a space character in front of the first "ph0"
  830. in the lines above.  ph0 may be ph1 if you are using line 2 for the
  831. on-board modem.
  832.  
  833. ------------------------------
  834.  
  835. Subject: 4.12. Does the on-board modem support 2400 bps?
  836.  
  837.     In what Convergent considered future releases of the UNIX PC
  838. (P6), there was to be a 2400 bps modem.  This machine was never fully
  839. developed to production levels, and therefore there is no 2400 bps
  840. modem.  As the existing OBM is a proprietary AT&T chip, the likelihood
  841. of there being a drop-in upgrade is remote at best.
  842.  
  843.     Interesting trivia: The P6 machine was to have a color video,
  844. 60MB QIC tape, as well as a 68020 CPU paired with a 68881 FPU.
  845.  
  846. ------------------------------
  847.  
  848. Subject: 4.13. Why aren't the lpadmin, accept, and reject commands
  849.          working right?
  850.  
  851.     The lpadmin(1M), accept(1M), and reject(1M) commands require
  852. the user to be logged in as (or su'd to) user "lp".  Being root will
  853. not work.
  854.  
  855.         # su lp
  856.         $ disable lp1
  857.         $ /usr/lib/lpadmin -plp1 -mdumb -v/dev/lp
  858.         $ enable lp1
  859.  
  860. ------------------------------
  861.  
  862. Subject: 4.14. Why are all the jobs on the printer always followed by 
  863.          a formfeed?
  864.  
  865.     The line printer driver follows each close(2) of /dev/lp with
  866. a formfeed.  There is no way to disable this, except by avoiding the
  867. driver altogether and going straight to the raw printer device.
  868.  
  869.         # su lp
  870.         $ /usr/lib/lpadmin -plp1 -mdumb -v/dev/rawlp
  871.  
  872. ------------------------------
  873.  
  874. Subject: 4.15. Why can't I send bitmapped images to the printer correctly?
  875.  
  876.     8-bit, bitmapped images need to go to the raw printer device,
  877. /dev/rawlp.
  878.  
  879. ------------------------------
  880.  
  881. Subject: 4.16. How do I configure a Hayes compatible external modem
  882.          on the UNIX PC?
  883.  
  884.     Thanks to Jim Adams, included in the OSU Archives is an
  885. informational posting (posted to unix-pc.uucp and comp.sys.att) on how
  886. to set up your external modem under HDB uucp.  The file is named
  887. HDB_Modem.Z.
  888.  
  889.     The file uses the "hayes" modem as the example, although
  890. information could probably be extracted for uses with other modems.
  891. If you want information on how to set up your Telebit Trailblazer
  892. modem, get the file tb-setup.sh.Z on OSU.
  893.  
  894.     This posting was too large to include in its entirety here, so
  895. a completely separate posting was made.  He goes into how to set up
  896. the modem, proper cabling, proper Devices and Dialers entries, and a
  897. discussion on HFC (hardware flow control).
  898.  
  899.     Additionally, the "modemon" package by Boyd Ostroff provides a
  900. simple way to configure external modems.  It consists of a small
  901. program executed via inittab which can reset your modem and execute
  902. any desired AT commands each time a getty is spawned on the serial
  903. port.  This allows you to configure the modem differently for incoming
  904. and outgoing calls and is especially handy if your modem doesn't have
  905. nonvolatile parameter RAM.  The package includes complete
  906. documentation and examples of how to set up an external modem.  It was
  907. posted to comp.sources.3b1 and is available in the archives.
  908.  
  909. ------------------------------
  910.  
  911. Subject: 4.17. Any tips on building Cnews?
  912.  
  913.     A sample build.def from Jan Isley (jan@bagend.uucp) follows
  914. with the following interesting characteristics noted:
  915.     - news account is uid=20, gid=20
  916.     - bin owns the executables
  917.     - using Doug Gwyn's dirent library (available on OSU)
  918.     - using a mailer that understands @ addressing (like smail 2.5)
  919.     - UNIX PC kernel does not support setuid(geteuid())
  920.     - other site-specific stuff (machine name and organization)
  921.  
  922. newsuid="news"
  923. newsgid="news"
  924. binuid="bin"
  925. bingid="bin"
  926. binsrc="no"
  927. mess="no"
  928. unmess="no"
  929. newsarts="/usr/spool/news"
  930. newsctl="/usr/lib/news"
  931. newsbin="/usr/lib/newsbin"
  932. newsumask="002"
  933. newsmaster="usenet"
  934. newsconfig="/usr/lib/news/bin/config"
  935. chown="/bin/chown"
  936. chboth="yes"
  937. chgrp="/bin/chgrp"
  938. unixkind="usg"
  939. addrsize="big"
  940. dbmopt=""
  941. faststdio="no"
  942. storeval="yes"
  943. faststrchr="yes"
  944. sete="no"
  945. ranlib="no"
  946. symdef="yes"
  947. cc="ccc"
  948. copts="-O"
  949. ldopts="-s"
  950. postlibs="-ldirent"
  951. hostname="no"
  952. uname="yes"
  953. uucptype="hdb"
  954. dftype="ustat"
  955. dfdirs="no"
  956. archive="yes"
  957. spacelow="yes"
  958. nfsgroup="no"
  959. server="newsie"
  960. manpages="/usr/man"
  961. manmess="no"
  962. rbin="/usr/bin"
  963. doui="no"
  964. bin="/usr/bin"
  965. atok="yes"
  966. postdefltdist=""
  967. paranoid="no"
  968. whoami="bagend"
  969. mailname="bagend.uucp"
  970. organization="1 Bagshot Row, the Shire"
  971. postdefltgroup=""
  972. newspath="/bin:/usr/bin:/usr/local/bin"
  973. fake=" fsync.o mkdir.o symlink.o strerror.o"
  974. fakehdrs=" ../include/string.h ../include/sys/timeb.h"
  975. immediate="no"
  976. inputstall="yes"
  977. defsub=""
  978. mustsub=""
  979.  
  980. ------------------------------
  981.  
  982. Subject: 4.18. What are lipc and nipc, and how can I use nipc instead
  983.          of lipc?
  984.  
  985.     /etc/lddrv/lipc is the loadable device driver that implements
  986. System V inter-process communications on the UNIX PC (semget(), etc.).
  987. /etc/lddrv/nipc is a newer implementation of this driver which fixes
  988. an IPC bug, but was never fully tested.  The default driver loaded by
  989. /etc/lddrv/drivers is lipc, and in fact, this is the driver which the
  990. program ipcs looks for when it reports on IPC usage.  No bugs with nipc
  991. have been uncovered since it was made available (87?), and many people
  992. would rather run the "better" driver than stick with the old lipc.
  993.  
  994.     There are two approaches for replacing lipc with nipc.  The
  995. most obvious way is to edit /etc/lddrv/drivers to replace lipc with
  996. nipc for when the system is next booted, then replacing the in-core
  997. lipc with nipc with the following sequence:
  998.  
  999.         # cd /etc/lddrv
  1000.         # ./lddrv -dv lipc
  1001.         # ./lddrv -av nipc
  1002.  
  1003.     Unfortunately, ipcs will not find the lipc driver, and so
  1004. won't give any IPC status.  This can be overcome by wielding a binary
  1005. editor in the general direction of /usr/bin/ipcs, replacing the
  1006. hard-coded instances of "lipc" with "nipc".
  1007.  
  1008.     Another method is to remove lipc from core (./lddrv -dv lipc),
  1009. rename its files to something benign (lipc -> lipc.old, lipc.o ->
  1010. lipc.o.old, ifile.lipc -> ifile.lipc.old), rename the nipc files to be
  1011. lipc (nipc -> lipc, nipc.o -> lipc.o, ifile.nipc -> ifile.lipc), and
  1012. finally reload the new lipc (./lddrv -av lipc).
  1013.  
  1014. ------------------------------
  1015.  
  1016. Subject: 5.0. Upgrading
  1017.  
  1018. This secion contains info on upgrading your unix-pc.
  1019.  
  1020. ------------------------------
  1021.  
  1022. Subject: 5.1. What third-party hardware is available?
  1023.  
  1024.     Presently there are no known distributors that have a
  1025. selection of UNIX PC hardware.  The best source for hardware is the
  1026. network, reading comp.sys.3b1 and misc.forsale.  There is always
  1027. someone selling UNIX PCs and the appropriate hardware expansion.
  1028.  
  1029. ------------------------------
  1030.  
  1031. Subject: 5.2. Can I put a 68881 math coprocessor in my machine?
  1032.  
  1033.     AT&T had listed a 68881 feature as being available for the
  1034. UNIX PC, but it was never fully developed.
  1035.  
  1036. -- 
  1037. John B Bunch              AT&T   I don't want the world, I just want your
  1038. 9404 N. Church, APT 206  UnixPC           half....     -TMBG
  1039. Parma Hgts., OH 44130    IBM PC          jbunch@nyx.net
  1040. (440) 887-9310           KB2SIV          jbunch@nyx10.nyx.net
  1041. -- 
  1042. John B Bunch              AT&T   I don't want the world, I just want your
  1043. 9404 N. Church, APT 206  UnixPC           half....     -TMBG
  1044. Parma Hgts., OH 44130    IBM PC          jbunch@nyx.net
  1045. (440) 887-9310           KB2SIV          jbunch@nyx10.nyx.net
  1046.