Article View: comp.sys.sun
Article #10329Re: REFRESHING SUNTOOLS
From: Chuck Musciano
Date: Tue, 17 Jan 1989 20:22
Date: Tue, 17 Jan 1989 20:22
25 lines
1216 bytes
1216 bytes
> Is there any way of calling REFRESH other than using the Suntools
> RootMenu. I mean from a Shell program, etc.
Piece of cake:
main()
{ int fd;
fd = open("/dev/win0");
wmgr_refreshwindow(fd);
}
Note: details removed for clarity. Include the appropriate include files.
Use "getenv("WINDOW_PARENT")" to get the true base window name instead of
hard wiring "/dev/win0".
[[ This is, in fact, the way it's done in suntools.c (check in
/usr/src/sun/suntool/suntools.c). --wnl ]]
Chuck Musciano
Advanced Technology Department
Harris Corporation
(407) 727-6131
ARPA: chuck@trantor.harris-atd.com
Technical Details
Message-ID:
<8901121341.AA19703@trantor.harris-atd.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!agate!ucbvax!decwrl!labrea!rutgers!mailrus!cornell!uw-beaver!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!agate!ucbvax!decwrl!labrea!rutgers!mailrus!cornell!uw-beaver!rice!sun-spots-request From: chuck@trantor.harris-atd.com (Chuck Musciano) Newsgroups: comp.sys.sun Subject: Re: REFRESHING SUNTOOLS Message-ID: <8901121341.AA19703@trantor.harris-atd.com> Date: 17 Jan 89 20:22:59 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 25 Approved: Sun-Spots@rice.edu Original-Date: Thu, 12 Jan 89 08:38:36 EST X-Sun-Spots-Digest: Volume 7, Issue 107, message 6 of 17