home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.next.sysadmin:7235 comp.sys.next.software:3209
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!tghost!unkaphaed!biff!biff
- From: biff@biff.gbdata.com (Dwight Everhart)
- Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software
- Subject: Re: Emacs 3.0 and stand-alone systems
- Message-ID: <BzzA5L.HGv@biff.gbdata.com>
- Date: Mon, 28 Dec 1992 16:36:56 GMT
- References: <BzxvFG.GLs@math.uwaterloo.ca>
- Sender: biff@biff.gbdata.com (Dwight Everhart)
- Lines: 74
-
- In article <BzxvFG.GLs@math.uwaterloo.ca> gjditchf@plg.uwaterloo.ca (Glen
- Ditchfield) writes:
-
- > I am using Emacs 3.0, the emacs front end, on a stand-alone NeXTstation
- > named "angus" running NeXTSTEP 3.0.
- > When I started Emacs the first time, it produced the message ``Unknown
- > host "angus"''. That seems to come from the call to open-network-stream in
- > the lisp code. I patched that problem by changing the open-network-stream
- > call to use the host name "localhost". Now Emacs produces the message
- > ``The event handler has exited abnormally with code 256^J'' (sic) when it
- > starts up. But Emacs does handle mouse and character events properly as
- > far as I can see.
- > Is there some graceful fix for either of these problems?
-
- Someone else was having this problem, and I posted a solution to it last week
- in comp.sys.next.misc, but the distribution of that article was limited to
- the USA, so you didn't get it. This article has a distribution of "world."
- Perhaps it should be in the FAQ.
-
- ----------------------------------------------------------------------
-
- In article <009652A7.0C3D0EF4@VIOLET.CCIT.ARIZONA.EDU>
- citdem@VIOLET.CCIT.ARIZONA.EDU writes:
- >Emacs3.0 (and prior versions) always displays a "unknown host "(my
- >host name)"" message in the minibuffer when I start it. The mouse
- >cannot be used to control the cursor. The menu FILE and EDIT options
- >do nothing. All other .apps work just fine. So what's wrong here?
-
- I had the same problem when I first installed Emacs 2.0. (I'm running
- Emacs 2.1 now -- I'm waiting to upgrade to NextStep 3.1 rather than
- 3.0). My memory is a bit hazy, but the problem had to do with Emacs
- trying to get my IP address through my hostname. Since I'm not on any
- networks, I just added an entry to the hosts directory in netinfo
- giving my hostname the IP address of localhost. I left localhost in
- there since some programs expect it to be there. The resulting file
- looks like this:
-
- $ nidump hosts .
- 127.0.0.1 biff
- 127.0.0.1 localhost
- 255.255.255.255 broadcasthost
-
- (Biff is my hostname.) But since you're on a network, I think you
- would have to put your real IP address in there, instead of 127.0.0.1.
- But I assume you had to do that to get SLIP to work.
-
- I hope this helped at least a bit. I don't think your problem is with
- SLIP itself. Good luck.
-
-
- The poster used HostManager to add his system as a host, and now Emacs works
- fine.
-
- ----------------------------------------------------------------------
-
- There was a followup from Erik Sowa (sowa@amdew.llnl.gov):
-
- ----------------------------------------------------------------------
-
- >>>>> "Dwight" == Dwight Everhart <biff@biff.gbdata.com> writes:
-
- Dwight> The poster used HostManager to add his system as a host, and now
- Dwight> Emacs works fine.
-
- This works, but it might be cleaner to add an alias to the already
- existing host (which also works).
-
- ----------------------------------------------------------------------
-
- --
- Dwight Everhart "It has been truly said that hackers have
- Houston, Texas even more words for equipment failures
- biff@biff.gbdata.com than Yiddish has for obnoxious people."
- NeXTMail and MIME OK -- The Jargon File
-