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