home *** CD-ROM | disk | FTP | other *** search
/ norge.freeshell.org (192.94.73.8) / 192.94.73.8.tar / 192.94.73.8 / pub / computers / 3b1 / 3b1-faq.1 next >
Text File  |  2003-12-10  |  39KB  |  1,029 lines

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