From: mcsun!sun4nl!tuegate.tue.nl!eba!ebh!wjw@uunet.uu.net (Willem Jan Withagen)
Newsgroups: fj.mail-lists.apollo
Subject: comp.sys.apollo FAQ [October, Part 2 of 2]
Date: 8 Oct 92 10:44:37 GMT
Distribution: fj
Organization: Eindhoven University of Technology, The Netherlands

[Part 2 of 2]

 19)  Where can I get emacs?

Answer:

A new version of my modifications to GNU Emacs for the Apollo is now available.
This version supports GNU Emacs 18.57, Domain/OS SR10.2 and SR10.3, and the
latest release of the Domain C Compiler...

I am distributing this release from labrea.stanford.edu (36.8.0.47).  The
following files are available for anonymous ftp from the "pub/gnu" directory:

	APOLLO.README		    README for Apollo GNU Emacs
	apollo-emacs.tar.Z	    Apollo GNU Emacs modifications

As always, to install my Apollo GNU Emacs modifications, uncompress and untar
"apollo-emacs.tar.Z" on top of a unmodified GNU Emacs 18.57 distribution tree,
and consult "APOLLO.README" for building instructions.

Note: There is a bug in SR10.2 tar such that overwritten files are not
necessarily truncated to the proper size.  Before you untar the file under
SR10.2, execute the following commands:

rm README etc/APOLLO etc/MACHINES info/dir lisp/cl-indent.el* lisp/info.el*
rm lisp/lisp-mode.el* lisp/paths.el* lisp/rmail.el* lisp/rnews.el*
rm lisp/server.el* lisp/shell.el* lisp/startup.el* src/Makefile src/crt0.c
rm src/dired.c src/dispnew.c src/emacs.c src/fileio.c src/fns.c src/keyboard.c
rm src/m-apollo.h src/process.c src/sysdep.c src/x11fns.c src/x11term.c
rm src/xdisp.c src/ymakefile

                Leonard N. Zubkoff
		Lucid, Incorporated


Also, if you want a multi-window X version of emacs, check out epoch,
available from cs.uiuc.edu.  - Jim Rees


===============

 20)  Do you have a problem with Gnu Emacs' C-x` command?

Gnu Emacs 18.55 (with Leonard N. Zubkoff's patches for sr 10.2) seems to
have a problem with shell subprocesses.  At times the 0x0 character
(displayed as ^@ by emacs) appears in buffers running a shell.  While this is
only a nuisance running an inferior shell, it is a problem when running the
M-x compile command: The C-x ` (next-error) function is unable to process
the compiler output. Has anybody found out what causes this problem and how
to fix it? Any hints will be appreciated!

 -- mike@vlsivie.tuwien.ac.at (Michael K. Gschwind)

Answer:

This should probably go in some kind of FAQ list (sigh)...  Emacs talks to
its subsprocesses using pseudo ttys (ptys among friends).  On Apollos, ptys
occasionally get corrupted, and the problem you describe results.
Rebuilding the ptys helps, but it can have funny side effects to any users
logged in on those ptys.  We rebuild ours once per week.  That seems to
avoid the problem most of the time, but of course your mileage may vary.
Here is the relevant line from our /usr/lib/crontab (running the shell
script at 04:00 every Sunday morning):

0          4 * * 7 root /usr/local/lib/fix_ptys

and here is /usr/local/lib/fix_ptys:

#!/bin/csh -f
/bin/rm -f /dev/[pt]ty[pq][0-9a-f]
/etc/crpty 32

 -- 


===============

 21)  Does anybody know where I can get proxy ARP?

Answer:  Proxy ARP is a bad idea.  Apollo has wisely decided not to
    support it.  Use subnets instead.


===============

 22)  Are there third-party vendors of ethernet boards?

Answer:

The ethernet board used in the Otter (dn3000 series) is a 3Com 505.  You can
buy your own and perhaps save some money.  If you buy the board from Apollo,
it comes with a special PROM, which you won't have if you buy direct from
3Com.  That means you won't be able to boot diskless over the ethernet, or
make remote dumps over the ether.  But you'll still be able to boot from
disk, or over the ring if you have one.  And once the node is booted,
everything else will work fine.

The 505 is more expensive than some boards, because it has quite a bit of
on-board smarts and buffering.  No other ethernet board will work in the
Otter, unless you want to write your own driver, and even then you will lose
the ability to run domain protocols and TCP over the ether, which makes it
pretty useless.

Switch settings for the 505 are given in the file ether-switches.

 -- Jim Rees

And as followup:
In article <1992Jun30.140020.994@quintro.uucp>, bep@quintro.uucp (Bryan Province) writes:

  I bought a 3C505 board from 3Com instead of Apollo because I'm not
  interested in doing diskless booting over the ethernet.  I know it's missing
  a prom for doing that.  I've set the jumpers as described in the
  /systest/ssr_util/jumpers program with no luck.

Correct settings are port 300, mem addr 80000, dma 6, intr 10, test mode
off, rom select off.  If Domain/OS (and DEX) can't find the board at all,
you've probably got the port wrong.  You should have jumpers 8 and 9 in,
where "in" is away from the back panel bnc and aui connectors.

A second board would go at port 310, mem addr 84000, dma 3, intr 9.

 -- Jim Rees

orrect, however all the original poster said was that self tests
couldn't find the board.  I'm assuming that he's referring to the self
tests that run when powering up in normal mode (or when the
appropriate prom command is it "te" ?) is entered.  If this is the
ONLY time the board can't be found, it's because of the lack of the
boot prom (self test code is stored in there).  Run "ex config" and
remove it's knowledge of the ethernet board so it won't try to test
it.  The OS should find it ok (and nothing was said in the original
mail about whether the OS could or could not find it, I assume that it
could (it should!) ).

I tried emailing the original poster but couldn't for some reason...

 carl@Cayman.COM (Carl Heinzl)


===============

 23)  How do I enable IP name service?

Answer:

Uncomment the 'nmconfig' lines in /etc/rc.local.  Create the empty file
/etc/daemons/nmconfig.  Create the file /etc/resolv.conf.  It should look
like this:

domain  domain-name
nameserver      server1
nameserver      server2
nameserver	server3

where domain-name is your domain name, and server1..n are the numeric IP
addresses of your name servers.  You can have as many as you want, it tries
them in the order listed.  Here's a sample file for pisa.citi.umich.edu (IP
addresses are fictional):

domain  ifs.umich.edu
nameserver      10.3.27.4
nameserver      10.1.27.4
nameserver	10.1.33.2

 -- Jim Rees


===============

 24)  Why can't I log in as root anywhere except a DM pad?

Answer:

All you need is to configure /etc/ttys to allow root login via psudo-ttys
(if you really want to):

pty0	none	dumb	on	secure
pty1	none	dumb	on	secure
Newsgroups: fj.mail-lists.apollo