HDTenEightyP/NetNews huggingface dataset:
From: mgraham@teal.csn.org (Michael Graham)
Newsgroups: fj.mail-lists.x-window
Subject: Trouble detecting correct events with Button event masks
Date: 30 Dec 92 21:11:05 GMT
Distribution: fj
Organization: Colorado SuperNet, Inc.

Date: Wed, 30 Dec 1992 17:25:53 GMT
Message-Id: <C031r6.MGL@csn.org>
Newsgroups: comp.windows.x,comp.windows.open-look

I am having a problem with event masks.  I'm developing on a Sun 
with SunOS 4.1.2 and whatever OLIT version they ship with that -
I think it's 3.0.  I'm trying to detect a motion event with Button1
down ONLY!!  I'm using the event mask Button1MotionMask but it 
triggers the event handler when ANY button is pressed (1, 2 or 3).  
I have tried various combinations of the Button*Masks in X.h (like 
Button1Mask, ButtonPressMask, Button5MotionMask, etc.)and they all 
behave the same way, i.e., the event handler gets invoked.  How do 
I determine which button is pressed?
 
Here's a code sample:
 
    XtAddEventHandler( text, Button1MotionMask, FALSE,
                       (XtEventHandler)drag_event, NULL ) ;
 
drag_event() gets called regardless of which button is pressed.


Thanks for your help.
From: dmatic@athena.mit.edu (Davor Matic)
Newsgroups: fj.mail-lists.x-window
Subject: X Hercules - I did it!!!  : -)
Date: 24 Dec 92 18:59:57 GMT
Distribution: fj
Organization: Massachusetts Institute of Technology

Date: Thu, 24 Dec 1992 00:23:50 GMT
Message-Id: <1992Dec24.002350.19292@athena.mit.edu>
Newsgroups: comp.windows.x.i386unix,comp.windows.x

I just got mfb completely macroized, and it can address mapped frame
buffers.  And it works! :-)  Still some minor bugs here and there,
but most of the drawing operations work fine.

Now, I've noticed the same problem with my server that was reported
about Xmono.  I suspect that GetImage and PutImage routines from mfb
can't handle MSBFirst bit order and LSBFirst byte order at the same
time.  Has anyone done any investigation on that theme?

Regards,
Davor
From: raja@roma.berkeley.edu (Raja R. Kadiyala)
Newsgroups: fj.mail-lists.x-window
Subject: Catching window manager's kill
Date: 30 Dec 92 03:23:52 GMT
Distribution: fj
Organization: U.C. Berkeley -- Robotics Lab

Date: Tue, 29 Dec 1992 22:49:40 GMT
Message-Id: <1992Dec29.224940.23390@pasteur.Berkeley.EDU>
Newsgroups: comp.windows.x.motif,comp.windows.x

I am using Xt & Motif and I have been looking for an answer to this simple
question:

	How do I catch/stop the window mngr. from quiting my application (i.e.
if I am running olwm the user may go up to the the title bar click to
get the 'window' menu and select 'quit' and my app is outa there.  Likewise
with mwm except it is 'close').

	I want to prompt the user if he/she REALLY wants to quit.


Please respond by email and I will post the winning solution(s).

thanks
raja

--
Raja R. Kadiyala			UC Berkeley Robotics Lab
Mail is forwarded to:			raja@robotics.berkeley.edu
Office  333-5D Cory Hall		Phone: (510) 643-5798
Lab     330    Cory Hall		Phone: (510) 642-3248 or 2-7824
From: dinah@rockytop.tivoli.com (Dinah McNutt)
Newsgroups: fj.mail-lists.x-window
Subject: Where are %N, %T, et. al. documented?
Date: 22 Dec 92 17:00:31 GMT
Distribution: fj
Organization: TIVOLI Systems

Date: 22 Dec 92 14:56:17 GMT
Message-Id: <7181@tivoli.UUCP>
Newsgroups: comp.windows.x


I am looking for where %N, et. al. are documented. I know I saw a list
of all these variables documented in one location. I am talking about:

XUSERFILESEARCHPATH=/home/tivoli/dinah/app-defaults/%N

