[comp.sys.sgi] Using the monitor as a frame buffer without news.

buchanan@cs.ubc.ca (John Buchanan) (07/13/90)

In the good old days ( <= 3000 series) one could use the sgi boxes as dumb
frame buffers.  With out getting into a discussion re. the merits of turning
a 'workstation' into a 'dumb' frame buffer, is it possible for some process
to draw on the screen while NeWS is not running?

Another way to ask this question would be.  Has any one any idea how pandora
gets access to the screen, and can it be done in full 24bit color.

=========================================================================
|					|===============================|
|	John Buchanan (juancho)		|	buchanan@cs.ubc.ca	|
|	Imager Manager			|===============================|
|	Imager				|	(604) 228-2218		|
|	Department of Computer Science	|===============================|
|	University of British Columbia	|	Standard disclaimer	|
|	Vancouver, BC, Canada		|	included in this	|
|					|	box, right here.	|
=========================================================================
	

jsivier@ux1.cso.uiuc.edu (Jonathon Sivier ) (07/13/90)

In article <8659@ubc-cs.UUCP> buchanan@cs.ubc.ca (John Buchanan) writes:
>
>In the good old days ( <= 3000 series) one could use the sgi boxes as dumb
>frame buffers.  With out getting into a discussion re. the merits of turning
>a 'workstation' into a 'dumb' frame buffer, is it possible for some process
>to draw on the screen while NeWS is not running?
>

    Along these same lines, is there any way to run a graphics program from a
remote terminal if no one is logged on to the console and thus has NeWS running?
On the older systems you could do gbegin() and then use the display whether you
were logged into the console or a remote terminal, and whether or not the
windowing system was running.  Now you get the error message "cannot assign
myself context 0" if NeWS is not running.  So someone (anyone) must be logged
into the console in order to run a graphical application.  This is regardless
of whether you use gbegin() or winopen();

    Is there a way to start NeWS from a remote terminal, with the output to
be displayed on the main console?  What program(s) get run when you login to
start NeWS?  Can these be run by hand from a remote terminal?  What system
script files are executed whene you log in?  Is the NeWS startup program called
from one of those?  Is any of this documented and if so where?

    Thanks for your assistance.

    Jonathan

-- 

Jonathan Sivier
jsivier@ux1.cso.uiuc.edu

archer@elysium.sgi.com (Archer Sully) (07/13/90)

In article <1990Jul13.145612.10104@ux1.cso.uiuc.edu> jsivier@ux1.cso.uiuc.edu (Jonathon Sivier ) writes:

>of whether you use gbegin() or winopen();

>    Is there a way to start NeWS from a remote terminal, with the output to
>be displayed on the main console?  What program(s) get run when you login to
>start NeWS?  Can these be run by hand from a remote terminal?  What system
>script files are executed whene you log in?  Is the NeWS startup program called
>from one of those?  Is any of this documented and if so where?

This is pretty easy, although I don't know if its documented.  All you
have to do is run /etc/gl/restartgl.  This is the program that login
runs to start up 4Sight when you login.  After running restartgl you
need to wait a few seconds for 4sight to initialize (and no, there is
no good way to determine exactly how long this is).  Then you can
run any graphics program you wish.  Of course, interaction will be
severly limited.

Archer Sully 	      |  Ask not what you can do for you country,
(archer@esd.sgi.com)  |  But what your country's been doing to you.
                      |                    -- The Avengers