HDTenEightyP/NetNews huggingface dataset:
Newsgroups: fj.windows.x
Subject: XViw & LightWeightProcess
From: yoneda@myo.inst.keio.ac.jp (Takeshi YONEDA)
Date: 8 Oct 92 16:56:23 GMT
Distribution: fj
Organization: Matsushita Lab., Dept. of Inst. Engineering, Keio Univ.,Yokohama, JAPAN

$@$?$@$$$^!"(JXView$@$N%W%m%0%i%`$G(JSUN$@$NDs6!$9$k(JLight Weight Process$@$rF0$+$=$&$H$7$F$$$^$9$,(J
$@$&$^$/:nF0$7$^$;$s!#(J

$@;n$7$?$N$O0J2<$N$h$&$J%W%m%0%i%`$G$9!#(J

$@$=$N#1(J
main(argc, argv)
int argc;
char *argv[];
{
.
.
	(void)pod_setmaxpri(MINPRIO);
	(void)lwp_setstkcache(1000, 2);

	xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, NULL);	

	base_frame = xv_create(NULL, FRAME,
			       XV_WIDTH,1200,
			       XV_HEIGHT,630,
			       XV_SHOW, TRUE,
			       FRAME_LABEL, "simple win",
			       NULL);

.
		notify_do_dispatch();
	while (1){
		lwp_yield(THREADNULL);
	}

}

$@$=$N#2(J
main(argc, argv)
int argc;
char *argv[];
{
.
.
	(void)pod_setmaxpri(MINPRIO);
	(void)lwp_setstkcache(1000,2);

	xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, NULL);	

	base_frame = xv_create(NULL, FRAME,
			       XV_WIDTH,1200,
			       XV_HEIGHT,630,
			       XV_SHOW, TRUE,
			       FRAME_LABEL, "simple win",
			       NULL);

.
	while(1){
		notify_dispatch();
		lwp_yield(THREADNULL);
	}

}
$@$$$:$l$N>l9g$b$"$k%\%?%s$r2!$9$H!"(J
	  lwp_create(&tid1,lwptest,MINPRIO,0, lwp_newstk(),0);
$@$r<B9T$7!"(J
lwptest()$@$NFbMF$O!"(J

lwptest()
{
   while(1){
	printf("test\n");
	lwp_yield(THREADNULL):
	}
}

$@$G$9!#!I2?$b%$%Y%s%H$,$J$$$H$-$O(Jtest$@$H$$$&I=<($r7+$jJV$9!I$H$$$&FbMF$J$N$G$9$,!"(J
notify_set_itimer_func()$@$OMxMQ$7$?$/$"$j$^$;$s!#(J
XView$@$N4D6-$G$O(JLightWeightProcess$@$OF0$+$J$$$N$G$7$g$&$+!)(J


--

$@!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(J
$@!v(J									  $@!v(J
$@!v(J           Keio University,Faculity of Science and Technology,          $@!v(J
$@!v(J            Matsushita Lab. Takeshi Yoneda  yoneda@myo.inst.keio.ac.jp  $@!v(J
$@!v(J       		TEL: +81-45-563-1141  ext. 3568                    *
$@!v(J                      FAX: +81-45-562-7625                               *
$@!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v!v(J
From: tacchan@flab.fujitsu.co.jp (Tatsuo KONDO)
Newsgroups: fj.windows.x
Subject: Re: How to iconfy
Date: 15 Oct 92 11:15:55 GMT
Distribution: fj
Organization: Fujitsu Laboratories Ltd., Kawasaki, Japan.
In-reply-to: nov@fa.yokogawa.co.jp's message of 16 Oct 92 00:53:43 JST

$@6aF#!wIY;NDL8&$G$9!#(J
$@!t(J  X Window System $@$N%P!<%8%g%s;XDj$,$J$$$N$G!"Nc$K$h$C$F(J X11R5 $@$H2>(J
$@!t(J  $@Dj$7$F$^$9!#(J

In article <NOV.92Oct15105343@yashichi.fa.yokogawa.co.jp>
nov@fa.yokogawa.co.jp (nov) writes:

:>  $@$O$G$$$J$$$N$G$7$g$&$+!)$9$J$o$A!"$"$k%W%m%;%9$N%&%$%s%I%&$r!"JL$N%W%m(J
:>  $@%;%9(J$@!J$^$?$O<+J,!K$+$i%"%$%3%s2=$5$;$kJ}K!$O$J$$$b$N$G$7$g$&$+!)(J

XIconifyWindow $@$H$$$&4X?t$,$"$j$^$9!#$3(J$@$l$O!"(J

:>   $@#2!#%&%$%s%I%&%^%M%8%c!<$K%"%$%3%s2=$r$*4j$$$9$k!#(J
:>  	 $@!J%"%$%3%s2=$9$k%&%$%s%I%&$N(J ID $@$O4{CN$H2>Dj$9$k!#!K(J

$@$7$F$^$9(J:-)

:>  $@$7$+$7#2$N>l9g!"ET9g$NNI$$(J X $@%W%m%H%3%k$,$"$k$N$G$7$g$&$+!)(J WM_HINTS 
:>  $@$N(J initial_state $@$O%W%m%;%9N)$A>e$2;~$N>uBV$r;XDj$9$k$@$1$G$9$7!"(J
:>  WM_STATE $@$K;j$C$F$O(J$@$=$N;H$$J}$b$h$/$o$+$j$^$;$s!#(J

WM_CHANGE_STATE $@$H$$$&(J client message $@$,5,Dj$5$l$F$$$^$9!#(J
$@>\$7$/$O(J Xlib - C Language X Interface (MIT X Consortium Standard X
Version 11, Release 5) $@$N(J 14.1.1 $@>O$K@bL@$,(J$@$"$j$^$9!#(J
-----
	$@6aF#!wIY;NDL8&(J
From: hideyuki@hpjsdo.kobe.yhp.co.jp (Hideyuki Hayashi)
Date: Fri, 16 Oct 1992 08:35:21 GMT
Subject: Re: How to iconfy
Organization: APPO/Japan Solution Development Operation,Kobe
Newsgroups: fj.windows.x


X $B$N%W%m%H%3%k$K$O$"$j$^$;$s$,!"%&%#%s%I%&!&%^%M!<%8%c$KMW5a$r=P$9$3$H$,(J
$B$G$-$^$9!#$3$l$O(J ICCCM (*) $B$K=q$+$l$F$$$kJ}K!$G9T$J$&$3$H$b$G$-$^$9$,!"(J
$B4JC1$K9T$J$&$K$O<!$N4X?t$r;H$o$l$F$O$$$+$,$G$7$g$&$+!)(J

             (*) ICCCM: Inter Client Communication Conventions Manual $B$NN,(J

    XIconifyWindow(display, window, screen_number)
        Display  *display;
        Window   *window;  /* $B%H%C%W%l%Y%k(J (Root Window $B$N;R%&%#%s%I%&(J) */
        int       screen_number;

$B$3$N4X?t$N@bL@$O!"(JMIT $B$+$i=P$5$l$F$$$k(J "Xlib - C Language X Interface"
$B$J$i!"(J Chapter 9 "Inter-Client Communication Functions" $B$K@bL@$,$"$j$^$9!#(J


ICCCM $B$K$h$l$P!"IaDL$N%&%#%s%I%&$N>uBV(J (NormalState) $B$+$i%"%$%3%s$N>uBV(J
 (IconicState) $B$K$9$k$?$a$K$O!"<!$N%$%Y%s%H$r(J XSendEvent() $B$G(J Root Window
 $B$KAw$kI,MW$,$"$j$^$9!#(J

    XClientMessageEvent  event;
    event.type = ClientMessage;
    event.window = window; /* $B%H%C%W%l%Y%k(J (Root Window $B$N;R%&%#%s%I%&(J) */
    event.message_type = XInternAtom (dpy, "WM_CHANGE_STATE", False);
    event.format = 32;
    event.data.l[0] = IconicState;

    XSendEvent(display, root, False,
                        SubstructureRedirectMask|SubstructureNotifyMask,
                        (XEvent *)&event));

XIconifyWindow() $B4X?t$O$^$5$K$3$l$r9T$J$C$F$$$^$9!#(J


$B$=$l$+$i!"(JWM_STATE $B%W%m%Q%F%#$O%"%W%j%1!<%7%g%s$+$iA`:n$7$F$O$$$1$^$;$s!#(J
$B$3$l$b(J ICCCM $B$K=q$+$l$F$$$^$9!#(J


$BNS=(9,(J  $B2#2O!&%R%e!<%l%C%H!&%Q%C%+!<%I(J
From: nov@fa.yokogawa.co.jp (nov)
Newsgroups: fj.windows.x
Subject: How to iconfy
Date: 15 Oct 92 15:53:43 GMT
Distribution: fj
Organization: Yokogawa Electric Corporation, Tokyo , Japan


$@2,It!w2#2OEE5!$H$$$&$b$N$G$9!#(J
$@%&%$%s%I%&$N%"(J$@%$%3%s2=$K$D$$$F<ALd$,$"$j$^$9!#(J
$@%&%$%s%I%&%^%M%8%c!<$K$O!"$"$k%W%m%;%9$N%&%$%s%I%&$r%"%$%3%s2=$5$;$k(J$@5!(J
$@G=$,$"$j$^$9!#$7$+$7!"$3$N5!G=$OMxMQ<T$N%^%&%9A`:n$r2p$5$J$$8B$jMxMQ$G(J
$@$-$^$;$s!#$3$N5!G=$r%&%$%s%I(J$@%&%^%M%8%c!<0J30$N%W%m%;%9$+$iMxMQ$9$k$3$H(J
$@$O$G$$$J$$$N$G$7$g$&$+!)$9$J$o$A!"$"$k%W%m%;%9$N%&%$%s%I%&(J$@$r!"JL$N%W%m(J
$@%;%9!J$^$?$O<+J,!K$+$i%"%$%3%s2=$5$;$kJ}K!$O$J$$$b$N$G$7$g$&$+!)(J

$@$?$H$($P!"(J

 $@#1!#%&%$%s(J$@%I%&%^%M%8%c!<$HF1$8<jK!!J$D$^$j(JXlib$@!K$r;H$C$F!"(J
     $@<+J,$G<+J,$N%&%$%s%I%&$r%"%$%3%s$K=q$-JQ$($k!#(J
     $@<+J,$,%"%$%3%s2=$9$k(J I/F $@$r8x3+$9$k!#(J

 $@#2!#%&%$%s%I%&%^%M%8%c!<$K%"%$%3%s2=$r$*4j$$$9$k!#(J
     $@!J%"%$%3%s2=$9$k%&%$%s%I%&$N(J ID $@$O4{CN$H2>Dj$9$k!#!K(J

$@$J$I$,9M$($i$l$^$9!#(J

$@#1$OOSNOE*$J2r7hJ}K!$J$N$G(J$@$G$-$=$&$G$9$,!"%9%^!<%H$H$O;W$($^$;$s!#(J
$@$=$l$K%&%$%s%I%&%^%M%8%c!<$H6%9g$9$k62$l$,$"$j$=$&$G$9!#(J
$@$7$+(J$@$7#2$N>l9g!"ET9g$NNI$$(J X $@%W%m%H%3%k$,$"$k$N$G$7$g$&$+!)(J WM_HINTS 
$@$N(J initial_state $@$O%W%m%;%9N)$A>e$2(J$@;~$N>uBV$r;XDj$9$k$@$1$G$9$7!"(J
WM_STATE $@$K;j$C$F$O$=$N;H$$J}$b$h$/$o$+$j$^$;$s!#(J

$@$I$J$?$+NI$$%"%$%G%"(J$@$r$*;}$A$NJ}$,$$$i$7$?$i!"$<$R65$($F2<$5$$!#(J
$@$h$m$7$/$*4j$$$7$^$9!#(J
--
==============================================================================
        $@2,It!!@kIW(J   $@2#2OEE5!3t<02q<R(J LSI$@%F%9%?!<%;%s(J$@%?!<5;=QIt#32](J
     e-mail  nov@lsi.yokogawa.co.jp  tel:0422-52-5626  fax:0422-52-2159
==============================================================================
From: nagae@an.isl.titech.ac.jp (Takanori Nagae)
Newsgroups: fj.windows.x
Subject: Re: Q: Event
Date: 16 Oct 92 11:10:51 GMT
Reply-To: nagae@an.isl.titech.ac.jp
Distribution: fj
Organization: Imaging Science and Engineering Lab., Tokyo Inst. of Tech., Japan
In-reply-to: adachi@ailabc.d.dendai.ac.jp's message of 15 Oct 92 11:06:47 GMT

In article <ADACHI.92Oct15200647@ailabc.d.dendai.ac.jp>
adachi@ailabc.d.dendai.ac.jp (adachi) writes:

>  $@Nc$($P!"O"B3$9$k%S%C%H%^%C%W$r(J$@%"%K%a!<%7%g%s$9$k>l9g!"(JXlib $@$G$N(Jmain
>loop $@$O$I$N$h$&$J46$8$K$J$k$N$G$7$g$&$+!)(J

Xlib$@!*!)(J
$@;H$o$J$$$[(J$@$&$,$$$$$G$7$g$&!%(J

Xt Intrinsics$@$r;H$&$J$i!$(JTimerCallbackProc$@$H$$$&$N$,;H$($^$9!%(J
$@$?$H$($P!$(J
-----
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Label.h>

XtAppContext app_con;
Display *disp;
Widget top, label;

void timer_proc(count)
int count;
{
    char str[10];

    if(0 == count % 10) XBell(disp, 0);
    sprintf(str, "%d", count);
    XtVaSetValues(label, XtNlabel, str, NULL);
    XtAppAddTimeOut(app_con, 1000, timer_proc, count + 1);
}

main(argc, argv)
int argc;
char **argv;
{
    static String fallback[] ={"*label.label: timer test", NULL};

    top = XtVaAppInitialize(&app_con, "TimerTest",
        NULL, 0, &argc, argv, fallback, NULL);
    label = XtVaCreateManagedWidget("label",
        labelWidgetClass, top, NULL);
    disp = XtDisplay(top);
    XtRealizeWidget(top);
    timer_proc(0);
    XtAppMainLoop(app_con);
}
---
XtAppAddTimeOut$@$K$h$C$F(Japplication context$@$K#n%_%jIC8e$K<B9T$9$Y$-<jB3(J
$@$-$rEPO?$7$^$9!%H?I|$9$k$K$O!$(JTimerCallbackProc$@$NCf$G(JXtAppAddTimeOut$@$r(J
$@8F$S=P$;$P$h$$$o$1$G$9$M!%(J

$@%"%K%a!<%7%g%s$K$O%"%W%j%1!<%7%g%s$,$R$^$J$H$-$K<B9T$5$l$k(JWorkProc$@$NJ}(J
$@$,E,$7$F$$$k$H;W$$$^$9!%Nc$($P(J $@!$(J
---
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Xaw/Label.h>

Widget top, label;
Display *disp;

void work_proc()
{
    char str[10];
    static unsigned long count = 0;

    if(0 ==(++count)% 1000) XBell(disp, 0);
    sprintf(str, "%d", count);
    XtVaSetValues(label, XtNlabel, str, NULL);
}

main(argc, argv)
int argc;
char **argv;
{
    static String fallback[] ={"*label.label: workproc test", NULL};
    XtAppContext app_con;

    top = XtVaAppInitialize(&app_con, "WorkTest",
        NULL, 0, &argc, argv, fallback, NULL);
    label = XtVaCreateManagedWidget("label",
        labelWidgetClass, top, NULL);
    disp = XtDisplay(top);
    XtRealizeWidget(top);
    XtAppAddWorkProc(app_con, work_proc, NULL);
    XtAppMainLoop(app_con);
}
---
O'Reilly$@$N(JVolume 4$@$N(J
8.4  TimeOuts
8.5  Work Procedures
$@$K=q$$$F$"$j$^$9!%(J
_  __  __
 ][  ][  ]$@1J9>(J $@9'5,(J nagae@an.isl.titech.ac.jp
[__][__][_ $@El9)Bg(J $@A|>pJs9)3X8&5f;\@_(J $@0B5o1!8&(J
From: nao@sm.sony.co.jp (Naoshi Suzuki)
Newsgroups: fj.windows.x
Subject: Re: Q: Event
Date: 15 Oct 92 17:15:08 GMT
Distribution: fj
Organization: Computer Support Center, SONY Corporation, Tokyo Japan

In article <ADACHI.92Oct15200647@ailabc.d.dendai.ac.jp> adachi@ailabc.d.dendai.ac.jp (adachi) writes:
>  $@$O$8$a(J$@$^$7$F!#B-C#!wEE5!Bg$H$b$&$7$^$9!#(J

$@$O$8$a$^$7$F!#(J

>  $@Nc$($P!"O"B3$9$k%S%C%H%^%C%W$r%"%K%a!<%7%g%s$9(J$@$k>l9g!"(JXlib $@$G$N(Jmain
>loop $@$O$I$N$h$&$J46$8$K$J$k$N$G$7$g$&$+!)(J

Xlib $@$G!"$H$$$&$3$H$J$N$G!"(Jxlock $@$J(J$@$s$+$r;29M$K$9$k$N$O$I$&$G$7$g$&$+!)(J
(Xt $@$@$H(J XtAppAddTimeOut() $@$H$+$r;H$($P4JC1$K$G$-$^$9$h$M(J)
$@Ia(J$@CJ$O%S%C%H%^%C%W$r%"%K%a!<%7%g%s$7$F$$$F$J$*$+$D!"%-!<%$%Y%s%H$,(J
$@Mh$?$H$-$J$s$+$O$=$N=hM}$O$7$?$$$o$1(J$@$G$9$h$M!#0c$C$F$?$i:Q$_$^$;$s!#(J

for (;;) {
    do {
        while (!XPending(display)) {
            $@%"%K%a!<%7%g%s=hM}(J
        }
        XNextEvent(display, &event);
    } while (event.type != $@<h$j$?(J$@$$%$%Y%s%H(J);
    $@<h$j$?$$%$%Y%s%H$,Mh$?$H$-$N=hM}(J
}

$@%"%K%a!<%7%g%s=hM}<+BN$O(J gettimeofday(2) $@$H$+;H$C(J$@$F(J
$@0lDj;~4V7P$D$4$H$K%$%a!<%8$rIA$$$F!"(Jbusy $@$K$J$k$N$,(J
$@$$$d$J$i$PE,Ev$K(J sleep $@$r$$$l$l$P$h$$$G$7$g$&!#(J
setitimer(2) $@$H$+$G$b$G$-$k$+$b(J
$@$7$l$^$;$s$,!"$=$A$i$O$d$C$?$3$H$,$"$j$^$;$s!#(J
Xlib $@%W%m%0%i%`$G%7%0(J$@%J%k$C$F;H$C$F$bBg>fIW$K(J
$@$J$C$?$s$G$7$?$C$1!)(J

$@$J$*!"A0<T$NJ}K!$O0JA0!"(Jxlock $@$G(J bitmap $@$r0lDj;~4V4V3V(J$@$G(J
$@F0$+$9(J mode $@$rDI2C$7$F$d$C$?$3$H$,$"$j$^$9!#(J
--
  nao.
From: tacchan@flab.fujitsu.co.jp (Tatsuo KONDO)
Newsgroups: fj.windows.x
Subject: Re: Q: Event
Date: 16 Oct 92 02:35:22 GMT
Distribution: fj
Organization: Fujitsu Laboratories Ltd., Kawasaki, Japan.
In-reply-to: adachi@ailabc.d.dendai.ac.jp's message of 15 Oct 92 20:06:47 JST

$@6aF#!wIY;NDL8&$G$4$6$$$^$9!#(J

In article <ADACHI.92Oct15200647@ailabc.d.dendai.ac.jp>
adachi@ailabc.d.dendai.ac.jp (adachi) writes:

:>    Xlib $@$N%W%m%0%i%`$G!"$"$k0lDj$N;~4V$N4V3V$G=hM}(J$@$7$?$$;E;v$,$"$k$H$7(J
:>  $@$^$9!#$=$N>l9g!"(JXNextEvent $@$G<h$j9~$`%$%Y%s%H$,$J$$>l9g!"(Jmain loop $@$O(J
:>  $@;_(J$@$^$C$F$$$k$N$G!"$=$N0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$r<B9T$G$-$J$$$G(J
:>  $@$9$h$M!)(J

$@0lDj4V3V$G;E;v$9$k(J$@ItJ,$@$1(J fork $@$7$FJL%W%m%;%9$K$7$F$7$^$&!"$H$$$&$N(J
$@$OH?B'$+$J!)(J:-)

Xlib $@$N$_$H$$$&@)Ls2<$G!"%7%s%0%k(J$@%W%m%;%9$G;($K=q$/$H(J:-)$@$3$s$J46$8$G$9!#(J

Display *d;
XEvent e;

main(){
...
while (1) {
  if (XCheckMaskEvent(d, ExposureMask|... , &e) == True) {
    /* $@%$%Y%s%H=hM}(J */
    ...
  } else {
    /* $@4V3V=h(J$@M}(J */
    ...
    usleep(1000); /* busy or not :-) */
  }
}

XNextEvent $@$,!"%$%Y%s%H$,$J$1$l$PBT$D$N$K(J$@BP$7!"(JXCheck...Event $@7O4X?t(J
$@$O$9$0$KLa$j!"$"$k$+$J$$$+$rJV$7$^$9!#>\$7$/$O%^%K%e%"%k$r8+$F$/$@$5$$!#(J

$@$?$@$7$3$l$@$H!"4V3V=hM}$r=*$($?8e$K%$%Y%s%H$,BgNL$KE~Ce$9$k$H!"4V3V=h(J
$@M}$N;~4V$,$:$l$k$H$$$&LdBj$,$"(J$@$j$^$9!#(J
$@6/0z$K=q$/$N$J$i!"(Jsetitimer $@$H(J signal(SIGALRM, proc) $@$H$$$&J}K!$GB?>/(J
$@@53N$K$G$-$^$9$,!"3d$j(J$@9~$_=hM}$K$J$kJ,LLE]$+$bCN$l$^$;$s!#(J

$@$H$$$&$3$H$G!"@)Ls$,$J$1$l$P!"(JXtAppAddTimeOut $@$NMxMQ$r>)$a$^$9!#(J
$@!t(J  $@;~4V3d$j9~$_$N(J XtAppAddTimeOut $@$NB>$K!"F~NO3d$j9~$_!J%G!<%?$N(J
$@!t(J  $@FI$_=q$-$,2DG=$K$J$C$?$i3d$j9~(J$@$_$KHt$V!K$r07$&(J XtAppAddInput $@$H$$(J
$@!t(J  $@$&$N$b=EJu$7$^$9(J:-)

$@;29M$^$G$K!"<j5v$KE>$,$C$F$$$k(J:-)$@%"%K%a!<(J$@%7%g%sJ*$r$6$C$H8+$F$_$^$7$?(J
$@$i!"0J2<$N$h$&$J%$%s%W%j%a%s%H$G$7$?!#!J$9$Y$F%K%e!<%9$G%]%9%H$5$l$?$+!"(J
anonymous FTP $@$GF~<j2DG=$J$b$N$G$9!K(J

$@!&(Jxancur(verison 1.3)
  Xlib $@$N$_MxMQ!#$?$@$7%$%Y%s%H=hM}$O$^$C(J$@$?$/$;$:!"(Jwhile $@$NCf$G(J usleep
  $@$7$F$$$k$@$1!#(J
$@!&(Jx4d(version 1.11)
  Xt $@$rMxMQ!#(JXtAddTimeOut $@$G=hM}$7(J$@$F$$$k!#(J
  $@!J(JXtAddTimeOut $@$O(J XtAppAddTimeOut $@$N(J obsolete version B-$@!K(J
$@!&(Jgeneric tetris(version 1.7)
  Xlib $@$N$_MxMQ!#BT$A$K$O(J select(!) $@$r;H$C$F$$$k!#(J
$@!&(Jxscreensaver/attraction(version 1.4)
  Xlib $@$N$_Mx(J$@MQ!#%$%Y%s%H=hM}$,$J$/!"(Jwhile $@Cf$N(J usleep $@$N$_!#(J
-----
	$@6aF#!wIY;NDL8&(J
From: adachi@ailabc.d.dendai.ac.jp (adachi)
Newsgroups: fj.windows.x
Subject: Q: Event
Date: 15 Oct 92 11:06:47 GMT
Distribution: fj
Organization: Dept. of Electronic Eng., Tokyo Denki Univ., Tokyo, Japan


  $@$O$8$a$^$7$F!#B-C#!wEE(J$@5!Bg$H$b$&$7$^$9!#(J

Xlib $@$N%$%Y%s%H$K$D$$$F<ALd$,$"$j$^$9!#(J

  Xlib $@$N%W%m%0%i%`$G!"$"$k0lDj$N;~4V$N4V(J$@3V$G=hM}$7$?$$;E;v$,$"$k$H$7(J
$@$^$9!#$=$N>l9g!"(JXNextEvent $@$G<h$j9~$`%$%Y%s%H$,$J$$>l9g!"(Jmain loop $@$O(J
$@;_(J$@$^$C$F$$$k$N$G!"$=$N0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$r<B9T$G$-$J$$$G(J
$@$9$h$M!)(J

main loop:
  while(1){
	XNextEvent( d, &event);
	...
  }

  $@Nc$($P!"O"B3$9$k%S%C%H%^%C%W$r%"%K%a!<%7%g%s$9$k>l9g!"(JXlib $@$G$N(Jmain
loop $@$O$I$N$h$&$J46$8$K$J$k$N$G$7$g$&$+!)(J

  $@GyA3$H$7$?<ALd$G$9$,!"$3$&$7$?$i$h$$$H$+!"$"$N%W%m%0(J$@%i%`$r8+$l$PNI$$(J
$@$J$I$N>pJs$G$b$$$$$G$9$N$G!"$h$m$7$/$*4j$$$7$^$9!#(J
--


 $@("B-C#2E?.!wCNG=%7%9%F%`8&(J.$@EE;R9)3X2J(J.$@9)3XIt(J.$@El5~EE5!Bg3X(J 
 $@("(J                                           $@=$;N2]Dx#1G/(J 
 $@("(J                   E-Mail: adachi@ailabc.d.dendai.ac.jp 
 $@("(J                           MAX0326 YOSHI (MAX-BBS)       
 $@(&(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(!(J
From: tamotu@cs.gunma-u.ac.jp (Maruyama Tamotsu)
Newsgroups: fj.windows.x
Subject: Re: Q: Event
Date: 16 Oct 92 00:31:05 GMT
Distribution: fj
Organization: Gunma Univ.
In-reply-to: adachi@ailabc.d.dendai.ac.jp's message of 15 Oct 92 11:06:47 GMT


$@4];3!w72Bg$G$9!#(J


$@!d(J  Xlib $@$N%W%m%0%i%`$G!"$"$k0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$,$"$k$H$7(J
$@!d$^$9!#$=$N>l9g!"(JXNextEvent $@$G<h(J$@$j9~$`%$%Y%s%H$,$J$$>l9g!"(Jmain loop $@$O(J
$@!d;_$^$C$F$$$k$N$G!"$=$N0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$r<B9T(J$@$G$-$J$$$G(J
$@!d$9$h$M!)(J

$@0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$r$5$;$k$K$O!"(JXtAppAddTimeOut $@$H$$$&4X?t(J
$@$,$"$j(J$@$^$9!#$3$l$O!";XDj$7$?;~4V8e$K;XDj$7$?4X?t$r$h$S$^$9!#$=$N8F$P$l$?(J
$@4X?t$G$^$?F1MM$N@_Dj$r$9$k$H!"0lDj(J$@$N;~4V$N4V3V$G=hM}$,=PMh$^$9!#(J

$@!t4JC1$G$9$,(J...


--
				$@!{!|!{!|!{!|!{!|!{!|!{!|!{!|!{!|!{!|!{!|(J
				   $@4];3(J  $@J](J 
				   $@72GOBg3X>pJs9)3X2J(J $@6bC+8&(J $@#M#1(J
				   tamotu@cs.gunma-u.ac.jp
				$@!{!|!{!|!{!|!{(J$@!|!{!|!{!|!{!|!{!|!{!|!{!|(J
From: hhiura@Sun.COM (Hideki Hiura)
Newsgroups: fj.windows.x
Subject: Re: Qs on Ximp (i18nXaw, i18nXView2, Motif-1.2)
Date: 9 Oct 92 10:23:44
Organization: Sun Microsystems, Inc. Mountain View, CA.
Distribution: fj
NNTP-Posting-Host: momo
In-reply-to: matsuda@ipe.rdc.ricoh.co.jp's message of 2 Oct 92 09:11:35 GMT

In article <MATSUDA.92Oct2181135@tanuki.ipe.rdc.ricoh.co.jp>
	 matsuda@ipe.rdc.ricoh.co.jp (MATUDA Tooru) writes:
> 1. contrib/lib/Xaw $@$r;H$C$?%/%i%$%"%s%H!#(J
>   $@$3$l$O!"(JXimp $@$G$b(J make $@$9$l$P;H$($k$=$&$G$9$,(J ($@<B:]$K(J make $@$O(J
> $@$G$-$^$7$?$,(J) XawIm.c $@$N(J _XipSetIOErrorHandler() $@$,L$Dj5A$G!"(J
> contrib/clients $@$N2<$N(J i18n $@HG%/%i%$%"%s%H$r(J make $@$9$k$3$H$,(J
> $@$G$-$^$;$s!#(J

_XipSetIOErrorHandler() $@$r:o=|$9$k$+!"(Jdummy $@$GCV$-49$($^$9!#(J
_Xip $@$G;O$^$k4X?t$O!"(JXsi implementation $@$NFbIt4X?t$G!"K\Mh$O!"(J$@30It$+$i(J
access $@$9$k$Y$-$b$N$G$O$J$$$N$G!"6/0z$G$9$,$3$l$GF($2$^$9!#(J

> 2. contrib/lib/i18nXView2 $@$N(J make $@J}K!!#(J
>   $@L!A3$H(J make $@$7$h$&$H$7$?$iBt;3E\$i$l$F$7$^$$$^$7$?!#(J

$@$4$a$s$J$5$$!#$"$N;~$O;~4V$,L5$/(J$@$F!"D6E,Ev$K$9$^$7$F$7$^$$$^$7$?!#(J
include.tar.Z $@$r(J extract $@$7$F!"(Jsymlink $@$OD%$i$l$?$s$G$9$h$M!)(J

> lib/libxview/Imakefile $@$r>/$7=q$-49$($F(J ($@$3$N5-;v$NKvHx$K(J diff $@$rIU$1$F(J
> $@$*$-$^$9(J) make Makefiles $@$7$F(J$@!"(Jlib/libxview $@$H(J lib/libolgx $@$G(J make init
> $@$7$F$+$i!"2~$a$F(J make $@$7$?$N$G$9$,!"$=$l$GNI$+$C$?$N$G$7(J$@$g$&$+!)(J

library $@$,(J make $@40N;$9$l$P$h$7$H$7$h$&(J....

> 3. Motif-1.2 $@$H(J i18nXView2 $@$NN>N)!#(J
>   i18nXView2 $@$rL!A3$H(J make install $@$7$F$7$^$C$?$H$3$m(J 
> /usr/lib/X11/japanese/Codeset $@$,>e=q$-$5$l$F$7$^$C$?(J$@$?$a!"$=$NA0$+$i(J
> $@;H$C$F$$$?(J Motif-1.2 $@$NF0$-$,$*$+$7$/$J$C$F$7$^$$$^$7$?!#(Ji18nXView2
> $@$H(J Motif-1.2 $@$r;H$($k$h$&$K$O$G$-$J$$$b$N$G$7$g$&$+!)(J

i18nXView2 $@$O!"(JOpenLook Glyph $@$*$h$S(J cursor $@$r!"(J
current locale $@$N(J Fontset $@$H$7$F$=$N$^$^;HMQ$7$F$$$k$?$a$K!"(J
Codeset file $@$NCf$K!"(J

NAME    EUC

CODESET0
    Length      1
    GL
    Encoding
        iso8859-1       GL
        jisx0201.1976-0 GL
        sunolcursor-1   GL   <===== $@$3$l(J
        sunolglyph-1    GL   <===== $@$3$l(J
          [ $@0J2<N,(J ]

$@$N$h$&$K!"(J sunolcursor-1$@!"(Jsunolglyph-1 $@$rIU$12C$($J$1$l$P$$$1$^$;$s$G$7$?!#(J
$@$3$l$O(J i18nXView $@$N(J known bug $@$J$N$G(J$@$9$,!"(JR5 $@$K(J contribute $@$9$k$^$G$K(J
$@$O=$@5$,4V$K9g$o$J$+$C$?$N$G!"(Jinstall $@;~$K>e=q$-$9$k$h$&$K(J
$@$7$F$7$^(J$@$$$^$7$?!#(J(i18nXView3 $@$G$OD>$C$F$$$^$9$,(J)

$@$b$H$b$H$N(J Codeset file $@$O!"$3$N#29T$,(J($@3F%(%s%H%j$+$i(J)$@L5$$(J$@$@$1$G$9$h$M!)(J
$@$3$N(J Codeset file $@$G!"(JMotif-1.2 $@$O!"$I$N$h$&$K$*$+$7$/$J$C$F$7$^$C$?$N(J
$@$G$7$g$&$+!)(J

--
$@Hu1:(J $@=(<y(J  (HIURA, Hideki)
hhiura@Sun.COM
From: masato@bridge.co.JP (Masato YAMANISHI)
Newsgroups: fj.windows.x
Subject: Re: How to iconfy
Date: 16 Oct 92 04:12:07 GMT
Reply-To: masato@bridge.co.jp
Distribution: fj
Organization: Bridge Corp., Sapporo, Japan.

In article <NOV.92Oct15105343@yashichi.fa.yokogawa.co.jp>
$@2,It!w2#2OEE5!$5$s(J = nov@fa.yokogawa.co.jp (nov) writes:

 >$@%&%$%s%I%&$N%"%$%3%s2=$K$D$$$F<ALd$,$"$j$^$9!#(J
 >$@%&%$%s%I%&%^%M%8%c!<$K$O!"$"$k(J$@%W%m%;%9$N%&%$%s%I%&$r%"%$%3%s2=$5$;$k5!(J
 >$@G=$,$"$j$^$9!#$7$+$7!"$3$N5!G=$OMxMQ<T$N%^%&%9A`:n$r2p$5$J(J$@$$8B$jMxMQ$G(J
 >$@$-$^$;$s!#$3$N5!G=$r%&%$%s%I%&%^%M%8%c!<0J30$N%W%m%;%9$+$iMxMQ$9$k$3$H(J
 >$@$O$G$$$J$$$N$G(J$@$7$g$&$+!)$9$J$o$A!"$"$k%W%m%;%9$N%&%$%s%I%&$r!"JL$N%W%m(J
 >$@%;%9!J$^$?$O<+J,!K$+$i%"%$%3%s2=$5$;$kJ}K!(J$@$O$J$$$b$N$G$7$g$&$+!)(J

X11R5 $@$G$O(J XIconifyWindow() $@$H$$$&4X?t$,$"$C$F!$%"%$%3%s2=$,2DG=$K(J
$@$J$j$^$7$?(J$@!%%=!<%9$rD/$a$k$H$o$+$k$N$G$9$,!$$3$l$O%&%#%s%I%&%^%M!<%8%c$K(J
$@BP$7$F%/%i%$%"%s%H%a%C%;!<%8(J(WM_CHANGE_STATE)$@$rAw$C$F$$$^$9!%$D$^$j!$(J

 > $@#1!#%&%$%s%I%&%^%M%8%c!<$HF1$8<jK!!J$D$^$j(JXlib$@!K$r;H$C$F!"(J
 >     $@<+J,$G<+J,$N%&%$%s%I%&$r%"%$%3%s$K=q$-JQ$($k!#(J
 >     $@<+J,$,%"%$%3%s2=$9$k(J I/F $@$r8x3+$9$k!#(J
 >
 > $@#2(J$@!#%&%$%s%I%&%^%M%8%c!<$K%"%$%3%s2=$r$*4j$$$9$k!#(J
 >     $@!J%"%$%3%s2=$9$k%&%$%s%I%&$N(J ID $@$O4{CN$H2>Dj$9(J$@$k!#!K(J

$@#1$N$h$&$K8+$($F<B$O#2$K$J$j$^$9!%7k6I%&%#%s%I%&%^%M!<%8%c$K$*4j$$$7$F$$$k(J
$@$o$1$G$9$M!%(J

$@MW$O(J$@$3$N%a%C%;!<%8$r%&%#%s%I%&%^%M!<%8%c$,2r<a$G$-$l$P$$$$$N$G!$(JX11R5 $@$N(J
XIconifyWindow $@$N%3!<%I$r;H$($P!$(JX11R4 $@$G$b%"%$%3%K%U%!%$$G$-$?$j$7$^$9$N$G(J
$@;2>H$7$F$_$F2<$5$$!%(J

						$@;3@>2m?M(J
						masato@bridge.co.jp
From: aoyama@astec.co.jp (Aoyama Hisao)
Subject: Re: Q: Event
Organization: ASTEC, Inc. Tokyo, Japan
Distribution: fj
Date: Fri, 16 Oct 1992 04:11:46 GMT

In article <ADACHI.92Oct15200647@ailabc.d.dendai.ac.jp> 
	adachi@ailabc.d.dendai.ac.jp (adachi) writes:

     $B$O$8$a$^$7$F!#B-C#!wEE5!Bg$H$b$&$7$^$9!#(B

$B$O$8$a$^$7$F!%(B

   Xlib $B$N%$%Y%s%H$K$D$$$F<ALd$,$"$j$^$9!#(B

     Xlib $B$N%W%m%0%i%`$G!"$"$k0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$,$"$k$H$7(B
   $B$^$9!#$=$N>l9g!"(BXNextEvent $B$G<h$j9~$`%$%Y%s%H$,$J$$>l9g!"(Bmain loop $B$O(B
   $B;_$^$C$F$$$k$N$G!"$=$N0lDj$N;~4V$N4V3V$G=hM}$7$?$$;E;v$r<B9T$G$-$J$$$G(B
   $B$9$h$M!)(B

$BJ#?t$N$b$N$rBT$D$N$@$+$i!$(Bselect $B$G$7$g$&$+!%(B

Xt(App)AddInputEvent() $B$N$H$3$m$N%=!<%9$r8+$l$P;29M$K$J$k$G(B
$B$7$g$&!%(BXt $B$G=q$/$N$GNI$1$l$P!%$=$N$b$N$r;H$($PNI$5$=$&$G$9!%(B

   main loop:
     while(1){
	   XNextEvent( d, &event);
	   ...
     }

     $BNc$($P!"O"B3$9$k%S%C%H%^%C%W$r%"%K%a!<%7%g%s$9$k>l9g!"(BXlib $B$G$N(Bmain
   loop $B$O$I$N$h$&$J46$8$K$J$k$N$G$7$g$&$+!)(B

client $B$G$$$/$i4hD%$C$F$b!$(Bserver $B$G$NIA2h$OHsF14|$J$N$G%"%K(B
$B%a!<%7%g%s$,%.%/%7%c%/$9$k$N$OHr$1$i$l$J$$$G$7$g$&!%(B

$B3j$i$+$J%"%K%a!<%7%g%s$,L\E*$J$i!$(Bdouble/mult buffer $B$N(B 
extension $B$rMxMQ$9$kJ}$,NI$/$O$"$j$^$;$s$+(B?
-- 
----
Hisao Aoyama						 $@@D;3(B $@>0IW(B
ASTEC, Inc.					  $@!J3t!K%"%9%F%C%/(B
aoyama@astec.co.jp
From: tamotu@cs.gunma-u.ac.jp (Maruyama Tamotsu)
Newsgroups: fj.windows.x
Subject: Re: Q: Event
Date: 16 Oct 92 00:35:37 GMT
Distribution: fj
Organization: Gunma Univ.
In-reply-to: tamotu@cs.gunma-u.ac.jp's message of 16 Oct 92 00:31:05 GMT


$@4];3!w72Bg$G$9!#(J

$@4JC1$K$+$$$F$7$^$C$?$N$G!"JaB*$G$9!#(J

XtAppAddTimeOut $@$G@_Dj$7$?%?%$(J$@%^!<$r$H$j$d$a$k$K$O!"(JXtRemoveTimeOut $@$H$$$&(J
$@4X?t$,$"$j$^$9!#(J

$@$J$*!"$3$l$i$O(J X-Toolkit $@$N4X?t$G$9!#(J

$@!t(J Xlib $@$@$1$G$d$kJ}K!$O;d$OCN$i$J$$(J....

--
				$@!{!|!{!|!{!|!{!|!{!|!{!|!{!|!{!|!{!|!{!|(J
				   $@4];3(J  $@J](J 
				   $@72GOBg3X>pJs9)3X2J(J $@6bC+8&(J $@#M#1(J
				   tamotu@cs.gunma-u.ac.jp
				$@!{!|!{!|!{!|!{!|!{!|!{(J$@!|!{!|!{!|!{!|!{!|(J

Newsgroups: fj.kermit