SunView-1 problems

Bob Weissman bob at omni.com
Thu Aug 3 06:58:31 AEST 1989


I'm having two problems with a SunView-1 application I'm developing under
SunOS 4.0.1.

1. When I start it iconic with -Wi, I get the following error message
on stderr:
	WIN ioctl number 20006703: Device busy
The icon appears, and all is fine;  I just want to get rid of this
message.  Can someone tell me what it means?  I'm processing arguments
with the call
	window_set(frame, FRAME_ARGC_PTR_ARGV, pargc, argv, 0);
if that makes any difference.


2.  I'm attempting to make my application portable between 680x0, Sparc,
and i386 machines.  I find no problem porting between Sun3's and 4's,
but seem to have a problem on the 386i.  When I pop up an Alert window
with a single button (which is supposed to contain the string "  OK  "),
the button which appears seems to have zero height.  The code is:
	alert_prompt(frame, (Event *) 0,
	  ALERT_MESSAGE_STRINGS,
	    "blah blah",
	    "etc. etc.",
	    0,
	  ALERT_NO_BEEPING,	TRUE,
	  ALERT_BUTTON_YES,	"  OK  ",
	0);
This code produces a correct button on Sun3's and 4's.  Any ideas?

Thanks very much,

Bob Weissman
Domainish: bob at omni.com
UUCPish:   ...!{amdahl,apple,pyramid,sgi,tekbspa,uunet}!koosh!bob



More information about the Comp.sys.sun mailing list