home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2901 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.9 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!uakari.primate.wisc.edu!ames!olivea!sgigate!odin!sgi.com!scotth
  2. From: scotth@hoshi.corp.sgi.com (Scott Henry)
  3. Newsgroups: comp.emacs
  4. Subject: Re: Emacs on the SGI Indigo
  5. Message-ID: <SCOTTH.92Aug19204816@hoshi.corp.sgi.com>
  6. Date: 20 Aug 92 01:48:16 GMT
  7. References: <MAT.92Aug12205357@ibmps.unh.edu> <SIMON.92Aug13111112@liasg1.epfl.ch>
  8.     <morten.714127217@oase>
  9. Sender: news@odin.corp.sgi.com (Net News)
  10. Organization: Silicon Graphics Inc, Mountain View, CA
  11. Lines: 54
  12. In-Reply-To: morten@oase.kemi.aau.dk's message of 18 Aug 92 08: 40:17 GMT
  13. Nntp-Posting-Host: hoshi.corp.sgi.com
  14.  
  15.  
  16. >>>>> In article <morten.714127217@oase>, morten@oase.kemi.aau.dk (Morten Kjeldgaard) writes:
  17.  
  18. morten> In <SIMON.92Aug13111112@liasg1.epfl.ch> simon@lia.di.epfl.ch (Simon Leinen) writes:
  19.  
  20. >Sure, GNU Emacs 18.58 contains support for IRIX 4.0 and compiles out
  21. >of the box (as they say).  Use the "s-irix4-0.h" and "m-iris4d.h"
  22. >files in src/config.h.  The only problem is that stripping the binary
  23. >causes it to core dump - I include (without permission) a patch for
  24. >this from a friendly person at SGI.
  25.  
  26. This "friendly person at SGI" (me, I guess) has also made a compressed
  27. tar file of the pre-compiled binaries available for anonymous FTP from
  28. sgigate.sgi.com in the directory ~ftp/net-services/gnu-emacs. Note
  29. that normal disclaimers of support apply...
  30.  
  31. morten> I too, have successfully installed GNU emacs on the Indigo; I
  32. morten> haven't encountered the above problem, because I never
  33. morten> stripped the binary. I have another problem, however, that I
  34. morten> think there is a simple solution to which I haven't found:
  35. morten> When starting emacs from the console, there is no problem, the
  36. morten> X server pops up a window. When starting from a remote
  37. morten> terminal, however, one has to remember the -nw switch. This
  38. morten> everybody *ALWAYS* forgets. On an ESV system we have, emacs
  39. morten> figures out for itself to do the appropriate thing. How does
  40. morten> one set this up??
  41.  
  42. If the environment variable DISPLAY is defined, emacs will attempt to
  43. start up an X window. I have code in my ~/.cshrc to detect that I am
  44. coming in from a non-network connection, and `unsetenv DISPLAY`. Goes
  45. something like this:
  46.  
  47.         switch (`tty`)
  48.             case ttyf*)
  49.                 # this is for locally attached modems
  50.                 set dialup
  51.                 breaksw
  52.             default)
  53.                 breaksw
  54.         endsw
  55.         if ( $REMOTEHOST =~ *dialback* ) set dialup
  56.         if ( $REMOTEHOST =~ *dialupserver* ) set dialup
  57.         if ( $?dialup ) then
  58.             unsetenv DISPLAY
  59.             # other stuff only done in non-window mode
  60.         else
  61.             # stuff done only in window mode
  62.         endif
  63.  
  64. =-=-=
  65. --
  66.  Scott Henry <scotth@sgi.com> / Traveller on Dragon Wings
  67.  Networking Services,        / Help! My disclaimer is missing!
  68.  Silicon Graphics, Inc      / GIGO *really* means: Garbage in, Gospel Out
  69.