This section is based on catpages contributed by Mainichi Communications, Inc. Translated by: MYCOM team Converted by: Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG> Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
119 lines
3.6 KiB
Groff
119 lines
3.6 KiB
Groff
.\"
|
|
.\" Copyright (c) 1992,1993,1994 Hellmuth Michaelis
|
|
.\"
|
|
.\" Copyright (c) 1990 The Regents of the University of California.
|
|
.\"
|
|
.\" 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.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 THE REGENTS OR CONTRIBUTORS 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.
|
|
.\"
|
|
.\" @(#)keycap.3, 3.00, Last Edit-Date: [Sun Jan 2 13:46:43 1994]
|
|
.\"
|
|
.Dd January 3, 1993
|
|
.Dt KEYCAP 3
|
|
.Sh ̾¾Î
|
|
.Nm kgetent ,
|
|
.Nm kgetnum ,
|
|
.Nm kgetflag ,
|
|
.Nm kgetstr
|
|
.Nd ¥¡¼¥¥ã¥Ã¥×¥Ç¡¼¥¿¥Ù¡¼¥¹¤Ø¤Î¥¢¥¯¥»¥¹¥ë¡¼¥Á¥ó·²
|
|
.Sh ½ñ¼°
|
|
.Ft int
|
|
.Fn kgetent "char *bp" "char *name"
|
|
.Ft int
|
|
.Fn kgetnum "char *id"
|
|
.Ft int
|
|
.Fn kgetflag "char *id"
|
|
.Ft char *
|
|
.Fn kgetstr "char *id" "char **area"
|
|
.Sh ²òÀâ
|
|
¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢¥¡¼¥Ü¡¼¥É¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¥Ç¡¼¥¿¥Ù¡¼¥¹¡¢Ä̾ï¤Ï
|
|
.Pa /usr/share/misc/keycap.pcvt
|
|
¤«¤é¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤ò°ú¤½Ð¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£
|
|
¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î
|
|
¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï
|
|
.Xr keycap 5
|
|
¤ËÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn kgetent
|
|
´Ø¿ô¤Ï¡¢
|
|
.Fa bp
|
|
¤Î¥Ð¥Ã¥Õ¥¡¤Ë
|
|
.Fa name
|
|
¤Î¥¡¼¥Ü¡¼¥É¥Þ¥Ã¥Ô¥ó¥°¤Î
|
|
¥¨¥ó¥È¥ê¤òŸ³«¤·¤Þ¤¹¡£
|
|
°ú¿ô
|
|
.Fa bp
|
|
¤Ï¥µ¥¤¥º¤¬ 1024 ¤Î¥¥ã¥é¥¯¥¿¥Ð¥Ã¥Õ¥¡¤Ç¤¢¤ë¤Ù¤¤Ç¡¢
|
|
.Fn kgetnum ,
|
|
.Fn kgetflag ,
|
|
.Fn kgetstr
|
|
¤Ø¤Î¤½¤Î¸å¤Î¤¹¤Ù¤Æ¤Î¸Æ¤Ó½Ð¤·¤òÄ̤·¤Æ
|
|
ÊÝ»ý¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
|
|
.Fn kgetent
|
|
´Ø¿ô¤Ï¡¢¥ª¡¼¥×¥ó¤Ç¤¤¿
|
|
.Nm keycap
|
|
¥Ç¡¼¥¿¥Ù¡¼¥¹¡¦¥Õ¥¡¥¤¥ë¤¬°ì¤Ä¤â¤Ê¤±¤ì¤Ð \-1 ¤òÊÖ¤·¡¢
|
|
½êÄê¤Î¥Þ¥Ã¥×̾¤Ë¥¨¥ó¥È¥ê¤¬¤Ê¤±¤ì¤Ð 0 ¤òÊÖ¤·¡¢
|
|
Á´¤Æ¤¬Àµ¾ï½ªÎ»¤¹¤ì¤Ð 1 ¤òÊÖ¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn kgetnum
|
|
´Ø¿ô¤Ï¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£
|
|
.Fa id
|
|
¤ËÂФ¹¤ë¿ôÃͤòÆÀ¤Þ¤¹¡£
|
|
¥Þ¥Ã¥×¤«¤éÍ¿¤¨¤é¤ì¤Ê¤±¤ì¤Ð \-1 ¤òÊÖ¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn kgetflag
|
|
´Ø¿ô¤Ï¡¢ÆÃÄê¤Î¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤¬¥Þ¥Ã¥×¤Î¥¨¥ó¥È¥ê¤Ë¸ºß¤¹¤ì¤Ð
|
|
1 ¤òÌᤷ¡¢
|
|
¸ºß¤·¤Ê¤±¤ì¤Ð
|
|
0 ¤òÌᤷ¤Þ¤¹¡£
|
|
.Pp
|
|
.Fn kgetstr
|
|
´Ø¿ô¤Ï¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£
|
|
.Fa id
|
|
¤ËÂФ¹¤ëʸ»úÎó¤ò
|
|
.Fa area
|
|
¤Ë¤è¤Ã¤Æ¼¨¤µ¤ì¤¿¥Ð¥Ã¥Õ¥¡¤Ë¥³¥Ô¡¼¤·¡¢¤½¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤·¤Þ¤¹¡£
|
|
¤½¤·¤Æ
|
|
.Fa area
|
|
¥Ý¥¤¥ó¥¿¤ò¤½¤Îʸ»úÎó¤Î¸å¤í¤Þ¤Ç¿Ê¤á¤Þ¤¹¡£
|
|
.Fn kgetstr
|
|
´Ø¿ô¤Ï¡¢¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¤¬¸«¤Ä¤«¤é¤Ê¤±¤ì¤Ð
|
|
.Dv NULL
|
|
¤òÊÖ¤·¤Þ¤¹¡£
|
|
.Sh ¥Õ¥¡¥¤¥ë
|
|
.Bl -tag -width /usr/share/misc/keycap.pcvt -compact
|
|
.It Pa /usr/share/misc/keycap.pcvt
|
|
¥¡¼¥Ü¡¼¥É¥±¡¼¥Ñ¥Ó¥ê¥Æ¥£¥Ç¡¼¥¿¥Ù¡¼¥¹
|
|
(¤Ê¤±¤ì¤Ð¥¤¥ó¥¹¥È¡¼¥ë»þ¤ËÁªÂò¤µ¤ì¤Þ¤¹)
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr kcon 1 ,
|
|
.Xr keycap 5
|