[comp.windows.x] NeXT as an X client?

alex@sapphire.idbsu.edu (Alex Feldman) (01/13/91)

Greetings.  We would like to use one of the new NeXT machines (68040)
as a {\sl Mathematica} server, where students could login and run
said program from remote terminals.  In particular, we would like 
to have them able to log in from X-terminals, and use the graphics
capabilities.  The people at NeXT do not think we can do this, we 
can just log in from ascii terminals... yet I am told that there is
a complete X11R3 for the NeXT, which would seem to indicate that we 
could do that.

Am I asking for the impossible?  All I need is for the NeXT to be
able to recognize a remote display.  Has anyone tried this?

Thanks.  Followups to comp.windows.x, or mail to me and I will post
a summary.

-- 
	--alex			alex@opal.idbsu.edu

Boise State University doesn't have any opinions.  Therefore, these are 
not the opinions of Boise State University.

lacsap@media-lab.MEDIA.MIT.EDU (Pascal Chesnais) (01/14/91)

In article <1991Jan12.221524.13461@sapphire.idbsu.edu>, alex@sapphire.idbsu.edu (Alex Feldman) writes:
> Greetings.  We would like to use one of the new NeXT machines (68040)
> as a {\sl Mathematica} server, where students could login and run
> said program from remote terminals.  In particular, we would like 
> to have them able to log in from X-terminals, and use the graphics
> capabilities.  The people at NeXT do not think we can do this, we 
> can just log in from ascii terminals... yet I am told that there is
> a complete X11R3 for the NeXT, which would seem to indicate that we 
> could do that.
> 
I will answer this one in a different way, since I do not know much about
mathematica.  You can compile the X libraries R3 or R4 on the NeXT with a
little work.  Once you have your library, you can compile your x-client
(like gnu-emacs) using the Xlibraries, so that when you run the program
with DISPLAY set up to be the connecting machine, the window should appear
on the display of the connected machine.  Now if you want to run a x client
from anywhere and want it to appear on your NeXT, you are out of luck.  If
you want your NeXT window to appear on an X server you are also out of luck.

Now for the mathematica part, doesn't it just run as a server?  If so
you would still need a front end that would be able to talk to it and
do the right things with X...

Someone who understands Mathematica really should field that question.

pasc

-- 
Pascal Chesnais, Research Specialist, Electronic Publishing Group
Media Laboratory, E15-348, 20 Ames Street, Cambridge, Ma, 02139 (617) 253-0311
email: lacsap@plethora.media.mit.edu (NeXT)

mouse@larry.mcrcim.mcgill.EDU (01/21/91)

> We would like to use one of the new NeXT machines (68040) as a
> Mathematica server, where students could login and run said program
> from remote terminals.  In particular, we would like to have them
> able to log in from X-terminals, and use the graphics capabilities.
> The people at NeXT do not think we can do this, we can just log in
> from ascii terminals... yet I am told that there is a complete X11R3
> for the NeXT, which would seem to indicate that we could do that.

> Am I asking for the impossible?  All I need is for the NeXT to be
> able to recognize a remote display.

The NeXT can run X clients very nicely.  There is no problem with that;
ports of R3 and R4 exist.

However, the NeXT native applications do not use X and are incapable of
displaying on an X-only machine like an X terminal.

The NeXT can display NeXT native applications remotely, provided the
remote machine knows how to speak NextStep.  I think.  But in any case,
I don't know the details.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu

rthomson@mesa.dsd.es.com (Rich Thomson) (01/23/91)

In article <9101210602.AA10296@Larry.McRCIM.McGill.EDU>
	mouse@larry.mcrcim.mcgill.EDU writes:
>> We would like to use one of the new NeXT machines (68040) as a
>> Mathematica server, where students could login and run said program
>> from remote terminals.  In particular, we would like to have them
>> able to log in from X-terminals, and use the graphics capabilities.
>
>The NeXT can run X clients very nicely.  There is no problem with that;
>ports of R3 and R4 exist.
>
>However, the NeXT native applications do not use X and are incapable of
>displaying on an X-only machine like an X terminal.

Note that if you can run an xterm, then you can get mathematica's
graphics capabilities through the 4014 emulator built into xterm (I
first wondered why it was there until I needed to use 'plot' and
mathematica!  Thanks to whoever wrote this code...).

From mathematica you will want to load the "Tek.m" file which
initializes graphics for tektronix 4014 terminals; then you can just
use the xterm menu (via Ctrl-{left,middle,right} buttons) to switch to
tek mode when you do a plot.  Mathematica will clear the screen before
it does a plot, too.

						-- Rich
-- 
  ``Read my MIPS -- no new VAXes!!'' -- George Bush after sniffing freon
	    Disclaimer: I speak for myself, except as noted.
UUCP: ...!uunet!dsd.es.com!rthomson		Rich Thomson
ARPA: rthomson@dsd.es.com			PEXt Programmer