and so on. I would swear it was in an O'Reilly book, but cannot find it now. 
Can some kind soul help me out? I know I could poke around in the source,
but I want to find this reference so I can add it to my X Admin tutorial.
(You can't always tell students to read the source. :-)

Many thanks!
-- 


Dinah McNutt      TIVOLI Systems, Inc.   (512)794-9070
             dinah@tivoli.com
From: deng@quesnay.Berkeley.EDU (Yongheng Deng)
Newsgroups: fj.mail-lists.x-window
Subject: Look for Chinese fonts for CXTERM
Date: 24 Dec 92 19:20:46 GMT
Distribution: fj
Organization: Dept. of Economics, U. C. Berkeley

Date: 23 Dec 1992 20:46:48 GMT
Message-Id: <1haj7oINNhtv@agate.berkeley.edu>
Newsgroups: comp.fonts,comp.windows.x

I have just installed NCD's XRemote and PC-Xview, so that
I can open several xterminals and run several xwindow applications
at my home PC via phone line and a high speed modem. Everything
is working fine so far, just as I am working at a workstation on
campus, except that I cannot open cxterm because Xview needs suitable
Chinese fonts installed on my PC. Xview does have a utility called
font compiler which converts forns from ASCII Bitmap Distribution 
Format (BDF) to Windows Font Resource (FON) format. Does anyone
knows the source where I can get those Chinese fonts in BDF format?
Does anyone has successfully running cxterm application with
PC-Xview?

--Yongheng
From: esr@snark.thyrsus.com (Eric S. Raymond)
Newsgroups: fj.mail-lists.x-window
Subject: Xlife -- the plot thickens again...
Date: 23 Dec 92 03:49:48 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: 23 Dec 92 07:03:53 GMT
Message-Id: <1jtPWV#2DJK7d9X3mS46pqDWy4h8gqW=esr@snark.thyrsus.com>
Newsgroups: comp.windows.x

The good news is, my Xlife (which will be released as Xlife 4.0) now has
multi-state support.  You can run any cellular automaton with up to
8 states and the Von Neumann 4-cell neighborhood, using a transition table
specified by an editable file.  I have reorganized the internals in such
a way that adding code to handle more general case should be easy.

The bad news is, I never did figure out the reason for the XFillRectangles()
screwage in my 2.0bis code --- the problem simply went away when I merged my
changes into 3.0.  Spooky.
-- 
					Eric S. Raymond <esr@snark.thyrsus.com>
From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
Newsgroups: fj.mail-lists.x-window
Subject: Re: new FAQ? (programming) masking Pixmaps *efficiently*
Date: 22 Dec 92 22:22:12 GMT
Distribution: fj
Organization: McGill Research Centre for Intelligent Machines

Date: 22 Dec 92 18:39:57 GMT
Message-Id: <1992Dec22.183957.17710@thunder.mcrcim.mcgill.edu>
Newsgroups: comp.windows.x

In article <1992Dec21.034512.18081@labtam.labtam.oz.au>, graeme@labtam.labtam.oz.au (Graeme Gill) writes:
> In article <1992Dec18.012904.15093@thunder.mcrcim.mcgill.edu>, mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
>> In article <1992Dec15.152852.2528@miki.pictel.com>, oj@miki.pictel.com (Oliver Jones) writes:
>>> In article <1992Dec11.180230.10091@elroy.jpl.nasa.gov> sns@bondi.jpl.nasa.gov (Sam Southard) writes:
[These attribution lines have been corrupted; the next text is actually
mine.  I don't trust the rest all that much either...]
>>>> The server in question is probably doing the common thing and
>>>> converting clip-masks to rectangle lists.
>> Yes...but the choice of this implementation means that clip-masks
>> that don't decompose nicely into rectangles will be expensive to set
>> and somewhat expensive to use.
> The reason anything more sophisticated has been put in the "too hard"
> basket (I guess) is that you basically would have to go around and
> duplicate every piece of rendering code in the X server.  You then
> have to add an arbitrary bit clipping mask to one half of the
> duplicated code on top of everything else [...]

The unclipped case should be a trivial special case of the clipped
case.  Since the code already runs at memory bandwidth speeds on most
machines, I am not convinced it's not worth doing.

> There is no incentive for anyone to do this while very few
> applications make use of an arbitrary bit mask.  Application writers
> will tend to avoid using arbitrary clipping masks because they know
> they will be slow.

Nobody uses it because it's slow; and it's slow because nobody works on
it because nobody uses it.

That sort of reasoning would have kept anyone from building X to begin
with!  More likely just nobody's felt up to bothering.  Perhaps some
long winter month when I have nothing else to do (ha!)....

					der Mouse

			    mouse@larry.mcrcim.mcgill.edu
From: oj@miki.pictel.com (Oliver Jones)
Newsgroups: fj.mail-lists.x-window
Subject: Re: What's the best PC X terminal software? Deskview X, Windows X?
Date: 21 Dec 92 22:31:17 GMT
Distribution: fj
Organization: PictureTel Corporation

Date: 21 Dec 92 14:18:35 GMT
Message-Id: <1992Dec21.141835.4570@miki.pictel.com>
Newsgroups: comp.windows.x,comp.sys.ibm.pc.misc

In article <EJH.92Dec16141119@khonshu.colorado.edu> ejh@khonshu.colorado.edu (Edward J. Hartnett) writes:

>  ... with our real spiffy 14.4K bps modems, would running an X
>terminal over a modem be prohibitively slow? Anyone ever try that?

NCD PC-XView with Xremote works decently (for me in a local-connect
trial setup at 9600bps async).  They're selling the Xremote/PC-Xview
package for $200 now.

A couple of cautions.

1) I had a HUGE .Xdefaults file.  I trimmed it way down,
   and client startup time improved quite a bit.

2) The Xremote release notes say, and my experience verifies, that
   your PC should have a 16550 serial controller chip (the one 
   with a character silo) instead of a '450 if you're going 
   to be running serial communications at >= 9600bps
   on MS Windows.  Most PCs come with not-good-enough serial 
   controller chips.   You can probably buy the appropriate
   serial card in a computer store for < $50.

