home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / sysadmin / 7235 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  3.7 KB

  1. Xref: sparky comp.sys.next.sysadmin:7235 comp.sys.next.software:3209
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!tghost!unkaphaed!biff!biff
  3. From: biff@biff.gbdata.com (Dwight Everhart)
  4. Newsgroups: comp.sys.next.sysadmin,comp.sys.next.software
  5. Subject: Re: Emacs 3.0 and stand-alone systems
  6. Message-ID: <BzzA5L.HGv@biff.gbdata.com>
  7. Date: Mon, 28 Dec 1992 16:36:56 GMT
  8. References: <BzxvFG.GLs@math.uwaterloo.ca>
  9. Sender: biff@biff.gbdata.com (Dwight Everhart)
  10. Lines: 74
  11.  
  12. In article <BzxvFG.GLs@math.uwaterloo.ca> gjditchf@plg.uwaterloo.ca (Glen  
  13. Ditchfield) writes:
  14.  
  15. > I am using Emacs 3.0, the emacs front end, on a stand-alone NeXTstation
  16. > named "angus" running NeXTSTEP 3.0.
  17. >    When I started Emacs the first time, it produced the message ``Unknown
  18. > host "angus"''.  That seems to come from the call to open-network-stream in
  19. > the lisp code.  I patched that problem by changing the open-network-stream
  20. > call to use the host name "localhost".  Now Emacs produces the message
  21. > ``The event handler has exited abnormally with code 256^J'' (sic) when it
  22. > starts up.  But Emacs does handle mouse and character events properly as
  23. > far as I can see.
  24. >    Is there some graceful fix for either of these problems?
  25.  
  26. Someone else was having this problem, and I posted a solution to it last week  
  27. in comp.sys.next.misc, but the distribution of that article was limited to  
  28. the USA, so you didn't get it.  This article has a distribution of "world."   
  29. Perhaps it should be in the FAQ.
  30.  
  31. ----------------------------------------------------------------------
  32.  
  33. In article <009652A7.0C3D0EF4@VIOLET.CCIT.ARIZONA.EDU>  
  34. citdem@VIOLET.CCIT.ARIZONA.EDU writes:
  35. >Emacs3.0 (and prior versions) always displays a "unknown host "(my
  36. >host name)"" message in the minibuffer when I start it.  The mouse
  37. >cannot be used to control the cursor.  The menu FILE and EDIT options
  38. >do nothing.  All other .apps work just fine.  So what's wrong here?
  39.  
  40. I had the same problem when I first installed Emacs 2.0.  (I'm running
  41. Emacs 2.1 now -- I'm waiting to upgrade to NextStep 3.1 rather than
  42. 3.0).  My memory is a bit hazy, but the problem had to do with Emacs
  43. trying to get my IP address through my hostname.  Since I'm not on any
  44. networks, I just added an entry to the hosts directory in netinfo
  45. giving my hostname the IP address of localhost.  I left localhost in
  46. there since some programs expect it to be there.  The resulting file
  47. looks like this:
  48.  
  49.         $ nidump hosts .
  50.         127.0.0.1       biff
  51.         127.0.0.1       localhost
  52.         255.255.255.255         broadcasthost
  53.  
  54. (Biff is my hostname.)  But since you're on a network, I think you
  55. would have to put your real IP address in there, instead of 127.0.0.1.
  56. But I assume you had to do that to get SLIP to work.
  57.  
  58. I hope this helped at least a bit.  I don't think your problem is with
  59. SLIP itself.  Good luck.
  60.  
  61.  
  62. The poster used HostManager to add his system as a host, and now Emacs works  
  63. fine.
  64.  
  65. ----------------------------------------------------------------------
  66.  
  67. There was a followup from Erik Sowa (sowa@amdew.llnl.gov):
  68.  
  69. ----------------------------------------------------------------------
  70.  
  71. >>>>> "Dwight" == Dwight Everhart <biff@biff.gbdata.com> writes:
  72.  
  73. Dwight> The poster used HostManager to add his system as a host, and now
  74. Dwight> Emacs works fine.
  75.  
  76. This works, but it might be cleaner to add an alias to the already
  77. existing host (which also works).
  78.  
  79. ----------------------------------------------------------------------
  80.  
  81. --
  82. Dwight Everhart          "It has been truly said that hackers have
  83. Houston, Texas            even more words for equipment failures
  84. biff@biff.gbdata.com      than Yiddish has for obnoxious people."
  85. NeXTMail and MIME OK      -- The Jargon File
  86.