[comp.lang.postscript] HELP! SunView - NeWS simultaneously.

carlos@jplpro.JPL.NASA.GOV (Carlos Carrion) (03/17/88)

	How do I fire up a NeWS window from a SunView application??
Please don't reply with: overview -w NeWSapplication.

	I don't want the NeWS server to take up the whole screen.
I've tried the documentation, but I haven't come across anything that
might help me.

Thanks.

Carlos.


=========================================================================
Carlos Carrion, MS 301-250D, Jet Propulsion Laboratory, Pasadena CA 91109
.. cit-vax!elroy!jpl-devvax!jplpro!carlos
=========================================================================

simon@macondo.SW.MCC.COM (Simon John Gibbs) (03/17/88)

In article <1596@devvax.JPL.NASA.GOV>, carlos@jplpro.JPL.NASA.GOV (Carlos Carrion) writes:
> 
> 	How do I fire up a NeWS window from a SunView application??
> 

Before starting up the NeWS server you could do something like
	setenv FRAMEBUFFER "/dev/fb 0 0 500 500"
This will make NeWS use only the top-left 500x500 region of the screen.

Simon Gibbs
    uucp: ut-sally!im4u!milano!simon
Internet: simon@mcc.COM

ikarus%babylon@Sun.COM (Stefan Fielding-Isaacs) (03/18/88)

In article <1596@devvax.JPL.NASA.GOV>, carlos@jplpro.JPL.NASA.GOV (Carlos Carrion) writes:
> 
> 	How do I fire up a NeWS window from a SunView application??

 Well, make sure that you have /usr/NeWS in your path and use:

	babylon%  news_server020 

 or 

	babylon%  news_server010

 to start up either the 68020 or 010 version of NeWS.   
 
> 
> 	I don't want the NeWS server to take up the whole screen.
> 

 If you have a monochrome monitor, make sure that the device:

	/dev/bwtwo0

 exists among your devices (use MAKEDEV to create a new device if
 it isn't already there). The corresponding device for color is:

	/dev/cgtwo0

 Set the FRAMEBUFFER environment variable to tell the NeWS server how
 much of the framebuffer it can use. Here's my FRAMEBUFFER variable:

	setenv FRAMEBUFFER "/dev/bwtwo0 562 0 590 405"

 it sets up a NeWS buffer in the upper right corner of your monitor.

 Note, that with the <adjacentscreens> command, you can set NeWS and
 SunView up to run on adjacent monitors (running in Zaphod mode...).

 Anyway, this should do it. Most of this is discussed in the 
 NEWS_SERVER(1) manual page.


 ciao. Stefan

--------------------  SUN MICROSYSTEMS, MTN VIEW  -------------------
                NeWS GROUP, SOFTWARE PRODUCTS DIVISION
ARPA:	ikarus@sun.com		Stefan Fielding-Isaacs
UUCP:	...!sun!ikarus		"..and his armour clattered darkly
SUN:	ikarus@babylon	             about him." - Homer
REAL WORLD: (415) 364-7166	OFFICE: (415) 691-2426