(I don't have any relationship with NCD other than as a customer.)

Ollie Jones
From: judith@mermaid.larc.nasa.gov (Judith Moore)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Help with Colormaps
Date: 23 Dec 92 17:16:40 GMT
Distribution: fj
Organization: NASA/Langley Research Institute

Date: 23 Dec 1992 14:59:32 GMT
Message-Id: <judith-231292100556@mollusk.larc.nasa.gov>
Newsgroups: comp.windows.x

Thanks for the attention to my problem. Unfortunately,
I must be misinterpreting the suggestions. This is what
I do:
	(misc setup)
   winAttrib.colormap = DefaultColormap(theDisplay, theScreen);
   mainWindow =	XCreateWindow (theDisplay, ...., &winAttrib);
   XMapWindow (theDisplay, mainWindow);
   anImage = XCreateImage (theDisplay, theVisual, 8, ZPixmap, ...); 
   XPutImage (theDisplay, mainWindow, theGC, anImage, ...);
   XFlush (theDisplay);
   sleep (5);

	grayMap = XCreateColormap (theDisplay, mainWindow, theVisual, AllocAll);
	for (i = 0; i < 255; i++) {
		aColor.pixel = i;	
		aColor.red = aColor.blue = aColor.green = i << 8;
		XStoreColor (theDisplay, grayMap, &aColor);
		}
	
	XSetWindowColormap (theDisplay, mainWindow, grayMap);
	XFlush (theDisplay);
	sleep (5);

What happens is, my image appears in the window with the default
colormap, and just sits there.  The XSetWindowColormap() call
appears to have no effect whatsoever.  

If I do the XSetWindowColormap() _before_ XMapWindow(), I get the
grayscale I expect.  But then I can't change _that_ to anything 
else.

Comedy is easy; color is hard.

Judith Moore
From: jpd@discovery.cl.msu.edu (Joe P. DeCello)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Can't make XPM - help
Date: 30 Dec 92 19:17:28 GMT
Distribution: fj
Organization: Michigan State University

Date: 30 Dec 92 15:38:00 GMT
Message-Id: <1hsfooINNbkg@msuinfo.cl.msu.edu>
Newsgroups: comp.windows.x

In article 1hsfmqINNbkg@msuinfo.cl.msu.edu, jpd@discovery.msu.edu (Joe P. DeCello) writes:
]When I try to make xpm I get the following:
]
]rm -f sxpm
]gcc -fstrength-reduce -fpcc-struct-return -o sxpm sxpm.o -O   libXpm.a -lXt -lXext -lX11   -B/usr/bin/
]ld: Undefined symbol 
]   strcasecmp 
]   *** Error code 1
]   make: Fatal error: Command failed for target `sxpm'
]
]This is in X11R5 on a sun386i w/16 mg running 4.0.2
]---
]=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
]Joseph P. DeCello III                      e-mail:  jpd@cad.msu.edu
]Michigan State University                      ph:  (517) 353-3027 
]Specialized Computing Support Services           1:00pm - 5:00pm EST
]rm -f sxpm
]gcc -fstrength-reduce -fpcc-struct-return -o sxpm sxpm.o -O   libXpm.a -lXt -lXext -lX11   -B/usr/bin/
]ld: Undefined symbol 
]   strcasecmp 
]   *** Error code 1
]   make: Fatal error: Command failed for target `sxpm'
]
]


