/* $NetBSD: mouse.h,v 1.2 2000/01/23 21:01:57 soda Exp $ */ /* $OpenBSD: mouse.h,v 1.2 1996/06/06 23:06:52 deraadt Exp $ */ /* NetBSD: mouse.h,v 1.4 1994/10/27 04:16:10 cgd Exp */ /*- * Copyright (c) 1992, 1993 Erik Forsberg. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * THIS SOFTWARE IS PROVIDED BY ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef _MOUSE_H_ #define _MOUSE_H_ struct mouseinfo { unsigned char status; char xmotion, ymotion; }; #define BUTSTATMASK 0x07 /* Any mouse button down if any bit set */ #define BUTCHNGMASK 0x38 /* Any mouse button changed if any bit set */ #define BUT3STAT 0x01 /* Button 3 down if set */ #define BUT2STAT 0x02 /* Button 2 down if set */ #define BUT1STAT 0x04 /* Button 1 down if set */ #define BUT3CHNG 0x08 /* Button 3 changed if set */ #define BUT2CHNG 0x10 /* Button 2 changed if set */ #define BUT1CHNG 0x20 /* Button 1 changed if set */ #define MOVEMENT 0x40 /* Mouse movement detected */ /* Ioctl definitions */ #define MOUSEIOC ('M'<<8) #define MOUSEIOCREAD (MOUSEIOC|60) #endif /* !_MOUSE_H_ */
path: root/usr.bin/awk/awk.1
AgeCommit message (Expand)Author
2009-03-15Fix and improve mark up.joerg
2009-03-09Fix markup (.I is an unknown macro in this context).joerg
2008-05-26Document the values returned by close() and fflush(). PR bin/38132.dholland
2005-08-17`!' needs an escape sequence (`\&'). New sentence, new line.uebayasi
2004-06-06Add article.wiz
2004-06-05add history section noting nawk is default since 2.0, and bump datejdolecek
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
2003-01-04Spell output with two ts.wiz
2002-09-30New sentence, new line.grant
2002-05-15Correct a couple of typos.fredb
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2001-12-01Drop unnecessary .Pp.wiz
2001-12-01Whitespace cleanup.wiz
2001-02-08document systime(), strftime(), gensub(); for gensub(), note that the \njdolecek
2001-02-05group all operators to subsection Operators, describe what eachjdolecek
2001-02-05document supported options better, add a short info aboutjdolecek
2001-02-04substr(): the argument 'n' is optional, document what happens if it's omittedjdolecek
2001-01-30Do extensive facelift:jdolecek
2001-01-30Conversion of nawk manpage to mdoc format. Put here rather thanjdolecek