3947840b05
Interpretation of a chunk in cut.1 was helped by: Yoshihiko Sarumaru <mistral@imasy.or.jp>, hrs
152 lines
4.1 KiB
Groff
152 lines
4.1 KiB
Groff
.\" Copyright (c) 1989, 1990, 1993
|
|
.\" 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.
|
|
.\"
|
|
.\" @(#)tput.1 8.2 (Berkeley) 3/19/94
|
|
.\" %FreeBSD: src/usr.bin/tput/tput.1,v 1.15 2004/07/02 22:22:32 ru Exp %
|
|
.\"
|
|
.\" $FreeBSD$
|
|
.\"
|
|
.Dd June 15, 2002
|
|
.Dt TPUT 1
|
|
.Os
|
|
.Sh ̾¾Î
|
|
.Nm tput ,
|
|
.Nm clear
|
|
.Nd üËö°À¤òÍøÍѤ¹¤ë¤¿¤á¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹
|
|
.Sh ½ñ¼°
|
|
.Nm tput
|
|
.Op Fl T Ar term
|
|
.Ar attribute ...
|
|
.Nm clear
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
|
|
üËö¤Î°À¾ðÊó¤ò¼è¤ê½Ð¤·¤Æ¡¢¥æ¡¼¥¶¤ä¥·¥§¥ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤«¤é
|
|
ÍøÍѤǤ¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
|
|
.Nm clear
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤È¤·¤Æµ¯Æ°¤µ¤ì¤¿¤È¤¤Ë¤Ï¡¢
|
|
.Dl tput clear
|
|
¤¬¼Â¹Ô¤µ¤ì¤¿¤è¤¦¤Ë²èÌ̤¬¥¯¥ê¥¢¤µ¤ì¤Þ¤¹¡£
|
|
.Nm
|
|
¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼¡¤ÎÄ̤ê¤Ç¤¹¡£
|
|
.Bl -tag -width Ds
|
|
.It Fl T
|
|
.Xr termcap 5
|
|
¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÎÃæ¤ÎüËö̾ (
|
|
.Dq vt100
|
|
¤ä
|
|
.Dq xterm
|
|
) ¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
üËö̾¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢´Ä¶ÊÑ¿ô
|
|
.Dq Ev TERM
|
|
¤ÎÆâÍƤò»²¾È¤·¤Þ¤¹¡£
|
|
.El
|
|
.Pp
|
|
.Ar attribute
|
|
¤Ç»ØÄꤹ¤ëüËö°À¤¬Ê¸»úÎ󷿤ξì¹ç¡¢
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¤½¤Îʸ»úÎó¤ò½ÐÎϤ·¤Þ¤¹¡£
|
|
üËö°À¤¬À°¿ô·¿¤Î¾ì¹ç¡¢¤½¤Î¿ôÃͤò½ÐÎϤ·¤Þ¤¹¡£
|
|
¤É¤Á¤é¤Ç¤â¤Ê¤±¤ì¤Ð
|
|
.Nm
|
|
¤Ï;ʬ¤ÊÆ°ºî¤ò¤»¤º¤Ë¡¢
|
|
üËö¤¬Â°À¤ò»ý¤Ã¤Æ¤¤¤ë¤Ê¤é 0¡¢¤½¤¦¤Ç¤Ê¤¤¤Ê¤é 1 ¤ò
|
|
½ªÎ»¥³¡¼¥É¤Ë¤·¤Æ½ªÎ»¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Ar attribute
|
|
¤¬Ê¸»úÎ󷿤ǰú¿ô¤ò¼è¤ë¾ì¹ç (Î㤨¤Ð¥«¡¼¥½¥ë°ÜÆ° : termcap ¤Î
|
|
.Dq cm
|
|
¥·¡¼¥±¥ó¥¹) ¤Ë¤Ï¡¢°ú¿ô¤Ï°À̾ (attribute) ¤Î¤¹¤°¸å¤í¤«¤é¼è¤é¤ì¤Þ¤¹¡£
|
|
.Pp
|
|
¼¡¤Î°À¤Ï¡¢ÆÃÊ̤ʰÕÌ£¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£
|
|
.Bl -tag -width Ar
|
|
.It Cm clear
|
|
²èÌ̤ò¥¯¥ê¥¢¤·¤Þ¤¹ (
|
|
.Xr termcap 5
|
|
¤Î
|
|
.Dq cl
|
|
¥·¡¼¥±¥ó¥¹)
|
|
.It Cm init
|
|
üËö¤ò½é´ü²½¤·¤Þ¤¹ (
|
|
.Xr termcap 5
|
|
¤Î
|
|
.Dq is
|
|
¥·¡¼¥±¥ó¥¹)
|
|
.It Cm longname
|
|
¥æ¡¼¥¶¤ÎüËö¥¿¥¤¥×¤Î¾ÜºÙ̾¾Î¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
.It Cm reset
|
|
üËö¤ò¥ê¥»¥Ã¥È¤¹¤ë (
|
|
.Xr termcap 5
|
|
¤Î
|
|
.Dq rs
|
|
¥·¡¼¥±¥ó¥¹)
|
|
.El
|
|
.Sh ¿ÇÃÇ
|
|
.Nm
|
|
¤Î½ªÎ»¥³¡¼¥É¤Ï¡¢¼¡¤ÎÄ̤ê¤Ç¤¹:
|
|
.Bl -tag -width indent
|
|
.It 0
|
|
ºÇ¸å¤Î°À°ú¿ô
|
|
.Ar attribute
|
|
¤¬Ê¸»úÎ󷿤«À°¿ô·¿¤Î¾ì¹ç¡¢
|
|
¤½¤ÎÃͤ¬É¸½à½ÐÎϤËÀ®¸ù΢¤Ë½ñ¤¹þ¤Þ¤ì¤Þ¤·¤¿¡£
|
|
°ú¿ô¤¬ÏÀÍý·¿¤Î¾ì¹ç¡¢Ã¼Ëö¤Ï¤³¤Î°À¤ò»ý¤Á¤Þ¤¹¡£
|
|
.It 1
|
|
üËö¤Ï¡¢»ØÄꤵ¤ì¤¿ÏÀÍý·¿Â°À¤ò»ý¤Á¤Þ¤»¤ó¡£
|
|
.It 2
|
|
»È¤¤Êý¤¬¸í¤Ã¤Æ¤¤¤Þ¤¹¡£
|
|
.It 3
|
|
»ØÄꤵ¤ì¤¿Ã¼Ëö·¿¤Ë´Ø¤·¤Æ¡¢¾ðÊ󤬤¢¤ê¤Þ¤»¤ó¡£
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr termcap 5 ,
|
|
.Xr terminfo 5
|
|
.Sh µ¬³Ê
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï
|
|
.St -p1003.1-2001
|
|
¤ËŬ¹ç¤·¤Æ¤¤¤Þ¤¹¡£
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¡¢
|
|
.Bx 4.4
|
|
¤«¤éÅо줷¤Þ¤·¤¿¡£
|
|
.Sh ¥Ð¥°
|
|
.Nm
|
|
¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï°ÀËè¤ÎÀµ¤·¤¤·¿¤òÃΤäƤ¤¤ë¤ï¤±¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
|
|
.Pp
|
|
termcap ¥¨¥ó¥È¥ê¤Ë¤è¤Ã¤Æ¤Ï
|
|
.Sq %
|
|
¤Î¤ß¤«¤é¤Ê¤ë
|
|
.Sq %
|
|
¤ò»ý¤Ä¤³¤È¤Ë°Í¸¤·¤Æ¤¤¤ë¤â¤Î¤¬¤¢¤ê¤Þ¤¹¡£
|
|
¸½ºß¡¢Í¸ú¤Ê¥¿¥¤¥×Àë¸À¤ò»ý¤¿¤Ê¤¤¤â¤Î¤Ë´Ø¤·¤Æ¤Ï·Ù¹ð¤òȯ¤Ã¤·¤Þ¤¹¡£
|
|
¤³¤ì¤é¤Î·Ù¹ð¤Ïɸ½à¥¨¥é¡¼½ÐÎϤؤÈÁ÷¤é¤ì¤Þ¤¹¡£
|