The first post has the wrong e-mail in the header!!!!!!!
---
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joseph P. DeCello III                      e-mail:  jpd@cad.msu.edu
Michigan State University                      ph:  (517) 353-3027 
Specialized Computing Support Services           1:00pm - 5:00pm EST
From: tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,)
Newsgroups: fj.lang.awk
Subject: Re: Pattern1,Pattern2
Date: 22 Dec 92 05:24:35 GMT
	<5970@pisces.denki.osakafu-u.ac.jp>
Organization: College of Engineering, University of Osaka Prefecture, JAPAN


$B!!C+!+I\Bg$G$9!#(J

<I-WADA.92Dec21145525@tsran3.sra.CO.JP>$B$N5-;v$K$*$$$F(J
i-wada@sra.CO.JP$B$5$s$O=q$-$^$7$?!#(J

> 	`NULL'
> 	     The empty pattern matches every input record.  (*Ref The Empty
> 	     Pattern: Empty.)

$B!!$3$l$,K\Ev$J$i(J 'NULL,/^$/ {print}' $B$G!"%a!<%k$N%X%C%@$@$1$,=PNO$5$l$k(J
$B$O$:$G$9$h$M!#$$$^$d$C$F$_$^$7$?$,2?$bI=<($5$l$^$;$s$G$7$?!#(JNULL $B$,L$Dj(J
$B5A$K$J$C$F$$$k$h$&$G$9!#(J
$B!!;d$N;H$C$?(J gawk $B$O(J Gnu Awk (gawk) 2.11, patchlevel 1 $B$G$9!#%P!<%8%g%s(J
$B$,8E$$$N$+$J$"!#(J

$B!!$=$l$H!"(J'every input record' $B$K%^%C%A$9$k$N$J$i!"%Q%?!<%s#2$K;H$C$?;~!"(J
$BF~NO$N:G8e$^$G$$$/$3$H$O$J$$$h$&$K;W$&$N$G$9$,!"!"!"(J

                  $BBg:eI\N)Bg3X9)3XItEE5$9)3X65<<Bh#89V:B!!!!!!C+!!CiL@(J
                                    tani@neptune.denki.osakafu-u.ac.jp
From: taka@miwa.co.jp (Takanori Adachi)
Newsgroups: fj.lang.awk
Subject: Re: Pattern1,Pattern2
Date: 24 Dec 92 05:39:13 GMT
Organization: Miwa Systems Consulting Co.,Ltd., Yokohama, JAPAN

$BB-N)!w%_%o$G$9!%(J

In article <DEZAWA.92Dec24083239@sksun12.miya.fujifilm.co.jp> dezawa@miya.fujifilm.co.jp (Shin_ichiro Dezawa) writes:
| 
| $B$=$j$c$=$&$@$h!#(J
| 	$B%Q%?!<%s#1(J,$B%Q%?!<%s#2(J
| $B$O!"%Q%?!<%s#2(J $B$G=*N;$G$O$J$/$F$=$N8e:F$S(J $B%Q%?!<%s#1$,=P$k$N$r(J
| $B4F;k$9$k$s$@$b$N!#(J

$B$"$!$=$&$+!%$H$$$&$3$H$O!$(J
	1, $B%Q%?!<%s#2(J
$B$O!$>o$K??$J$N$M!%(J(^^;)

$B!t$I$&$b(Jfollow$B$"$j$,$H$&$4$6$$$^$7$?(J _o_ > $B=PBt(J

-- taka
Newsgroups: fj.lang.awk
From: hiro@jaist-east.ac.jp (Masahiro Morita)
Subject: Re: Pattern1,Pattern2
Organization: Japan Advanced Institute of Science and Technology Hokuriku,
	Ishikawa, Japan
	<I-WADA.92Dec21145525@tsran3.sra.CO.JP>
	<5970@pisces.denki.osakafu-u.ac.jp> <5994@pisces.denki.osakafu-u.ac.jp>
	<6019@pisces.denki.osakafu-u.ac.jp>
	<I-WADA.92Dec26154713@tsran3.sra.CO.JP>
Date: Mon, 28 Dec 1992 06:23:06 GMT

In article <I-WADA.92Dec26154713@tsran3.sra.CO.JP> i-wada@sra.CO.JP (Isamu Wada) writes:
 >> $@!VFCJL$JJQ?t!W$J$N$+$J$H%=!<%9$rFI$_;O$a$?$N$G$9$,!D$J$+$J$+;~4V$,$H$l(J
 >> $@$:$=(J$@$NJU$N$H$3$m$ONI$/$o$+$j$^$;$s!#(J;_;
 >> 
 >> FS $@$H$+$N=i4|2=$7$F$$$k%F!<%V%k$K$O$J$$$7!D(J gawk 'A' $@$C$F(J$@$d$k$HA4$FBP(J
 >> $@>]30(J $@$G(J gawk 'BEGIN{NULL=1} NULL,0' $@$C$F$d$k$HA49TBP>]$K$J$k$H$3$m$+$i(J
 >> $@$9$k$H0lHL(J$@$NJQ?t$G$O$H;W$C$F$$$^$9!#(J
 >> 
 >> $@;W$&$K(J NULL $@$C$F$d$C$Q(J NULL $@$@$h$M!DIaDL(J NULL = 1 $@$J$s$F$7$J$$$h$M(J$@!D(J
 >> $@$@$+$iL$Dj5A$@$C$?JQ?t$r;2>H$7$h$&$H$7$?;~E@$G(J 0 $@$K$J$k!#(J($@OBED$N?dB,(J)

$@8=:_!";d$O(J GAWK Manual $@$NK]Lu:n6H$r9T$J$C$F$$$k$N$G$9$,!"(JNULL $@$,FCJL$JJQ(J
$@?t$H$7$F07$o$l$F$$$k$H$$$&5-=R$O$I$3$K$b$"$j$^$;$s!#(J($@$5$9$,$K!"%=!<%9$r(J
$@D4$Y$k$H$3$^$G$O$d$C$F$$$^$;$s$,!#(J)
$@$A$J$_$K!"(J

   gawk '/^Hogehoge/,TRUE' < file
   gawk '/^Hogehoge/,FALSE' < file
   gawk '/^Hogehoge/,NULL' < file

$@$O$9$Y$FF1$87k2L$K$J$j!"(J/^Hogehoge/ $@$K0lCW$9$k9T$+$i%U%!%$%k$N:G8e$^$G$r(J
$@I=<($7$^$9!#(J
$@$3$N%k!<%k$,4|BTDL$j$NF0:n$r$9$kM}M3$O!"OBED$5(J$@$s$,=q$$$F$$$kDL$j!"L$Dj5A(J
$@JQ?t$N;2>H$OCM$H$7$F(J ""($@%L%kJ8;zNs(J) $@$b$7$/$O?tCM(J 0 ($@$D$^$j56(J) $@$r$H$k$3$H(J
$@$K(J$@$"$j$^$9!#(J
$@$b$A$m$s$3$l$i$NJQ?t$K2?$i$+$NCM(J ($@Nc$($P(J 1) $@$rBeF~$7$?>l9g!"F0:n$O0[$J$C(J
$@$?$b$N$K$J$jF@$^$9(J$@!#Nc$($P!"(J

   gawk -v TRUE=1 '/^Hogehoge/,TRUE' < file

$@$O@h$[$I$H$O0[$J$j!"(J/^Hogehoge/ $@$K0lCW$9$k9T(J$@$N$_$rI=<($7$^$9!#(J

$@%U%!%$%k$N$"$k9T$+$i!":G8e$^$G$K0lDj$N=hM}$r2C$($kJ}K!$O$3$l$^$G5DO@$5$l(J
$@$F$-$?$h(J$@$&$K!"(J

  gawk 'pattern,NULL { .... }' file1

$@$H$9$k$N$,0lHV%(%l%,%s%H$J2rK!$G$O$J$$$+$H;W$$$^$9!#(J

$@$H(J$@$3$m$,!"%U%!%$%k$N@hF,$+$i!"$"$k9T$^$G$K0lDj$N=hM}$r2C$($kJ}K!$O$3$l$^(J
$@$G$N5DO@$NCf$G7hDjE*$JJ}K!$,$"(J$@$j$^$;$s$G$7$?!#$=$3$G!"$3$s$J$N$O$I$&$G$7$g(J
$@$&$+!)(J

  gawk '{ .... }; pattern { exit }' file

$@$3$&$9(J$@$k$H!"(Jpattern $@$K0lCW$7$?9T$,8=$l$?;~E@$G(J exit $@$,<B9T$5$l!"=hM}$O=*(J
$@N;$7$^$9!#$"$H!"%U%!%$%k$N@hF,$+$i(J$@:G=i$N6u9T$^$G$r=hM}$9$k$H$$$&$J$i!"4J(J
$@C1$K(J

  gawk -v RS= 'NR==1 { print }' file

$@$G(J OK $@$G$9!#(J($@$?$@$7(J$@!"%P%0$,$"$k$i$7$/(J gawk version 2.14 $@0J9_$G$J$$$H$&$^(J
$@$/$$$-$^$;$s!#(J)

$@>\$7$/$O(J gawk.texinfo $@$"$k$$$O(J$@!"$=$N$&$AH/Gd$5$l$kM=Dj$NF|K\8lHG(J gawk $@%^(J
$@%K%e%"%k$r;2>H$7$F2<$5$$(J :-)
Newsgroups: fj.lang.awk
From: i-wada@sra.CO.JP (Isamu Wada)
Subject: Re: Pattern1,Pattern2
	<5970@pisces.denki.osakafu-u.ac.jp> <5994@pisces.denki.osakafu-u.ac.jp>
	<6019@pisces.denki.osakafu-u.ac.jp>
Organization: Software Research Associates, Inc., Japan
Date: Sat, 26 Dec 1992 06:47:13 GMT

$BOBED!w(BSRA$B$G$9!#(B

In article <6019@pisces.denki.osakafu-u.ac.jp>
	tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,) writes:

   $B$r8+$k$H!"(BNULL $B$H$$$&$N$,FCJL$JJQ?t$N$h$&$K$bFI$a$k$N$G$9$,!"!"!"(B
   $BC1$KL$Dj5AJQ?t(B$B$N$3$H$r$$$C$F$$$k$@$1$J$N$G$7$g$&$+!#(B

$B!VFCJL$JJQ?t!W$J$N$+$J$H%=!<(B$B%9$rFI$_;O$a$?$N$G$9$,!D$J$+$J$+;~4V$,$H$l(B
$B$:$=$NJU$N$H$3$m$ONI$/$o$+(B$B$j$^$;$s!#(B;_;

FS $B$H$+$N=i4|2=$7$F$$$k%F!<%V%k$K$O$J$$$7!D(B gawk 'A' $B$C$F$d(B$B$k$HA4$FBP(B
$B>]30(B $B$G(B gawk 'BEGIN{NULL=1} NULL,0' $B$C$F$d$k$HA49TBP>]$K$J$k$H$3$m$+(B$B$i(B
$B$9$k$H0lHL$NJQ?t$G$O$H;W$C$F$$$^$9!#(B

$B;W$&$K(B NULL $B$C$F$d$C$Q(B NULL $B$@$h(B$B$M!DIaDL(B NULL = 1 $B$J$s$F$7$J$$$h$M!D(B
$B$@$+$iL$Dj5A$@$C$?JQ?t$r;2>H$7$h$&(B$B$H$7$?;~E@$G(B 0 $B$K$J$k!#(B($BOBED$N?dB,(B)

	$B!t%Q%?!<%s$r;XDj$9$k$H$3$m$K??56(B$BCM$N(B 1 $B$@(B 0 $B$@$H;XDj$9$k$H(B
	$B!t$J$s$+9T$r;XDj$7$F$$$k46$8$rM?$($k$+$i(B NULL $B$r;H$C$?J}$,(B
	$B!t$-$l$$$+$J$H;W$$$^$9!#(B

   $B!!$H$3$m$G!"$3$N(B NULL $B$N@bL@(B$B$,$"$k(B gawk.texinfo $B$H$$$&%U%!%$%k$O$I(B
   $B$3$K$"$k$+65$($F$$$?$@$1$J$$$G$7(B$B$g$&$+!#(Bgawk-2.13.2.tar $B$H$$$&%U%!(B
   $B%$%k$rE83+$7$F$_$?$N$G$9$,!"8+$D$+$j(B$B$^$;$s$G$7$?!#(B

emacs/info ($B$"$k$$$O(B mule/info) $B$N2<$K$"$j$^$;$s$+!)(B
--
// i-wada@sra.co.jp //
Newsgroups: fj.lang.awk
From: i-wada@sra.CO.JP (Isamu Wada)
Subject: Re: Pattern1,Pattern2
	<5994@pisces.denki.osakafu-u.ac.jp>
Organization: Software Research Associates, Inc., Japan
Date: Thu, 24 Dec 1992 10:31:33 GMT

$B$o$@!w(BSRA$B$G$9!#(B

In article <5994@pisces.denki.osakafu-u.ac.jp>
	tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,) writes:

   <I-WADA.92Dec21145525@tsran3.sra.CO.JP>$B$N5-;v$K$*$$$F(B
   i-wada@sra.CO.JP$B$5$s$O=q$-$^(B$B$7$?!#(B

   > 	`NULL'
   > 	     The empty pattern matches every input record.  (*Ref The Empty
   > 	     Pattern: Empty.)

$B$3$N0zMQ$O!"$A$g$C$HITE,@Z$J$b$N$@$HH?>J$7$F$$$^$9(B$B!#$I$A$i$+$H$$$&$H(B
gawk.1 $B$N<!$N$H$3$m$N$[$&$,NI$+$C$?$+$bCN$l$^$;$s!#(B

	Uninitialized variables have the numeric value 0 and the
	string value "" (the null, or empty, string).


   $B!!$3$l$,K\Ev$J$i(B 'NULL,/^$/ {print}' $B$G!"%a!<%k$N%X%C%@$@$1$,=PNO$5(B$B$l$k(B
   $B$O$:$G$9$h$M!#$$$^$d$C$F$_$^$7$?$,2?$bI=<($5$l$^$;$s$G$7$?!#(BNULL $B$,L$Dj(B
   $B5A$K$J$C$F$$$k$h$&$G$9!#(B

   $B!!;d$N;H$C$?(B gawk $B$O(B Gnu Awk (gawk) 2.11, patchlevel 1 $B$G$9!#%P!<%8%g%s(B
   $B$,8E$$$N$+$J$"!#(B

   $B!!$=$l$H!"(B'every input record' $B$K%^%C%A$9$k$N$J$i!"%Q%?!<%s#2$K;H$C$?;~!"(B
   $BF~NO$N:G8e$^$G$$(B$B$/$3$H$O$J$$$h$&$K;W$&$N$G$9$,!"!"!"(B

awk $B$O!"%Q%?!<%s$,%^%C%A$7$F%"%/(B$B%7%g%s$,<h$i$l$k$+$i(B 'NULL,/^$/' $B$G2?(B
$B$bI=<($5$l$J$$$N$O@5$7$$$H;W$$$^$9(B$B!#(B

$B>\$7$/%=!<%9$r8+$?$o$1$G$O$J$$$N$G$9$,!D%Q%?!<%s%^%C%A%s%0$N7k2L(B$B$O??56(B
$BCM$H$7$F=hM}$5$l$F$$$k$h$&$G$9!#$D$^$j(B /$B%Q%?!<%s(B1/$B$,(B $B??(B $B$K$J$C$?(B$B$H$3$m(B
$B$+$i(B /$B%Q%?!<%s(B2/ $B$,(B $B56(B $B$N4V%"%/%7%g%s$,<B9T$5$l$k$h$&$G$9!#$7$?(B$B$,$C$F(B
'/$B%Q%?!<%s(B1/,NULL' $B$H=q$-$^$7$?$,<B$O$3$l$O!"(B '/$B%Q%?!<%s(B1/,0' $B$H=q$$(B$B$F(B
$B$bNI$$$h$&$G$9!#(B


$B!t%a!<%k$N%X%C%@9T$r<h$j=P$9$s$@$C$?$i(B sed -n '1,/^$/p' $B$H$$$D$b=q$$$F(B
$B!t$$$^$9!#(B
--
// i-wada@sra.co.jp //
Newsgroups: fj.lang.awk
From: dezawa@miya.fujifilm.co.jp (Shin_ichiro Dezawa)
Subject: Re: Pattern1,Pattern2
Organization: FUJI PHOTO FILM CO.,LTD.
	<2880@miwagw.miwa.co.jp>
Date: 24 Dec 92 08:32:39

$@=PBt!wIY;N%U%$%k%`$G$9(J

>| $@F1MM$K!$(J
>| 
>| 	1, $@%Q%?!<%s(J2
>| 
>| $@$H$d$k$H!$F~(J$@NO$N:G=i$+$i;O$^$j!$%Q%?!<%s(J2 $@$K%^%C%A$9$k$^$G$H$J$k$O$:$G$9!%(J
>
>$@$3$l$OBLL\$G$9!%(J(gawk $@$r;H$$$^$7$?(J) 
>$@$J$s$G!$$3$N$h$&$JHsBP>]@-$,$"$k$N$@$m$&!)!)(J

$@$=$j$c$=$&$@$h!#(J
	$@%Q%?!<%s#1(J,$@%Q%?!<%s#2(J
$@$O!"%Q%?!<%s(J$@#2(J $@$G=*N;$G$O$J$/$F$=$N8e:F$S(J $@%Q%?!<%s#1$,=P$k$N$r(J
$@4F;k$9$k$s$@$b$N!#(J
	$@$3$A$i$G$N(J Follow $@$O=i$a$F$G$9(J$@$M!#(J > takun
--
Newsgroups: fj.lang.awk
From: i-wada@sra.CO.JP (Isamu Wada)
Subject: Re: Pattern1,Pattern2
Organization: Software Research Associates, Inc., Japan
Date: Mon, 21 Dec 1992 05:55:25 GMT


$BOBED(B$B!w(BSRA$B$G$9!#(B

In article <5970@pisces.denki.osakafu-u.ac.jp>
	tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,) writes:

   $B!!5W$7$V$j$K#a#w#k$N%9%/%j%W%H$r=q$/5!2q$,$"$C$?(B$B$N$G$9$,!"$o$+$i$J$$(B
   $B$3$H$,$G$F$-$^$7$?!#(B

   $B!!HO0O$r<($9%Q%?!<%s!"(B$B$9$J$o$A(B

   $B!!!!!!!!%Q%?!<%s#1!$%Q%?!<%s#2(B

   $B$G!"%Q%?!<%s#2$K%U%!%$%k(B$B!JF~NO!K$N:G8e$r;XDj$9$k$K$O$I$&$9$l$P$h$$$N(B
   $B$G$7$g$&$+!)(B

gawk $B$J$i(B$B!D(B gawk.info $B$r8+$k$H(B NULL pattern $B$C$F$$$&$N$,$"$j$^$9$N$G(B

	gawk '$B%Q%?!<%s#1!$(BNULL { doAnything }' file

$B$H$$$&Iw$KI=8=$G$-$^$9!#(Bnawk $B$G$b(B NULL pattern $B$O$"$k$h$&(B$B$G$9!#G0$N$?(B
$B$a(B gawk.info $B$N(B Node: Kinds of Patterns $B$+$iH4?h$7$F$*$-$^$9!#(B
	
	`NULL'
	     The empty pattern matches every input record.  (*Ref The Empty
	     Pattern: Empty.)

$B$G$b(B$BKM$@$C$?$i(B(process $B$,A}$($k$N$r5$$K$J$i$J$1$l$P(B)

	sed -n '/$B%Q%?!<%s#1(B/,$p' | awk ....

$B$K$7$^$9$,!D(B
--
// i-wada@sra.co.jp //
Newsgroups: fj.lang.awk
From: furuta@sras48.sra.CO.JP (Atsushi Furuta)
Subject: What is info (Re: Pattern1,Pattern2)
Organization: Software Research Associates, Inc., Japan
Date: Sat, 26 Dec 1992 10:36:10 GMT
Distribution: fj

  $BDL$j$9$,$j$N!"$U$k$?!w(BSRA$B$H?=$7$^$9!#(B
$B!t(B follow-up $B$OE,@Z(B$B$J(B NG $B$K?6$C$F$/$@$5$$!#(B

In article <6021@pisces.denki.osakafu-u.ac.jp>
  tani@neptune.denki.osakafu-u.ac.jp (TANI Tadaaki,,,) writes:
> $B!!(Bgawk.texinfo $B$O$"$j$^$9!#8+$D$+$i$J$+$C(B$B$?$N$O(B I-WADA $B$5$s$N0zMQ$5$l$?(B
> gawk.info $B$G$9!#(B

  info $B7A<0$O(B emacs $BMQ$N(B online-manual $B7A<0$G(B texinfo $B7A<0$G=q$+$l$?%U%!(B
$B%$%k$r@07A$9$k$3$H$GF@$i$l$^$9!#(B$B!J$D$^$j!"(Bgawk.info $B$,%*%V%8%'%/%H!"(B 
gawk.texinfo $B$,%=!<%9!K(B texinfo $B%U%!%$%k$r(B info $B%U%!%$%k$KJQ49$9$k$K$O(B
$BFsDL$j$NJ}K!$,$"$C$F!"(B

	1) emacs $B$+$i(B texinfo-format-buffer $B%3%^%s%I$r;H$&!#(B
	2) FSF $B$+$iG[I[$5$l$F$$$k(B texinfo $B%f!<%F%#%j%F%#(B$B$KIUB0$N!"(B
	   makeinfo $B%3%^%s%I!J(BC $B$G=q$+$l$F$$$k!K$r;H$&!#(B

$B$N$I$l$+$GJQ(B$B49$G$-$^$9!#(B

  GNU $B4X78$N%I%-%e%a%s%H$O!"$[$H$s$I(B texinfo $B7A<0$G=q$+$l$F(B$B$$$k$h$&$G$9!#(B
--------
furuta@sra.co.jp ($B8EEDFX(B)                    $B#S#R#A@hC<5;=Q3+(B$BH/It(B